Граф коммитов

4137 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian 70ab748bed Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner 9cbc91833a Bug 1687235 - Enable ESLint rule no-setter-return for toolkit and services. r=mossop
Depends on D102152

Differential Revision: https://phabricator.services.mozilla.com/D102153
2021-01-25 22:27:01 +00:00
Nick Alexander 7360317f0c Bug 1675850 - Add MOZ_BACKGROUNDTASKS flag, {nsI}BackgroundTasks IDL and class. r=mossop,firefox-build-system-reviewers,mhentges
This adds a build flag (defaulting to on in Nightly builds) and an
`AppConstants.jsm` definition.

It lays the foundation for managing an active background task.  A
singleton, exposed as an XPCOM service, owns the task name and lives
for the life of the application.

This will be wired into the application startup path in future
commits.  It's separated to allow the changes to category registration
to come early in the commit sequence.

Differential Revision: https://phabricator.services.mozilla.com/D96481
2021-01-25 23:44:39 +00:00
Csoregi Natalia 086251db75 Backed out 2 changesets (bug 1686989, bug 1684469) for auth and dialog box failures. CLOSED TREE
Backed out changeset 111af4c2bf6b (bug 1684469)
Backed out changeset 81794f8a220b (bug 1686989)
2021-01-25 21:47:43 +02:00
Paul Zuehlcke bfa0aa96ef Bug 1686989 - Fixed SubDialogManager focus issues and added support for custom focus handlers. r=Gijs
- Content embedded by SubDialog can define its own focus handler which will be called on SubDialog#focus
- Updated CommonDialog to register custom focus handler
- Moved focus calls from SubDialog to SubDialogManager
- Return early after tab dialog focus on tab switch

