Commit Graph

216 Commits

Author SHA1 Message Date
Valentin Gosu
fb1cb0caba Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 13:08:12 +00:00
Brindusan Cristian
f85b01adc9 Backed out changeset 8fea79dcd428 (bug 1708125) for causing xpcshell failures in test_DownloadCore.js.
CLOSED TREE
2021-05-31 15:28:19 +03:00
Valentin Gosu
370e536fab Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 07:33:29 +00:00
Dorel Luca
317b3c5c0b Backed out changeset 73abb8b1b4b5 (bug 1708125) for xpcshell failures in browser/components/urlbar/tests/unit/test_avoid_stripping_to_empty_tokens.js. CLOSED TREE 2021-05-07 12:15:35 +03:00
Valentin Gosu
6bfe019fe7 Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-07 08:20:14 +00:00
Valentin Gosu
b48d0f6ea6 Bug 1694662 - Remove Appcachestorage & oldwrappers r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D106455
2021-04-30 07:20:24 +00:00
Valentin Gosu
fb96ae4df4 Bug 1694662 - Remove appcache arg from nsICacheEntryOpenCallback r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D106438
2021-04-30 07:20:17 +00:00
Tim Huang
41c8690e20 Bug 1683244 - Part 1: Fix the issue that save As of multiple selected links in PageInfo media tab doesn't work. r=smaug
The root cause is that it doesn't pass the cookieJarSettings parameter
when calling the internalSave() in pageInfo.js. This patch fixes this by
passing the correct cookieJarSettings which was passed via the
'PageInfo:getData' message.

Differential Revision: https://phabricator.services.mozilla.com/D100130
2020-12-19 22:51:04 +00:00
Tim Huang
b77a2550da Bug 1679325 - Part 1: Making contentAreaUtils.saveURL to accept cookieJarSettings. r=smaug
This patch makes the contentAreaUtils.saveURL to be aware of the
cookieJarSettings, and updates all callers.

This also updates the documentation of the persistArgs
'cookieJarSettings' for internalPersist().

Differential Revision: https://phabricator.services.mozilla.com/D98455
2020-12-03 20:10:36 +00:00
julianwels
e3c9ee5f46 Bug 1647336 - Fixed incorrect icon and site-identity information on HTTPS-Only Error Page. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D83134
2020-07-14 14:07:50 +00:00
Micah Tigley
bdd4bfa89e Bug 1634497 - Remove browser.outerBrowser checks used for old-RDM. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D83132
2020-07-10 16:55:35 +00:00
Dave Townsend
fffe9baca5 Bug 1642731: Turn excessive calls to document.l10n.formatValue to a single document.l10n.formatValues call. r=Gijs
Rather than sending the strings down to the content process and back up instead
have the content process just send the media type which when prefixed with
`media-` gives us the fluent ID for the string. Ideally this would allow us to
just set that as the `data-l10n-id` for the items but since this tree is
generated by a custom `nsITreeView` implementation that isn't an option so this
still caches the strings on load.

A single formatValues call will be more performant.

Differential Revision: https://phabricator.services.mozilla.com/D77897
2020-06-26 19:17:17 +00:00
Tim Nguyen
c84a1b3dba Bug 1632097 - Clean up pageInfo.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D71928
2020-04-24 13:43:59 +00:00
Bogdan Tara
8efa2297a7 Backed out 2 changesets (bug 1632097) for browser_entry_point_telemetry.js failures CLOSED TREE
Backed out changeset a935561f64d9 (bug 1632097)
Backed out changeset 264bfa5a76dd (bug 1632097)
2020-04-24 15:44:07 +03:00
Tim Nguyen
f60cac5c62 Bug 1632097 - Clean up pageInfo.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D71928
2020-04-24 11:21:33 +00:00
Kris Maglione
27a6ede8fd Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 22:33:53 +00:00
Arthur Iakab
7dc57054cd Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione
9b4f095126 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 21:03:58 +00:00
Noemi Erli
5296ed257e Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione
0523739f93 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 19:39:25 +00:00
pbz
52fa73e147 Bug 1596836 - Remove block image UI from pageInfo media tab. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59718
2020-01-13 17:30:26 +00:00
Florian Quèze
79218b0b6b Bug 1596767 - image type row not updated correctly in Page Info Media tab after selecting a row for which we don't have a valid image mime type, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D55819
2019-12-04 16:35:26 +00:00
Paul Zuehlcke
76b9dc5db3 Bug 1597541 - Added pref and disabled nsContentBlocker by default. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D53975
2019-11-22 14:32:44 +00:00
Tim Nguyen
dc70c06bfa Bug 1529534 - Followup: address nit from review comment.
Differential Revision: https://phabricator.services.mozilla.com/D53905
2019-11-20 01:41:34 +00:00
Tim Nguyen
cb3a7f71e5 Bug 1529534 - Convert the page info dialog XUL grids to HTML tables. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20643
2019-11-19 16:50:58 +00:00
Emma Malysz
0f77267a12 Bug 1569738, make PageInfo fission compatible r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D42978
2019-08-29 20:31:19 +00:00
Alexander J. Vincent
25ad6e262c Bug 1577372, restore copy command via context menu to pageInfo dialog. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44084
2019-08-30 23:46:34 +03:00
Paul Zuehlcke
dce564b3f0 Bug 1575901 - Refactored pageInfo.js to use PermissionManager principal methods. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43636
2019-08-28 08:17:43 +00:00
Alex Vincent
0a4e7a7185 Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called.  This is to remove these methods.
A comm-central patch will be along shortly.