Differential Revision: https://phabricator.services.mozilla.com/D102298
2021-01-25 17:36:18 +00:00
Butkovits Atila 7924475341 Backed out changeset db75491e5d2e (bug 1649604) for causing xpcshell and marionette failures. CLOSED TREE 2021-01-25 19:24:06 +02:00
Emma Malysz 984ab95226 Bug 1649604, remove OS.File usage from JSONFile.jsm r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102041
2021-01-24 15:40:55 +00:00
Geoff Lankow d5e98892f9 Bug 1668432 - Follow-up to address a missed review comment. r=nika
I am an idiot. :(

Differential Revision: https://phabricator.services.mozilla.com/D102504
2021-01-21 17:38:58 +00:00
Daisuke Akatsuka d777ac2e60 Bug 1678619: Apply pages-rank-changed event instead of onManyFrecenciesChanged. r=mak
Depends on D100459

Differential Revision: https://phabricator.services.mozilla.com/D100460
2021-01-21 15:51:03 +00:00
Daisuke Akatsuka 60b58213bc Bug 1678619: Remove onFrecencyChanged interface from nsINavHistoryService. r=mak
Depends on D100457

Differential Revision: https://phabricator.services.mozilla.com/D100458
2021-01-21 15:51:02 +00:00
smolnar 6652db1a08 Backed out 6 changesets (bug 1678619) on suspicion of causing crashes (bug 1687914). a=backout DONTBUILD
Backed out changeset c8b691b8e793 (bug 1678619)
Backed out changeset 37b2f438bd2b (bug 1678619)
Backed out changeset 0a92dfd99dac (bug 1678619)
Backed out changeset 2043a28e668e (bug 1678619)
Backed out changeset 53e385030d67 (bug 1678619)
Backed out changeset 9a1d599b4060 (bug 1678619)
2021-01-21 17:25:23 +02:00
Daisuke Akatsuka 8955bba454 Bug 1678619: Apply pages-rank-changed event instead of onManyFrecenciesChanged. r=mak
Depends on D100459

Differential Revision: https://phabricator.services.mozilla.com/D100460
2021-01-20 12:56:41 +00:00
Daisuke Akatsuka f2af6a6ae5 Bug 1678619: Remove onFrecencyChanged interface from nsINavHistoryService. r=mak
Depends on D100457

Differential Revision: https://phabricator.services.mozilla.com/D100458
2021-01-15 11:00:22 +00:00
Geoff Lankow 7cd09624c7 Bug 1668432 - Add Thunderbird URL schemes to lists of known parent-process schemes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99174
2021-01-20 01:09:13 +00:00
Anny Gakhokidze 3ae9a2f63d Bug 1630908 - Part 1: Pass OriginAttributes to be included with remote type, r=nika,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101073
2021-01-19 22:23:29 +00:00
Dana Keeler b20d3edb85 Bug 1682989 - remove CertBlocklist implementation and MOZ_NEW_CERT_STORAGE build variable r=rmf
Differential Revision: https://phabricator.services.mozilla.com/D100034
2021-01-19 22:11:25 +00:00
Mihai Alexandru Michis 68b9017298 Backed out changeset c8797f2b2e98 (bug 1649598) for causing xpcshell failures in test_shutdown_early.js 2021-01-19 06:54:19 +02:00
Barret Rennie 7a2a5f8a93 Bug 1649598 - Migrate ProfileAge.jsm to IOUtils and PathUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D96888
2021-01-19 04:13:57 +00:00
Gijs Kruitbosch 09bc42e69f Bug 1686947 - fix jsactor documentation links in code comments, r=nika DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D101929
2021-01-15 16:28:07 +00:00
Henri Sivonen 058e02104c Bug 1648464 - Add an Autodetect item to the Text Encoding menu. r=emk,chutten,Gijs
Take a step towards replacing the encoding menu with a single menu item that
triggers the autodetection manually. However, don't remove anything for now.

* Add an autodetect item.
* Add telemetry for autodetect used in session.
* Add telemetry for non-autodetect used in session.
* Restore and revise telemetry for how the encoding that is being overridden
  was discovered.

Differential Revision: https://phabricator.services.mozilla.com/D81132
2021-01-14 07:06:53 +00:00
Butkovits Atila db44a41c6c Backed out 5 changesets (bug 1678619) for causing memory leaks. CLOSED TREE
Backed out changeset 64be4bea09dd (bug 1678619)
Backed out changeset 308fda30c166 (bug 1678619)
Backed out changeset efb9bdef89b8 (bug 1678619)
Backed out changeset d26f45eac0b9 (bug 1678619)
Backed out changeset b2f22d6d2725 (bug 1678619)
2021-01-15 12:56:01 +02:00
Daisuke Akatsuka 70acccab0a Bug 1678619: Apply pages-rank-changed event instead of onManyFrecenciesChanged. r=mak
Depends on D100459

Differential Revision: https://phabricator.services.mozilla.com/D100460
2021-01-14 23:59:36 +00:00
Daisuke Akatsuka 450eb54843 Bug 1678619: Remove onFrecencyChanged interface from nsINavHistoryService. r=mak
Depends on D100457

Differential Revision: https://phabricator.services.mozilla.com/D100458
2021-01-12 10:45:50 +00:00
Kris Maglione 57e9b6e56c Bug 1674214: Add preference to disqualify users from Fission experiment based on loaded origin count. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99568
2021-01-08 20:12:07 +00:00
Michael Goossens 8ec320e1a3 Bug 1649613 - Convert Sqlite.jsm to use PathUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99157
2021-01-08 16:08:42 +00:00
Dana Keeler f984ac2500 Bug 1681839 - remove nsISecurityReporter and implementation r=johannh,necko-reviewers,dragana
TLS error report sending was disabled by default in bug 1579906. The server
that ingested these reports has been decommissioned as well, so this patch
removes this dead code.

Differential Revision: https://phabricator.services.mozilla.com/D99405
2021-01-07 17:47:47 +00:00
Kartik Gautam 7ae6aea145 Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Noemi Erli 0fab52422c Backed out 2 changesets (bug 1674214) for causing failures in browser_fission_maxOrigins.js CLOSED TREE
Backed out changeset 19fbaf9cd86f (bug 1674214)
Backed out changeset 7ef22fe8f73a (bug 1674214)
2021-01-06 01:35:37 +02:00
Csoregi Natalia 23bcdc2392 Bug 1674214 - Eslint fix. r=fix CLOSED TREE 2021-01-06 00:23:06 +02:00
Kris Maglione ddca497df5 Bug 1674214: Add preference to disqualify users from Fission experiment based on loaded origin count. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99568
2021-01-05 21:58:05 +00:00
Noemi Erli 24fa247850 Backed out changeset 47f0d542db39 (bug 1674214) for causing fission related failures CLOSED TREE 2021-01-05 22:28:56 +02:00
Kris Maglione e47b5afa5e Bug 1674214: Add preference to disqualify users from Fission experiment based on loaded origin count. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99568
2020-12-16 21:57:14 +00:00
Cosmin Sabou 2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam 775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Razvan Maries 5ddff60025 Backed out 2 changesets (bug 1681985) for perma failures on test_basic.js and test_getInfo.js. CLOSED TREE
Backed out changeset 1ba9b39ff543 (bug 1681985)
Backed out changeset b515a3ab8bac (bug 1681985)
2020-12-23 20:04:55 +02:00
Razvan Maries 41de86dc48 Backed out changeset 079a3bda7172 (bug 1649613) for causing bug 1554453. 2020-12-23 20:03:36 +02:00
Erik Rose dcf86667d3 Bug 1681985 - Add and call Fathom ruleset. r=zbraniecki
Remove calls to old heuristics, which are duplicated, improved, expanded, and balanced in the Fathom model. We'll come along in the next release and delete the dead code. We're leaving it in for now to keep it from bitrotting, in case we have to revert to it.

Differential Revision: https://phabricator.services.mozilla.com/D100141
2020-12-23 12:45:30 +00:00
Daisuke Akatsuka 04610c3c99 Bug 1678606: Apply history-cleared event instead of onClearHistory. r=mixedpuppy,mak
Depends on D99750

Differential Revision: https://phabricator.services.mozilla.com/D99751
2020-12-23 10:21:54 +00:00
Michael Goossens 21edf7e3de Bug 1649613 - Convert Sqlite.jsm to use PathUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99157
2020-12-21 22:52:20 +00:00
Gijs Kruitbosch e7ff71ba6c Bug 1581678 - remove dead plugin code from about:preferences r=preferences-reviewers,ntim
Because 'navigator.mimeTypes' is always the empty string in the parent process, the loop at
_loadPluginHandlers never does anything, and there's no point keeping this now Flash is going
the way of the dodo anyway.

Differential Revision: https://phabricator.services.mozilla.com/D100216
2020-12-22 11:05:00 +00:00
Edgar Chen 0fd119dae0 Bug 582459 - Reset the focused element when a frame loses document focus; r=mikedeboer,NeilDeakin,hsivonen,jaws
Resetting focus would also clear selection on editable element, so get
current selected text before moving focus to findbar to make
prefill-with-selection work if the content is loaded in chrome process.

Differential Revision: https://phabricator.services.mozilla.com/D89557
2020-12-21 21:35:49 +00:00
Razvan Maries 8698fade12 Backed out changeset c5a6f093e336 (bug 1649613) for multiple xpcshell failures. CLOSED TREE 2020-12-21 09:41:00 +02:00
Michael Goossens 9994b1c6c5 Bug 1649613 - Convert Sqlite.jsm to use PathUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99157
2020-12-17 19:40:39 +00:00
Daisuke Akatsuka 62cb87a93f Bug 1678611: Apply page-title-changed event instead of onTitleChanged. r=mak,mixedpuppy
Depends on D98278

Differential Revision: https://phabricator.services.mozilla.com/D98280
2020-12-16 08:28:54 +00:00
Emma Malysz ae87050b91 Bug 1670122: add check box in print UI to print selection only. r=mstriemer,fluent-reviewers,flod
Uses a new printing actor to determine if there was a selection within
the browsing context.

We now create two browsers, the primary browser and a selected browser,
and will use the appropriate browser depending on the settings value
for printSelectionOnly.

Differential Revision: https://phabricator.services.mozilla.com/D94467
2020-12-17 23:14:43 +00:00
Tom Tung 14430106a8 Bug 1681250 - Relax the check for webCOOP+COEP remote types by only checking the prefix matches; r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D99026
2020-12-17 08:54:38 +00:00
Butkovits Atila ff5c226a3b Backed out changeset e3893eeb0540 (bug 1649613) for causing Bug 1683046. CLOSED TREE 2020-12-17 11:01:40 +02:00
Michael Goossens b7812391f5 Bug 1649613 - Convert Sqlite.jsm to use PathUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99157
2020-12-11 23:47:08 +00:00
Dorel Luca cbf69a75c1 Backed out changeset 2ac614e69ecb (bug 582459) for Mochitest failures in dom/tests/mochitest/chrome/test_focus.xhtml. CLOSED TREE 2020-12-16 03:44:13 +02:00
Edgar Chen f9b8ba2a7c Bug 582459 - Reset the focused element when a frame loses document focus; r=mikedeboer,NeilDeakin,hsivonen,jaws
Resetting focus would also clear selection on editable element, so get
current selected text before moving focus to findbar to make
prefill-with-selection work if the content is loaded in chrome process.

Differential Revision: https://phabricator.services.mozilla.com/D89557
2020-12-15 19:55:35 +00:00
Erik Rose de8ce0865c Bug 1681986 - Upgrade embedded Fathom to 3.7.2. r=zbraniecki
This gets us a version of `isVisible()` that will work when there isn't a fully populated `window` global around.

Also update the readme to reflect Fathom's new repo structure.

Differential Revision: https://phabricator.services.mozilla.com/D99483
2020-12-14 19:43:04 +00:00
Tomislav Jovanovic 7fabc9e74c Bug 1680877 - Enable content scripts in extension popups and sidebars r=rpl
See comment in ExtensionPolicyService::CheckDocument for details.

Differential Revision: https://phabricator.services.mozilla.com/D99133
2020-12-12 15:59:18 +00:00
Toshihito Kikuchi 9ca8c4ec98 Bug 1669036 - Part10: Add a new section "Third-Party Modules" to about:support r=fluent-reviewers,jaws,Gijs
The new section is displayed when the browser.enableAboutThirdParty pref is true.

This is a prototype of the project where we plan to disclose third-party modules
info to the users.  Once we find out what is the best place and the best way to
show these data, we remove this section.

Differential Revision: https://phabricator.services.mozilla.com/D93832
2020-12-10 23:43:36 +00:00
Narcis Beleuzu b583b5d472 Backed out 10 changesets (bug 1669036) for bustages on TestCombinedStacks.cpp . CLOSED TREE
Backed out changeset 3d158bac444d (bug 1669036)
Backed out changeset d5b6e9d6b7aa (bug 1669036)
Backed out changeset ad3942a4c1f2 (bug 1669036)
Backed out changeset 2d3dd096f49f (bug 1669036)
Backed out changeset cd782ea33949 (bug 1669036)
Backed out changeset a025cdac711c (bug 1669036)
Backed out changeset 91549922741f (bug 1669036)
Backed out changeset cf29ad24eea5 (bug 1669036)
Backed out changeset 9d35204f6569 (bug 1669036)
Backed out changeset 2e779792d865 (bug 1669036)
2020-12-10 23:46:48 +02:00
Toshihito Kikuchi 04626577fe Bug 1669036 - Part10: Add a new section "Third-Party Modules" to about:support r=fluent-reviewers,jaws,Gijs
The new section is displayed when the browser.enableAboutThirdParty pref is true.

This is a prototype of the project where we plan to disclose third-party modules
info to the users.  Once we find out what is the best place and the best way to
show these data, we remove this section.

Differential Revision: https://phabricator.services.mozilla.com/D93832
2020-12-10 20:44:13 +00:00
Scott 6c33bc2dec Bug 1610710 - Potential fix to a failing unit test, A promise chain failed to handle a rejection. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D99017
2020-12-09 02:53:06 +00:00
Csoregi Natalia 4eae934956 Backed out 2 changesets (bug 1654684) for browser chrome failures with .printPreviewCurrentPageNumber. CLOSED TREE
Backed out changeset 2fdc1b5569e1 (bug 1654684)
Backed out changeset 8ae1d037aa9c (bug 1654684)
2020-12-09 16:11:42 +02:00
Sam Foster 0c4bb65e4d Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D96737
2020-12-09 02:59:26 +00:00
Dan Minor e96efeb12e Bug 1635561 - Add Locale to MozIntl; r=zbraniecki
This adds Locale to MozIntl and uses it to replaces some instances where we
used regular expressions to parse language tags. It is based on work done by
André Bargull in Bug 1639515.

Differential Revision: https://phabricator.services.mozilla.com/D98393
2020-12-07 19:27:54 +00:00
Brindusan Cristian 6474307318 Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE
Backed out changeset 5a0333ca8a19 (bug 1654684)
Backed out changeset 87d06a4d6ab6 (bug 1654684)
2020-12-07 12:59:10 +02:00
Sam Foster 61cfb019d9 Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D96737
2020-12-07 08:44:14 +00:00
Dale Harvey bea62c168a Bug 1663501 - Use geolocation monitor for region updates r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91214
2020-12-04 17:46:03 +00:00
Razvan Maries d1855adf59 Backed out 4 changesets (bug 1635561) for perma failures on test_intlUtils_getLocaleInfo.html. CLOSED TREE
Backed out changeset d4ef63a42094 (bug 1635561)
Backed out changeset 21d942cfc35d (bug 1635561)
Backed out changeset 562e4afa8a10 (bug 1635561)
Backed out changeset 05b8c9d0b50d (bug 1635561)
2020-12-03 23:07:09 +02:00
Dan Minor 3b91a35041 Bug 1635561 - Add Locale to MozIntl; r=zbraniecki
This adds Locale to MozIntl and uses it to replaces some instances where we
used regular expressions to parse language tags. It is based on work done by
André Bargull in Bug 1639515.

Depends on D98392

Differential Revision: https://phabricator.services.mozilla.com/D98393
2020-12-03 18:54:32 +00:00
Kris Wright fdf4934ae9 Bug 1664916 - Add rosetta status for about:support r=fluent-reviewers,haik,Gijs
This commit adds a rosetta status to three different places:
- `nsSystemInfo`, to check for rosetta status per apple specifications. We also use the same check in `nsCocoaFeatures` in D89961.
- `Troubleshoot.jsm`, to add rosetta status data (should it exist) to use in about:support
- `About:Support` itself, if the device is running MacOS

Differential Revision: https://phabricator.services.mozilla.com/D94930
2020-11-23 19:36:29 +00:00
pbz 13ef0eb48a Bug 1669990 - SubDialog: Use system event listener for escape key. r=Gijs
If a <select> in a SubDialog closes its popup when the user hits the esc key, it calls `preventDefault()` on the event. The SubDialog code didn't see this preventDefault, because it was using a normal event listener, while the select code uses a system event listener.

https://searchfox.org/mozilla-central/rev/c2e3ac11be4837718c2604e58085fbc8252b69dd/layout/forms/nsListControlFrame.cpp#925,2058,2068-2069,2075-2076

Differential Revision: https://phabricator.services.mozilla.com/D93253
2020-11-19 18:20:36 +00:00
Narcis Beleuzu d33e9a8fc8 Backed out changeset 189c8d74af36 (bug 1664916) for bc failure on browser_Troubleshoot.js. CLOSED TREE 2020-11-20 00:12:10 +02:00
Kris Wright 97e68c3664 Bug 1664916 - Add rosetta status for about:support r=fluent-reviewers,haik,Gijs
This commit adds a rosetta status to three different places:
- `nsSystemInfo`, to check for rosetta status per apple specifications. We also use the same check in `nsCocoaFeatures` in D89961.
- `Troubleshoot.jsm`, to add rosetta status data (should it exist) to use in about:support
- `About:Support` itself, if the device is running MacOS

Differential Revision: https://phabricator.services.mozilla.com/D94930
2020-11-19 18:22:15 +00:00
Nika Layzell 42028efc71 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Nika Layzell 6b824cc31d Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-12 18:00:55 +00:00
Nika Layzell 9ff27adca3 Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-12 18:00:53 +00:00
Bogdan Tara 1b8a2c18be Backed out changeset b66d6544ad5a (bug 1663501) for payment-reporting.https.html failures CLOSED TREE 2020-11-13 01:04:38 +02:00
Dale Harvey 2432edac16 Bug 1663501 - Use geolocation monitor for region updates r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91214
2020-11-12 17:35:22 +00:00
Dão Gottwald f59f6be9a5 Bug 1676897 - Remove obsolete resolutionchange handling from LightweightThemeConsumer.jsm. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D96838
2020-11-12 17:38:00 +00:00
Tim Huang fd15d2199a Bug 1641270 - Part 3: Make nsICookieJarSetting serializable. r=dimi
In order to send the cookieJarSetting across processes in JS. We need to
make it serializable.

Differential Revision: https://phabricator.services.mozilla.com/D95613
2020-11-11 11:13:55 +00:00
Mihai Alexandru Michis 4038013e6f Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js
CLOSED TREE

Backed out changeset 89a6dab92f1a (bug 1641270)
Backed out changeset 5f9c5af66b77 (bug 1641270)
Backed out changeset dfeb879f4131 (bug 1641270)
Backed out changeset 143728b1b1ab (bug 1641270)
Backed out changeset 265ae2953416 (bug 1641270)
Backed out changeset 55ea7810c160 (bug 1641270)
Backed out changeset 7bef9112f296 (bug 1641270)
Backed out changeset 2663dc1e9a3e (bug 1641270)
Backed out changeset fcba6dba3649 (bug 1641270)
2020-11-11 13:10:11 +02:00
Tim Huang 13ec804734 Bug 1641270 - Part 3: Make nsICookieJarSetting serializable. r=dimi
In order to send the cookieJarSetting across processes in JS. We need to
make it serializable.

Differential Revision: https://phabricator.services.mozilla.com/D95613
2020-11-10 11:47:32 +00:00
Dan Minor fd4b6484ff Bug 1673054 - Convert callers to use isAppLocaleRTL; r=Gijs,zbraniecki
This moves callers that are using getLocaleInfo to determine the current locale
to render widgets to use the new isAppLocaleRTL method. This will allow us to remove
pref overrides from getLocaleInfo.

Differential Revision: https://phabricator.services.mozilla.com/D96234
2020-11-10 16:30:57 +00:00
Kris Maglione 7ae9faa46f Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D93858
2020-11-06 18:58:33 +00:00
Nick Alexander 874576b950 Bug 1675332 - Pre: Make `VALUE: null` remove env vars in Subprocess.jsm. r=kmag
This small tweak makes it ergonomic to remove variables from the
inherited environment.  Using `null` to signal "removal", distinct
from `undefined` for "ignored", seems to be an accepted idiom in these
types of JS interfaces.

Differential Revision: https://phabricator.services.mozilla.com/D95896
2020-11-06 05:01:57 +00:00
Neil Deakin c5eff66205 Bug 1649843, remove now unused legacy actor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95206
2020-11-06 15:46:11 +00:00
Emilio Cobos Álvarez 2efeea8d73 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-04 11:03:48 +00:00
Razvan Maries 10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell 5f9c85da95 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Nika Layzell a30f10ec01 Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-04 00:55:23 +00:00
Nika Layzell b20d2f0f1b Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-04 00:55:23 +00:00
Razvan Maries 848e6efc73 Backed out changeset b5330b68ce05 (bug 1674135) for perma failures on browser_siteData2.js and browser_pdf_printer_settings.js. CLOSED TREE 2020-11-04 02:43:34 +02:00
Emilio Cobos Álvarez 55c7bb96b4 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-03 23:36:32 +00:00
Martin Stransky 86ec37745d Bug 1658887 Expose Linux/Wayland related preferences at about:support, r=Gijs
- Expose wayland dmabuf related options, which are:
  widget.dmabuf-textures.enabled
  widget.dmabuf-webgl.enabled

- Expose widget.use-xdg-desktop-portal which enables remote system dialogs like Print/Open/Save.

- Expose general Wayland preferences:
  widget.wayland-smooth-rendering - extra buffering of Wayland SW rendering
  widget.wayland.use-opaque-region - use transparency hints for Wayland compositor
  widget.wayland_vsync.enabled - use independent vsync source

None of them provide sensitive informations.

Differential Revision: https://phabricator.services.mozilla.com/D86939
2020-11-03 18:38:23 +00:00
Dorel Luca 8ab9b89b0f Backed out changeset 3cc7771c487c (bug 1674135) for Browser-chrome failures in preferences/tests/siteData/browser_siteData.js. CLOSED TREE 2020-11-03 19:37:30 +02:00
Emilio Cobos Álvarez 68568f67a5 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-03 16:35:34 +00:00
Bogdan Tara e267318576 Backed out changeset a7f0c3d87325 (bug 1674135) for browser/components/preferences/ mochitest failures CLOSED TREE 2020-11-02 23:13:33 +02:00
Emilio Cobos Álvarez 0ebbb751e6 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-02 19:23:23 +00:00
Tim Giles b67b613817 Bug 1668965 - Remove mention of Lockwise mobile apps from about:logins. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93260
2020-11-02 17:09:56 +00:00
Marco Bonardo 71dde4521c Bug 1674418 - Properly handle conn.close() exception to not block async shutdown. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95326
2020-11-01 20:37:26 +00:00
David Teller 7e3cd23b78 Bug 1426219 - Extend PromiseTestUtils to uncaught JavaScript Developer Errors;r=florian
This patch uses (and somewhat abuses) the existing PromiseTestUtils
mechanism to also be able to whitelist uncaught errors that are not
actual Promise rejections.

This uses `ChromeUtils.recentJSDevError`, which lets us find out
whether there is a recent ReferenceError/SyntaxError/TypeError in
chrome code, even if that error was caught.

MozReview-Commit-ID: 5z1pffURNYm

Differential Revision: https://phabricator.services.mozilla.com/D94972
2020-10-30 11:34:37 +00:00
Razvan Maries 74cfe80c4d Backed out changeset 56a8a402e139 (bug 1668965) for perma failures on browser_all_files_referenced.js and browser_protectionsUI_milestones.js. CLOSED TREE 2020-10-30 01:25:58 +02:00
Tim Giles 6252069544 Bug 1668965 - Remove mention of Lockwise mobile apps from about:logins. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93260
2020-10-29 21:07:54 +00:00
Neil Deakin 8773757bb3 Bug 1669369, remove legacy actor from PrintingChild and replace with JSWindowActor, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D92519
2020-10-28 19:19:52 +00:00
Narcis Beleuzu 57cc17836f Backed out changeset ab6c1419da26 (bug 1669369) for bc failures on browser_all_files_referenced.js CLOSED TREE 2020-10-28 17:32:34 +02:00
Neil Deakin a1d6faff00 Bug 1669369, remove legacy actor from PrintingChild and replace with JSWindowActor, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D92519
2020-10-28 13:58:27 +00:00
Marco Bonardo 4ef751c0a8 Bug 1673865 - Fix Sqlite async shutdown blocker state vars. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D94987
2020-10-28 13:43:16 +00:00
Punam Dahiya b59890dab6 Bug 1665404 - Code coverage crash on linux build for multistage welcome r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D94803
2020-10-27 19:49:42 +00:00
Johann Hofmann 3d58a1fbfb Bug 941354 - Use innerMostURI on about:{neterror,certerror}. r=prathiksha,baku
This is to prevent issues with parsing the correct hostname for displaying and adding
exceptions for urls like view-source:.

Differential Revision: https://phabricator.services.mozilla.com/D94421
2020-10-27 10:55:51 +00:00
Butkovits Atila 9817823a41 Backed out changeset 2edd2bd119ff (bug 941354) for browser-chrome related failures. CLOSED TREE 2020-10-26 23:31:58 +02:00
Johann Hofmann a735fc4151 Bug 941354 - Use innerMostURI on about:{neterror,certerror}. r=prathiksha,baku
This is to prevent issues with parsing the correct hostname for displaying and adding
exceptions for urls like view-source:.

Differential Revision: https://phabricator.services.mozilla.com/D94421
2020-10-26 20:12:14 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Chris H-C 5adea0b168 Bug 1673346 - Don't init FOG if not MOZ_GLEAN r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D94738
2020-10-26 15:27:04 +00:00
Emilio Cobos Álvarez 9c21cb2c0d Bug 1672864 - Don't show the "print selection" context menu items when the focused selection is in a textarea / input. r=emalysz
This is a band-aid for now, because I don't know how to best deal with
it.

Probably we should just print the plaintext selection contents,
unstyled, though that's a totally different codepath than what we do for
regular document selection, so probably deserves its own bug. Meanwhile,
this should prevent easy printing failures.

View-selection-source also doesn't deal with it properly so do the same
there too for now.

Differential Revision: https://phabricator.services.mozilla.com/D94595
2020-10-24 11:46:43 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Hunter Jones 11ed93a032 Bug 1667840: Refactor Picture-in-Picture to not use global state r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D92976
2020-10-22 22:04:55 +00:00
Kris Maglione 11382660dc Bug 1588503: Don't load AutoCompleteChild.jsm before necessary. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D93834
2020-10-22 19:26:58 +00:00
Sebastian Streich 6903ee252a Bug 1661280 - Remove principal.uri in BrowserUtils.jsm r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82918
2020-10-21 17:31:32 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Agi Sferro 07a1be1097 Bug 1646810 - Use DocumentChannel process switching. r=nika,owlish
Differential Revision: https://phabricator.services.mozilla.com/D93866
2020-10-20 16:14:33 +00:00
Kris Maglione c1143c12ba Bug 1639739: Add Fission decision status to about:support. r=nika,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92981
2020-10-14 20:42:16 +00:00
Marco Bonardo 1019bbf009 Bug 1626016 - Remove createFixupURI and move postData inside URIFixupInfo. r=Gijs,geckoview-reviewers,preferences-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93189
2020-10-13 10:20:16 +00:00
Emilio Cobos Álvarez 1cc2aff1a4 Bug 1669844 - Add a printing section to about:support. r=Gijs,jwatt,fluent-reviewers
Which allows to view and clear all the modified print settings really
fast.

Differential Revision: https://phabricator.services.mozilla.com/D92937
2020-10-12 10:58:53 +00:00
Hunter Jones 05237ad1d0 Bug 1667409: Create a separate actor to launch a Picture-in-Picture window r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D91460
2020-10-08 13:51:24 +00:00
Kris Maglione 832d650ddb Bug 1669538: Expose reason for Fission enablement decision in nsIXULRuntime. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D92676
2020-10-07 22:13:48 +00:00
Csoregi Natalia 7ede3c3e96 Backed out changeset a5f507cc51ab (bug 1669538) for build bustage on nsAppRunner.cpp. CLOSED TREE 2020-10-08 00:51:52 +03:00
Kris Maglione 00b133dff8 Bug 1669538: Expose reason for Fission enablement decision in nsIXULRuntime. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D92676
2020-10-07 18:40:35 +00:00
julianwels 403273ad07 Bug 1668857 - Unify styling for description text for panels using new `--panel-description-color` variable. r=ntim,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D92658
2020-10-07 12:53:32 +00:00
Agi Sferro 7ebe27ddd5 Bug 1667811 - Fix typo in E10SUtils.redirectLoad. r=esawin,nika
Differential Revision: https://phabricator.services.mozilla.com/D92668
2020-10-06 20:45:00 +00:00
Bryce Seager van Dyk bf659512f8 Bug 1668372 - Escape URI GMP zips are extracted from. r=Gijs
Users with certain special characters on the path to the temp dirs where GMPs
are saved would not be able to extract GMPS. This fixes this by escaping
characters such as # so that the URIs to the file are treated correctly.

Differential Revision: https://phabricator.services.mozilla.com/D92088
2020-10-01 22:17:06 +00:00
Bryce Seager van Dyk dbe64bb4b5 Bug 1668372 - Test GMPExtractor handles special characters. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92149
2020-10-02 16:45:52 +00:00
Nika Layzell 7575a8a095 Bug 1667426 - Part 2: Fix failing browser_Troubleshoot.js test r=fix CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D92282
2020-10-02 18:37:20 +00:00
Andreas Farre 20f649d371 Bug 1668847 - Don't use SessionHistory.collect from content child r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92246
2020-10-02 15:42:50 +00:00
Magnus Melin 915ff484ea Bug 1665386 - allow test_AllowedAppSources.js to be run successfully for all products, and enable the relevant probe for Thunderbird too. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D91974
2020-10-01 15:46:26 +00:00
Erica Wright 8eed61bbe6 Bug 1661756 - Add VPN Card and Banner r=prathiksha,flod,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D88633
2020-09-30 14:46:46 +00:00
Noemi Erli f25dabf9d9 Backed out changeset a96912059b4c (bug 1644719) for causing failures in browser_all_files_referenced.js CLOSED TREE 2020-09-30 19:18:42 +03:00
prathiksha d76d514ef5 Bug 1644719 - Add basic functionality to display offline support pages when SUMO is unreachable from certerror pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D91451
2020-09-30 12:45:10 +00:00
Olli Pettay 97778cf44a Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D91462
2020-09-28 12:01:12 +00:00
Jonathan Watt 75195537cb Bug 1666956. Add back the printing preferences to about:support. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91247
2020-09-24 10:46:29 +00:00
Sebastian Streich c63978958b Bug 1667034 - Remove createContentPrincipal callers with nsIPrincipal.uri r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82915
2020-09-24 09:58:50 +00:00
Christoph Kerschbaumer 44c8e14cbe Bug 1666772: Simplify canProcessSwitchWithDocumentChannel in E10SUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91127
2020-09-24 07:56:25 +00:00
Bogdan Tara e5e257be65 Backed out changeset 0e8c8e02db69 (bug 1661756) for browser_protections_vpn.js failures CLOSED TREE 2020-09-24 05:12:49 +03:00
Erica Wright 39db0a2518 Bug 1661756 - Add VPN Card and Banner r=prathiksha,flod,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D88633
2020-09-23 17:55:50 +00:00
Andreas Farre 6dd091de9d Bug 1666415 - Skip checking for history load in E10SUtils for child process. r=smaug
With session history in the parent, all history loads needs to be
handled by the parent, which means that E10SUtils with session history
in the parent doesn't need to consider that to determine if a uri can
be loaded.

Differential Revision: https://phabricator.services.mozilla.com/D90961
2020-09-22 09:46:46 +00:00
Csoregi Natalia c39868efbc Backed out changeset 60399347a777 (bug 1661756) for failures on browser_protections_vpn.js. CLOSED TREE 2020-09-23 04:19:20 +03:00
Erica Wright 562a1bf962 Bug 1661756 - Add VPN Card and Banner r=prathiksha,flod,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D88633
2020-09-22 14:42:51 +00:00
Sebastian Streich 3728b2e636 Bug 1666442 - Remove principal.uri in e10sutils r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82931
2020-09-22 11:14:18 +00:00
pbz 3da9b41215 Bug 1665339 - Prevent ESC key on SubDialog from cancelling page load. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90572
2020-09-21 13:25:16 +00:00
Dale Harvey baf148dc4b Bug 1663428 - Add a retry for region lookup r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D89937
2020-09-21 08:06:19 +00:00
Cosmin Sabou 07ae33e5d7 Backed out changeset 206a04ae2fa7 (bug 1661756) for bc failures on browser_protections_telemetry.js. CLOSED TREE 2020-09-18 20:27:03 +03:00
Erica Wright c3a8f6a26b Bug 1661756 - Add VPN Card and Banner r=prathiksha,flod,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D88633
2020-09-18 13:20:01 +00:00
Emma Malysz b94b50a7ae Bug 1660665, hide subdialog if user chooses to print using system dialog. r=jwatt,Gijs,mstriemer
When the user chooses to print using the system dialog, we should hide the print
UI. We are choosing to hide the dialog stack instead of closing the dialog because
the print preview browser still needs to be available if the user tries to print.
We close the window if the user cancels the system dialog or once we receive the
promise from PrintUtils.printWindow.

Differential Revision: https://phabricator.services.mozilla.com/D88096
2020-09-17 02:18:50 +00:00
Andreas Farre f9f96d23ca Bug 1662410 - Part 1: Fix usage of ChildSHistory.legacySHistory . r=peterv
ChildSHistory.legacySHistory isn't valid for content processes when
session history in the parent is enabled. We try to fix this by either
delegating to the parent by IPC or move the implementation partially
or as a whole to the parent.

Differential Revision: https://phabricator.services.mozilla.com/D89353
2020-09-16 14:51:01 +00:00
Luke Crouch 6821fc0acd Bug 1664360 also use Region.jsm for vpn region restriction r=baku
Differential Revision: https://phabricator.services.mozilla.com/D90287
2020-09-16 12:04:10 +00:00
Dan Mosedale 69be0466d9 Bug 1664120 - work around code coverage crashes, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D90184
2020-09-15 18:58:18 +00:00
Kirk Steuber 4724b9dd94 Bug 1659157 - Add testing for allowed app sources telemetry r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D89191
2020-09-09 17:35:32 +00:00
Kirk Steuber 6f0c1a1b97 Bug 1659157 - Collect allowed app install source data and submit to telemetry r=Gijs,chutten,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D89190
2020-09-10 20:16:04 +00:00
Nihanth Subramanya 0882288b45 Bug 1664873 - Add `doh-rollout` prefs to "important modified prefs" list in about:support. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D90221
2020-09-15 13:50:22 +00:00
Dão Gottwald 3bc9f5a61d Bug 1664502 - Disable canonical URL conversion for search shortcuts when using default top sites from remote settings. r=mikedeboer
Remote Settings still support search shortcuts for the time being but it's considered an obsolete feature that we don't intend to use.

Differential Revision: https://phabricator.services.mozilla.com/D90122
2020-09-15 08:38:42 +00:00
Luke Crouch 9cd7330a82 Bug 1664360 - introduce browser.privatebrowsing.vpnpromourl r=baku
Use browser.privatebrowsing.vpnpromourl pref to control the display and link
param value of the VPN promo in about:privatebrowsing.

Differential Revision: https://phabricator.services.mozilla.com/D89916
2020-09-14 09:29:44 +00:00
James Teh 5bb136ae5a Bug 1664086: Use Fluent to set aria-label for credit card list options in preferences. r=zbraniecki,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D89696
2020-09-11 06:13:36 +00:00
Mark Banner 1d79d8b04d Bug 1642995 - Move useDBForOrder to the search settings and rename it to useSavedOrder. r=daleharvey
"DB" refers to when the settings were stored in an sqlite file, I think we should drop that reference now.

Differential Revision: https://phabricator.services.mozilla.com/D89497
2020-09-11 19:56:39 +00:00
Michael Goossens 8c23b249e2 Bug 1662704 - Remove unused traces of MOZ_ALLOW_LEGACY_EXTENSIONS r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D89730
2020-09-10 15:12:33 +00:00
Sonia Singla 6a17dca89f Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8
Depends on D87183

Differential Revision: https://phabricator.services.mozilla.com/D87961
2020-09-07 12:57:10 +00:00
Paul Bone 387c5f9ad3 Bug 1639095 - Re-remove allowLinkedWebInFileUriProcess r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D78457
2020-09-02 03:43:41 +00:00
Magnus Melin cce1abb752 Bug 1612380 - don't verify content signatures for Thunderbird. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D88541
2020-09-02 14:22:52 +00:00
Nathan Froyd cd9c808aae Bug 1656302 - remove interface name for URIFixup component definition; r=mccr8
See https://bugzilla.mozilla.org/show_bug.cgi?id=1656302#c7 for the explanation.

Differential Revision: https://phabricator.services.mozilla.com/D89030
2020-09-01 21:54:56 +00:00
pbz 32b7cf7c35 Bug 1661030 - Extended TabDialogBox with an option to persist dialogs across same origin location change. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88423
2020-09-02 14:24:58 +00:00
pbz 2a72e0a43c Bug 1661030 - Refactor SubDialog and TabDialogBox to support passing multiple window arguments. r=Gijs,preferences-reviewers
This also updates the behavior of the allowDuplicates check:
Instead of only checking if the top dialog is a duplicate, it will now check the whole stack and
skip the dialog open if a duplicate URL is found.
This fixes an issue where callers could alternate between dialogs to bypass the check.

Differential Revision: https://phabricator.services.mozilla.com/D88422
2020-09-02 14:24:47 +00:00
Bianca Danforth bbe50878af Bug 1659217 - Ensure formLike.rootElement correctly points to the nearest HTMLFormElement ancestor, if any, when a password field is inside a ShadowRoot. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D87335
2020-09-02 01:09:08 +00:00
Butkovits Atila 7b340f9684 Backed out 15 changesets (bug 1612824, bug 1661234, bug 1619926, bug 1612380, bug 1559530, bug 1642990) for Xpc failures. CLOSED TREE
Backed out changeset 426d017d7e46 (bug 1642990)
Backed out changeset 84ab4021d403 (bug 1559530)
Backed out changeset 82a8305543e5 (bug 1559530)
Backed out changeset 38832c1185b8 (bug 1559530)
Backed out changeset f16918c10a6b (bug 1661234)
Backed out changeset 3a13258fbd51 (bug 1661234)
Backed out changeset abf8d8b24845 (bug 1612824)
Backed out changeset 7dfeb065a385 (bug 1619926)
Backed out changeset bc9d3e210fe7 (bug 1619926)
Backed out changeset 786164c461ae (bug 1619926)
Backed out changeset d89793e9d17d (bug 1619926)
Backed out changeset d665885bc912 (bug 1619926)
Backed out changeset 9260b6620943 (bug 1619926)
Backed out changeset af69a4896f2f (bug 1619926)
Backed out changeset b9cd6b7047b9 (bug 1612380)
2020-09-01 21:03:23 +03:00
Magnus Melin f8c4782742 Bug 1612380 - don't verify content signatures for Thunderbird. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D88541
2020-09-01 12:51:08 +00:00
Mark Striemer d0e57cde18 Bug 1661361 - Show print tab modal while waiting on printer data r=Jamie,pbz
Show the print dialog as soon as the content is ready, rather than after
the printer and print settings have been retrieved, then focuses the first
form element.

Differential Revision: https://phabricator.services.mozilla.com/D88355
2020-09-01 02:26:04 +00:00
Sebastian Streich 4249a3907d Bug 1661846 - Fix SystemPrincipal handling in RemotePageAccessManager.jsm r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88768
2020-08-31 12:47:36 +00:00
Luca Greco 6d677ee9c2 Bug 1568597 - Make RemoteWorkerManager::GetRemoteType/MatchRemoteType fission-aware. r=asuth,nika
Differential Revision: https://phabricator.services.mozilla.com/D81373
2020-08-28 17:58:58 +00:00
Anny Gakhokidze bd0938ed77 Bug 1589102 - Part 3: Enable about:blank loads to take place via DocumentChannel, r=mattwoodrow
In process selection logic, ensure that we don't use the original URI for
about:blank and instead use the result principal. If the about:blank load has a
null principal, then revert to using the original URI.

Also, remove an extra about:blank load when an nsFrameLoaderOwner is changing
remoteness to prevent races.

Differential Revision: https://phabricator.services.mozilla.com/D85081
2020-08-28 17:20:40 +00:00
Anny Gakhokidze 8b553ecfcf Bug 1589102 - Part 1: Enable about:srcdoc loads via DocumentChannel, r=mattwoodrow
This patch enables sandboxed srcdoc loads to take place via DocumentChannel,
and adds mechanisms for enabling unsandboxed ones.

Both unsandboxed srcdoc, and in subsequent patches, about:blank, loads require
that the triggering principal and the principal to inherit point to the same
instance if the load takes place in the same process as where we are inheriting
those principals from. We save those principals on a target browsing context before
we load the URI, and later, when we are deserializing LoadInfoArgs into
LoadInfo in the content process, we retrieve the saved principals if the
current load identifier of the target BC matches the load identifier saved
along with the principals.

We also need to make sure that during a process switch for about:srcdoc load,
we don't use the original URI for about:srcdoc to determine the remote type and
instead we use channel's result principal.

Differential Revision: https://phabricator.services.mozilla.com/D85079
2020-08-28 17:20:30 +00:00
pbz ffd9bba19b Bug 1660951 - Focus TabDialogBox top dialog when switching tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88437
2020-08-28 12:36:00 +00:00
Emilio Cobos Álvarez 27590dfe0b Bug 1661123 - Make LightWeightThemeConsumer.jsm sanitize colors faster. r=Gijs,jwatt
Instead of creating an element, flushing styles and getting the computed
value back just to receive, use the existing InspectorUtils.colorToRGBA.

With some refactoring, we can completely get rid of parsing rgba strings
in LightWeightThemeConsumer too, as a benefit. This should be much
faster.

This patch tweaks the InspectorUtils API to allow taking a document, so
that system colors keep working. We could probably get away without
supporting system colors, but it'd technically be a regression, and
since we want this patch to be uplifted, and it's easy, let's avoid
breaking changes.

Differential Revision: https://phabricator.services.mozilla.com/D88200
2020-08-27 12:33:11 +00:00
Bogdan Tara f22b74fc65 Backed out changeset 8fe9ffffccda (bug 1661123) for browser_ext_themes_experiment.js failures CLOSED TREE 2020-08-27 14:57:07 +03:00
Emilio Cobos Álvarez 4282f1752b Bug 1661123 - Make LightWeightThemeConsumer.jsm sanitize colors faster. r=Gijs,jwatt
Instead of creating an element, flushing styles and getting the computed
value back just to receive, use the existing InspectorUtils.colorToRGBA.

With some refactoring, we can completely get rid of parsing rgba strings
in LightWeightThemeConsumer too, as a benefit. This should be much
faster.

This patch tweaks the InspectorUtils API to allow taking a document, so
that system colors keep working. We could probably get away without
supporting system colors, but it'd technically be a regression, and
since we want this patch to be uplifted, and it's easy, let's avoid
breaking changes.

Differential Revision: https://phabricator.services.mozilla.com/D88200
2020-08-27 10:50:54 +00:00
Narcis Beleuzu 5a271cc4ef Backed out changeset 5d49fddb1af3 (bug 1661280) for bc failures on browser_advanced_update.js . CLOSED TREE 2020-08-26 21:12:41 +03:00
Sebastian Streich ac851926fe Bug 1661280 - Remove principal.uri in BrowserUtils.jsm r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82918
2020-08-26 15:27:50 +00:00
James Teh 4f869a9ad6 Bug 1660365: Fix a11y dialog role placement for the Print modal. r=Gijs
Previously, the browser dialogTemplate contained role="dialog" and the Print modal body had no role.
This caused screen readers to extraneously report "dialog, Print grouping".
Dialogs presented with commonDialog.xhtml (e.g. using Services.prompt.alertBC) did have the dialog role on the body, so screen readers would report "dialog, {dialogTitle} dialog".

To fix this, remove role="dialog" from dialogTemplate.
Instead, SubDialog now sets role="dialog" on the dialog document when it loads.
Now, screen readers report just "Print dialog" and "{dialogTitle} dialog", respectively.

Differential Revision: https://phabricator.services.mozilla.com/D87977
2020-08-24 12:07:50 +00:00
Razvan Maries b6c5d1394b Backed out 3 changesets (bug 1568597) for perma failures on sharedworker-classic.https.html. CLOSED TREE
Backed out changeset 07523f6e8341 (bug 1568597)
Backed out changeset ed846f54fe7d (bug 1568597)
Backed out changeset 0c69ed659f23 (bug 1568597)
2020-08-25 22:34:41 +03:00
Sebastian Streich 7defa66497 Bug 1655945 - Remove principal.uri in RemotePageAccessManager.jsm r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82917
2020-08-25 13:58:49 +00:00
Luca Greco 74b570aff1 Bug 1568597 - Make RemoteWorkerManager::GetRemoteType/MatchRemoteType fission-aware. r=asuth,nika
Differential Revision: https://phabricator.services.mozilla.com/D81373
2020-08-25 10:21:55 +00:00
Neil Deakin 3bcbd15d51 Bug 1614761, move refresh blocking handling from framescript to an actor, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87206
2020-08-25 10:21:38 +00:00
Mark Striemer 596793feda Bug 1654962 - Size tab modal print UI to available window size r=Gijs,sfoster,emalysz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86037
2020-08-24 21:00:36 +00:00
Jared Wein 2421d68d38 Bug 1660558 - Handle any exception thrown when trying to load Subprocess due to unsupported platforms. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87954
2020-08-24 11:09:56 +00:00
Mihai Alexandru Michis 3e266b539c Backed out changeset 80e6be24260d (bug 1654962) for causing bc failures in browser_modal_print.js
CLOSED TREE
2020-08-21 17:47:07 +03:00
Mark Striemer 223bb33a6c Bug 1654962 - Size tab modal print UI to available window size r=Gijs,sfoster,emalysz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86037
2020-08-21 13:55:15 +00:00
DesWurstes 041dc6bfcd Bug 1020254 - PDFParent should set the find clipboard. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D85140
2020-08-21 07:37:19 +00:00
Aichi Chang 3779c26fd0 Bug 1659002 - Fix passing region data to notifyObservers. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D87271
2020-08-20 18:14:05 +00:00
Mark Striemer e075211be5 Bug 1653317 - Use TabDialogBox for tab modal print UI r=Gijs,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86597
2020-08-19 20:04:52 +00:00
Barret Rennie 180c194eae Bug 1655138 - Collect telemetry of average number of unique origins per tab r=mconley,jesup
Whenever a top level document load finishes, if it has been five minutes since
the last time we have done so, we record telemetry about the ratio of unique
site origins loaded to the number of loaded tabs. This telemetry is split
across several different histograms, so that it can be used to approximate a
unique origins vs loaded tab count curve.

Differential Revision: https://phabricator.services.mozilla.com/D85072
2020-08-18 21:11:12 +00:00
Jared Wein 950b013178 Bug 1361712 - Show environment variables in about:support. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86995
2020-08-17 14:37:29 +00:00
Kris Maglione 0c976d908a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
pbz 1058f2522e Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-17 10:26:22 +00:00
pbz 34285950d0 Bug 1650795 - Update PopupNotifications to check suppressed state on tab switch. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83630
2020-08-17 10:25:59 +00:00
Bogdan Tara f3e186366b Backed out 7 changesets (bug 1650795, bug 1651958) for test_master_password.html failures CLOSED TREE
Backed out changeset 4812945bfaf2 (bug 1651958)
Backed out changeset a3f28fadcdf3 (bug 1651958)
Backed out changeset 70a61c971427 (bug 1651958)
Backed out changeset e7194e7e7ecc (bug 1651958)
Backed out changeset 7e66e5431ef7 (bug 1651958)
Backed out changeset a6c58935e1d8 (bug 1650795)
Backed out changeset b79f254df4cb (bug 1650795)
2020-08-14 23:29:33 +03:00
pbz 509eea0b25 Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-14 11:31:04 +00:00
pbz c45d7eccfc Bug 1650795 - Update PopupNotifications to check suppressed state on tab switch. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83630
2020-08-14 11:30:33 +00:00
Csoregi Natalia eac68e26b0 Backed out 7 changesets (bug 1650795, bug 1651958) for failures on test_modal_prompts.html . CLOSED TREE
Backed out changeset 505f46d2cd97 (bug 1651958)
Backed out changeset f7893f4dc092 (bug 1651958)
Backed out changeset 54ea7a160e0d (bug 1651958)
Backed out changeset c2bc9c8d2e97 (bug 1651958)
Backed out changeset 247880941893 (bug 1651958)
Backed out changeset c8945eb14177 (bug 1650795)
Backed out changeset fc4dcfaf3938 (bug 1650795)
2020-08-14 00:02:08 +03:00
pbz 8c8b150bd2 Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-13 18:43:49 +00:00
pbz 764b120faa Bug 1650795 - Update PopupNotifications to check suppressed state on tab switch. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83630
2020-08-13 18:43:49 +00:00
julianwels 0cbb1af83b Bug 1651197: Added Learn More link to HTTPS-Only Mode error page. r=ckerschb,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D86593
2020-08-11 14:09:59 +00:00
Dan Minor fd59610aaf Bug 1653219 - Add nsIBrowserWindowTracker and getAllVisibleTabs function; r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84591
2020-08-10 15:57:46 +00:00
Neil Deakin 7b6a5cb14a Bug 1644337, anchor the date time picker dropdown panel to a screen rectangle, as a node will not be available for out of process iframes, r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D86100
2020-08-09 23:51:33 +00:00
Noemi Erli ae3ec2e8a0 Backed out 3 changesets (bug 1653219) for causing crashtest failures CLOSED TREE
Backed out changeset 8950f3e98862 (bug 1653219)
Backed out changeset 7376606a9f7f (bug 1653219)
Backed out changeset aa2016ee81c8 (bug 1653219)
2020-08-07 19:55:02 +03:00
Dan Minor f1bd93d2a7 Bug 1653219 - Add nsIBrowserWindowTracker and getAllVisibleTabs function; r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84591
2020-08-07 12:30:26 +00:00
Marco Bonardo 5f68c24251 Bug 1656348 - Add source support to FormHistory. r=adw
Add an optional source property for FormHistory that can be defined when bumping,
removing of querying values.
This can be used by consumers to partition FormHistory based on specific sources,
for example the name of the engine used to execute the search.

Differential Revision: https://phabricator.services.mozilla.com/D85489
2020-08-06 15:07:25 +00:00
Butkovits Atila 3bd0e5497c Backed out 10 changesets (bug 1589102) for failure at browser_saveHeapSnapshot_e10s_01.js CLOSED TREE
Backed out changeset 0d22ad297b19 (bug 1589102)
Backed out changeset 14bcaf2a452c (bug 1589102)
Backed out changeset 20905f91e2bb (bug 1589102)
Backed out changeset 29ee0fbe855f (bug 1589102)
Backed out changeset d1f6185030af (bug 1589102)
Backed out changeset 31949872cc1d (bug 1589102)
Backed out changeset ec04e1a20597 (bug 1589102)
Backed out changeset ffe8da473b91 (bug 1589102)
Backed out changeset 3b92f7306c64 (bug 1589102)
Backed out changeset b187548e258f (bug 1589102)
2020-08-05 21:47:50 +03:00
Anny Gakhokidze 1f4b006e42 Bug 1589102 - Part 3: Enable about:blank loads to take place via DocumentChannel, r=mattwoodrow
In process selection logic, ensure that we don't use the original URI for
about:blank and instead use the result principal. If the about:blank load has a
null principal, then revert to using the original URI.

Also, remove an extra about:blank load when an nsFrameLoaderOwner is changing
remoteness to prevent races.

Differential Revision: https://phabricator.services.mozilla.com/D85081
2020-08-05 16:44:11 +00:00
Anny Gakhokidze e903c66d34 Bug 1589102 - Part 1: Enable about:srcdoc loads via DocumentChannel, r=mattwoodrow
This patch enables sandboxed srcdoc loads to take place via DocumentChannel,
and adds mechanisms for enabling unsandboxed ones.

Both unsandboxed srcdoc, and in subsequent patches, about:blank, loads require
that the triggering principal and the principal to inherit point to the same
instance if the load takes place in the same process as where we are inheriting
those principals from. We save those principals on a target browsing context before
we load the URI, and later, when we are deserializing LoadInfoArgs into
LoadInfo in the content process, we retrieve the saved principals if the
current load identifier of the target BC matches the load identifier saved
along with the principals.

We also need to make sure that during a process switch for about:srcdoc load,
we don't use the original URI for about:srcdoc to determine the remote type and
instead we use channel's result principal.

Differential Revision: https://phabricator.services.mozilla.com/D85079
2020-08-05 16:44:01 +00:00
Erica Wright 70a8a87c2d Bug 1650468 - Protections dashboard accepts entrypoint param r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D82240
2020-08-05 16:25:57 +00:00
Sonia Singla 7e4a582215 Bug 1528649 - Remove the context parameter from nsInputStreamPump::AsyncRead. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85154
2020-08-05 11:21:51 +00:00
Masayuki Nakano 25994d720f Bug 1656432 - part 3: Get rid of `nsIEditActionListener::WillDeleteSelection()` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85683
2020-08-04 15:01:18 +00:00
Masayuki Nakano aef65d3a65 Bug 1656432 - part 2: Make `FinderHighlighter` use `nsIEditActionListener::WillDeleteRanges()` instead of `nsIEditActionListener::WillDeleteSelection()` r=Gijs
For making editor performance better and editor code simpler, I want to
stop modifying `Selection` as far as possible.  Therefore, I'd like to
get rid of `nsIEditActionListener`.  Instead, there is new API,
`nsIEditActionListener::WillDeleteRanges()`.  This patch rewrites
`FinderHighlighter#WillDeleteSelection()` to
`FinderHighlighter#WillDeleteRanges()`.

Differential Revision: https://phabricator.services.mozilla.com/D85682
2020-08-04 12:27:09 +00:00
Anny Gakhokidze 2d1151529c Bug 1654922 - Part 1: Remove DocumentChannel pref usage from tests and document navigation code, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D85483
2020-08-01 16:36:12 +00:00
Sebastian Streich bf58055b03 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-08-04 11:10:41 +00:00
Kartikaya Gupta ce9f751703 Bug 1653943 - Remove unnecessary test assertion that complicates production code. r=jaws
Asserting that features with gates are always disabled seems unnecessary,
and forces changes to the test every time a feature is enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D85433
2020-08-04 12:17:55 +00:00
Noemi Erli 37e7a2569c Backed out 3 changesets (bug 1620055, bug 1621740) for causing leaks (DManipEventHandler)
Backed out changeset 4ed6ec0c8220 (bug 1620055)
Backed out changeset bb406c0968c5 (bug 1621740)
Backed out changeset a816301284e6 (bug 1621740)
2020-08-04 05:11:54 +03:00
Kartikaya Gupta ba116b41d6 Bug 1620055 - Turn on allow_zooming on nightly desktop builds. r=ktaeleman
Depends on D85431

Differential Revision: https://phabricator.services.mozilla.com/D85432
2020-07-30 19:06:28 +00:00
Cas Verploegen 42f90a41e1 Bug 1647894 - Fixed TypeError on HiddenFrame Set. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D85690
2020-08-02 19:31:30 +00:00
Mark Striemer 5ea27268e5 Bug 1648868 - Part 1: Cleanup SubDialog for tab-level usage r=emalysz
Ensure all listeners that are added are cleaned up correctly.
Add an option to remove the overlay when closed and add a promise for when
the dialog is set up.

Differential Revision: https://phabricator.services.mozilla.com/D85307
2020-08-01 15:13:24 +00:00
Andreea Pavel 742a9ce46c Backed out 6 changesets (bug 1653392, bug 1648868, bug 1649202) for breaking bc at browser_modal_print.js on a CLOSED TREE
Backed out changeset e6f8429bae89 (bug 1649202)
Backed out changeset 5360afed1eba (bug 1649202)
Backed out changeset d3b3387338f8 (bug 1649202)
Backed out changeset 98b1c160e065 (bug 1653392)
Backed out changeset 5c984392950a (bug 1648868)
Backed out changeset fa8732ebff70 (bug 1648868)
2020-08-01 02:25:16 +03:00
Mark Striemer 5e2b93c4cc Bug 1648868 - Part 1: Cleanup SubDialog for tab-level usage r=emalysz
Ensure all listeners that are added are cleaned up correctly.
Add an option to remove the overlay when closed and add a promise for when
the dialog is set up.

Differential Revision: https://phabricator.services.mozilla.com/D85307
2020-07-31 19:57:16 +00:00
Nika Layzell 3b8fc2b4eb Bug 1652144 - Part 3: Add tests for webIsolated counts over 1, r=farre
This patch also unlocks the pref which was locked in bug 1626096, as it's no
longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D84062
2020-07-30 20:27:39 +00:00
Geoff Lankow 19601805b3 Bug 1654984 - don't output needless error reports about non-existing logins-backup.json. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84783
2020-07-29 23:56:24 +00:00
Noemi Erli 5cebe61c77 Backed out changeset 4ed7b13fb7a5 (bug 1633710) for causing failures in browser_amosigned_url.js CLOSED TREE 2020-07-29 22:34:42 +03:00
Sebastian Streich ea482d8e73 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-07-29 17:33:10 +00:00
Neil Deakin 2b51369fff Bug 1606135, switch background page thumbs service to use drawSnapshot and an actor instead of a framescript, r=adw
Differential Revision: https://phabricator.services.mozilla.com/D70073
2020-07-28 12:52:25 +00:00
Butkovits Atila cf561cece0 Backed out 5 changesets (bug 1652144, bug 1654569, bug 1652085) for assertion failure nsDocShell.cpp. CLOSED TREE
Backed out changeset 4388af0c7d95 (bug 1654569)
Backed out changeset 66d5bb2ff027 (bug 1652085)
Backed out changeset 05132c178b4f (bug 1652144)
Backed out changeset fbdc7fd9cb96 (bug 1652144)
Backed out changeset 920a06a52b8b (bug 1652144)
2020-07-26 11:12:52 +03:00
Csoregi Natalia 3b2a5fe818 Backed out changeset 4029dc1e969b (bug 1654984) for failures on browser_startup_mainthreadio.js. CLOSED TREE 2020-07-25 01:04:35 +03:00
Nika Layzell b4964689b9 Bug 1652144 - Part 3: Add tests for webIsolated counts over 1, r=farre
This patch also unlocks the pref which was locked in bug 1626096, as it's no
longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D84062
2020-07-24 20:24:43 +00:00
Magnus Melin 0a72a11db7 Bug 1654984 - don't output needless error reports about non-existing logins-backup.json. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84783
2020-07-24 19:52:50 +00:00
Coroiu Cristina ab4bf91c05 Backed out changeset 8e3ebf0c6b3e (bug 1654984) for xpcshell failures at devtools/server/tests/xpcshell/test_addons_actor.js on a CLOSED TREE 2020-07-24 11:22:07 +03:00
Magnus Melin ecb74cc41b Bug 1654984 - don't output needless error reports about non-existing logins-backup.json. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84783
2020-07-24 07:05:05 +00:00
prathiksha 6eb0db8b4b Bug 1593467 - Automatically restore from logins-backup.json when logins.json is missing or corrupt. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D81502
2020-07-23 06:55:09 +00:00
Zibi Braniecki a278e2d31b Bug 1649028 - Mastercard starting with 542418 detected as Diner's Club. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D84297
2020-07-22 17:06:53 +00:00
Tim Huang 26fd85af70 Bug 1647825 - Part 2: Report the XFO and CSP: frame-ancestors error through the telemetry event. r=ckerschb,chutten,nhnt11
After user ticks the checkbox of allowing error reporting, we will
report the error through the telemetry event. The event includes the
error type, XFO policy, CSP policy, the frame uri and the top-level uri.

Differential Revision: https://phabricator.services.mozilla.com/D82332
2020-07-22 15:12:38 +00:00
Tim Huang 748ddb821d Bug 1647825 - Part 1: Add the UI for enable reporting XFO and CSP:frame-ancestors error. r=ckerschb,nhnt11
This patch adds the UI for allowing users to enable reporting XFO error.
The reporting UI will be displayed in the error page if the error is a
XFO error.

Differential Revision: https://phabricator.services.mozilla.com/D82331
2020-07-22 15:12:38 +00:00
Emilio Cobos Álvarez c21099505b Bug 1654270 - When an ongoing match crosses an anonymous boundary, ignore it instead of forcing the end of the match. r=jfkthame
This restores our previous behavior when matching across anonymous
boundaries, as that's not something we currently can support because DOM
ranges can't represent that.

Differential Revision: https://phabricator.services.mozilla.com/D84397
2020-07-22 15:32:44 +00:00
Dorel Luca 990d081d9f Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione d182c95351 Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 22:19:19 +00:00
Dorel Luca d5bec2cd58 Backed out changeset f91b6b609218 (bug 1654270) for Mochitest failure in chrome/test_bug451540.xhtml. CLOSED TREE 2020-07-21 22:28:09 +03:00
Dorel Luca d91c6dc40b Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Emilio Cobos Álvarez b77f0756a2 Bug 1654270 - When an ongoing match crosses an anonymous boundary, ignore it instead of forcing the end of the match. r=jfkthame
This restores our previous behavior when matching across anonymous
boundaries, as that's not something we currently can support because DOM
ranges can't represent that.

Differential Revision: https://phabricator.services.mozilla.com/D84397
2020-07-21 17:32:39 +00:00
Kris Maglione 4a25531b4a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 16:59:33 +00:00
Nihanth Subramanya b852dc7a5f Bug 1643187 - Update Storage Access API prompt to not declare that the third party is a tracker. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D84248
2020-07-21 11:26:36 +00:00
Jared Wein 648690d7a5 Bug 1649250 - Add experimental features that were introduced in Firefox Nightly 70 and higher. r=jbauman,kvark,jwatt,mayhemer,emilio,masayuki,baku,gl,preferences-reviewers,jdescottes,Pike
Differential Revision: https://phabricator.services.mozilla.com/D81623
2020-07-20 10:05:58 +00:00
Dale Harvey f3c185fd98 Bug 1649881 - Test and fix region lookups against MLS algorithm r=mikedeboer,jwhitlock
Differential Revision: https://phabricator.services.mozilla.com/D83779
2020-07-19 17:13:19 +00:00