Differential Revision: https://phabricator.services.mozilla.com/D39273
2019-08-24 00:49:55 +02:00
Thomas Nguyen
afd661198b Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955
2019-08-21 13:28:23 +00:00
Thomas Nguyen
ee02fbe71a Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939
2019-07-16 17:59:28 +00:00
Jonathan Kingston
32524b62e2 Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504
2019-07-08 16:37:45 +00:00
Victor Porof
a3641f184a Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041
2019-07-05 09:48:57 +02:00
Jonathan Kingston
9ae59de314 Bug 1508939 - cpp serialization r=ckerschb,mccr8,mikedeboer
Migrating to pure Cpp

Differential Revision: https://phabricator.services.mozilla.com/D29221
2019-06-03 12:37:12 +00:00
danielleleb
7dd27dc823 Bug 1541459 - Removes additional securityOnLoad function call. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27099
2019-04-29 17:40:19 +00:00
Rob Wu
731bc4cb2e Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`

Differential Revision: https://phabricator.services.mozilla.com/D27802
2019-04-17 19:03:17 +00:00
danielleleb
fe8310d34d Bug 1525941 - Adds ability to change permissions on network/cert error pages. r=johannh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24052
2019-04-03 15:43:54 +00:00
Ian Moody
cac3a5f1e2 Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24110
2019-03-20 10:17:42 +00:00
danielleleb
d8c141c00a Bug 1501955 - Runs securityOnLoad on certificate error pages and adds test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21840
2019-03-16 19:53:02 +00:00
Marco Bonardo
a040dd21a3 Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753
2019-02-28 08:39:33 +00:00
Christian Frey
ffa7624a55 Bug 1517493 - migrated pageInfo.dtd and pageInfo.properties to pageInfo.ftl r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16931
2019-02-22 15:26:15 +00:00
Oana Pop Rus
7464a2042a Backed out changeset d28d0498bd7b (bug 1517493) for bc failures at browser_firstPartyIsolation_saveAs.js 2019-02-21 14:28:56 +02:00
Christian Frey
374e6959e3 Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod,Gijs
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent

Differential Revision: https://phabricator.services.mozilla.com/D16931
2019-02-21 11:31:05 +00:00
shindli
05b5ee5af1 Backed out changeset cfb1a7fbbfa7 (bug 1517493) for bc failures in browser/base/content/test/static/browser_all_files_referenced.js 2019-02-18 22:49:05 +02:00
Christian Frey
c29b50f8eb Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent

Differential Revision: https://phabricator.services.mozilla.com/D16931
2019-02-07 06:31:04 +00:00
Kris Maglione
856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08:00
Neil Deakin
2f5fea237e Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo 2018-12-04 11:25:30 -05:00
Tim Nguyen
790f9a6593 Bug 1508142 - Remove remains of tree cell-based selection code. r=bzbarsky,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12225
2018-11-22 09:59:02 +00:00
Gijs Kruitbosch
5cf14463b7 Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

Differential Revision: https://phabricator.services.mozilla.com/D5982
2018-09-18 06:06:27 +00:00
Coroiu Cristina
7711c0dc3c Backed out changeset d61965849528 (bug 1491243) for en-US failures at testing\firefox-ui\tests\puppeteer\test_page_info_window.py 2018-09-17 22:23:58 +03:00