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

3157 Коммитов

Автор SHA1 Сообщение Дата
Tim Nguyen cce8333093 Bug 1550559 - Convert findbar XUL textbox to HTML input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D30542

--HG--
extra : moz-landing-system : lando
2019-05-20 21:54:15 +00:00
Bogdan Tara a0b69fc936 Backed out 4 changesets (bug 1510569) for 1419902.html failures CLOSED TREE
Backed out changeset 756519a7cf79 (bug 1510569)
Backed out changeset 39c6818fdb12 (bug 1510569)
Backed out changeset 3d9715a5ecd4 (bug 1510569)
Backed out changeset 418a61f5f87b (bug 1510569)
2019-05-23 01:58:51 +03:00
Barret Rennie 7f9cce7b9a Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-21 21:35:04 +00:00
Barret Rennie f795631269 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

Differential Revision: https://phabricator.services.mozilla.com/D28124

--HG--
extra : moz-landing-system : lando
2019-05-21 21:34:54 +00:00
Michael Kaply 75cc987da6 Bug 1456140 - Remove unnecessary size args for getChildList. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D31631

--HG--
extra : moz-landing-system : lando
2019-05-21 06:20:40 +00:00
Mike de Boer 68fc536019 Bug 1553413 - Update and harden form data filtering for privacy to account for no data being passed in. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D32116

--HG--
extra : moz-landing-system : lando
2019-05-22 09:46:58 +00:00
Christoph Kerschbaumer 30b618ff6e Bug 965637: Move CSP from Principal into Client, part 3: frontend changes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27656

--HG--
extra : moz-landing-system : lando
2019-05-21 23:15:08 +00:00
Noemi Erli cc1f5b44f2 Backed out 4 changesets (bug 1510569) for mass test failures CLOSED TREE
Backed out changeset c5488e2770a6 (bug 1510569)
Backed out changeset df98eef1f640 (bug 1510569)
Backed out changeset db6da7f94a92 (bug 1510569)
Backed out changeset fb696b92c13d (bug 1510569)
2019-05-21 23:41:41 +03:00
Barret Rennie 461c1d28b9 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-21 19:28:52 +00:00
Barret Rennie 68cdb08594 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

Differential Revision: https://phabricator.services.mozilla.com/D28124

--HG--
extra : moz-landing-system : lando
2019-05-21 19:28:39 +00:00
Cosmin Sabou e565aa827a Backed out 4 changesets (bug 1510569) for causing build bustages on nsIDocShell.idl CLOSED TREE
Backed out changeset 57f49df057be (bug 1510569)
Backed out changeset de97a258fcfd (bug 1510569)
Backed out changeset 4b0ed20ab3bc (bug 1510569)
Backed out changeset 1d8ab383d3e9 (bug 1510569)
2019-05-21 20:30:01 +03:00
Barret Rennie 748556eba1 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-21 17:09:14 +00:00
Barret Rennie 3ee6a359f7 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

Differential Revision: https://phabricator.services.mozilla.com/D28124

--HG--
extra : moz-landing-system : lando
2019-05-21 17:08:57 +00:00
Boris Zbarsky bc14bd97eb Bug 1550927. Stop using idl [array] for getting supported controller commands. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D30764

--HG--
extra : moz-landing-system : lando
2019-05-21 17:06:06 +00:00
Brendan Dahl 543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
Brad Werth 98202447aa Bug 1322385 Part 1: Make BrowserUtils.shouldFastFind avoid triggering on iframes. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D28920

--HG--
extra : moz-landing-system : lando
2019-05-16 18:32:29 +00:00
Robert Strong fe70dc7ab6 Bug 1552321 - Use logStringMessage instead of reportError for the 'Unable to read app update configuration file' log message. r=bytesized
There have been several people that thought app update was broken because this message was reported as an error so just use logStringMessage

Differential Revision: https://phabricator.services.mozilla.com/D31524

--HG--
extra : moz-landing-system : lando
2019-05-16 21:45:40 +00:00
Razvan Maries 4e6cdbab2b Backed out changeset 2a9a034e1b6a (bug 1550559) for perma fails on test_bug360437.xul. CLOSED TREE 2019-05-16 15:39:20 +03:00
Tim Nguyen a1da583d89 Bug 1550559 - Convert findbar XUL textbox to HTML input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D30542

--HG--
extra : moz-landing-system : lando
2019-05-16 11:30:37 +00:00
Boris Zbarsky 33f3c7c417 Bug 1550934. Stop using [array] in nsIBrowser. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D30771

--HG--
extra : moz-landing-system : lando
2019-05-15 21:12:44 +00:00
Shane Caraveo 2d81bf721d Bug 1551744 move webnavigation modules to extensions component r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D31167

--HG--
rename : toolkit/modules/addons/MatchURLFilters.jsm => toolkit/components/extensions/MatchURLFilters.jsm
rename : toolkit/modules/addons/WebNavigation.jsm => toolkit/components/extensions/WebNavigation.jsm
rename : toolkit/modules/addons/WebNavigationContent.js => toolkit/components/extensions/WebNavigationContent.js
rename : toolkit/modules/addons/WebNavigationFrames.jsm => toolkit/components/extensions/WebNavigationFrames.jsm
extra : moz-landing-system : lando
2019-05-15 00:17:25 +00:00
Shane Caraveo 5bc2545548 Bug 1551744 move webrequest modules into extension component r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D31168

--HG--
rename : toolkit/modules/tests/browser/dummy_page.html => toolkit/components/extensions/test/xpcshell/data/dummy_page.html
rename : toolkit/modules/tests/browser/file_WebRequest_page2.html => toolkit/components/extensions/test/xpcshell/data/file_WebRequest_page2.html
rename : toolkit/modules/tests/browser/file_image_bad.png => toolkit/components/extensions/test/xpcshell/data/file_image_bad.png
rename : toolkit/modules/tests/browser/file_image_good.png => toolkit/components/extensions/test/xpcshell/data/file_image_good.png
rename : toolkit/modules/tests/browser/file_image_bad.png => toolkit/components/extensions/test/xpcshell/data/file_image_redirect.png
rename : toolkit/modules/tests/browser/file_script_bad.js => toolkit/components/extensions/test/xpcshell/data/file_script_bad.js
rename : toolkit/modules/tests/browser/file_script_good.js => toolkit/components/extensions/test/xpcshell/data/file_script_good.js
rename : toolkit/modules/tests/browser/file_script_redirect.js => toolkit/components/extensions/test/xpcshell/data/file_script_redirect.js
rename : toolkit/modules/tests/browser/file_script_xhr.js => toolkit/components/extensions/test/xpcshell/data/file_script_xhr.js
rename : toolkit/modules/tests/browser/file_style_bad.css => toolkit/components/extensions/test/xpcshell/data/file_style_bad.css
rename : toolkit/modules/tests/browser/file_style_good.css => toolkit/components/extensions/test/xpcshell/data/file_style_good.css
rename : toolkit/modules/tests/browser/file_style_bad.css => toolkit/components/extensions/test/xpcshell/data/file_style_redirect.css
rename : toolkit/modules/tests/browser/browser_WebRequest_ancestors.js => toolkit/components/extensions/test/xpcshell/test_webRequest_ancestors.js
rename : toolkit/modules/tests/browser/browser_WebRequest_cookies.js => toolkit/components/extensions/test/xpcshell/test_webRequest_cookies.js
rename : toolkit/modules/tests/browser/browser_WebRequest_filtering.js => toolkit/components/extensions/test/xpcshell/test_webRequest_filtering.js
rename : toolkit/modules/addons/SecurityInfo.jsm => toolkit/components/extensions/webrequest/SecurityInfo.jsm
rename : toolkit/modules/addons/WebRequest.jsm => toolkit/components/extensions/webrequest/WebRequest.jsm
rename : toolkit/modules/addons/WebRequestCommon.jsm => toolkit/components/extensions/webrequest/WebRequestCommon.jsm
rename : toolkit/modules/addons/WebRequestContent.js => toolkit/components/extensions/webrequest/WebRequestContent.js
rename : toolkit/modules/addons/WebRequestUpload.jsm => toolkit/components/extensions/webrequest/WebRequestUpload.jsm
extra : moz-landing-system : lando
2019-05-15 00:20:40 +00:00
Tim Nguyen c1f5b7a338 Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23045

--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/search-textbox.js
extra : moz-landing-system : lando
2019-05-13 18:12:37 +00:00
Coroiu Cristina cc280c4be9 Backed out changeset c5798de806e2 (bug 1521280) for crashing when searching about:config for upcoming beta (bug 1551013)
--HG--
extra : rebase_source : 8f936159c23d09bf227ce4f5eb6f2d96d33bbff1
2019-05-13 08:50:28 +03:00
Ciure Andrei 4afbff4959 Backed out changeset 58acbc167331 (bug 1550090) for causing various bc perma failures CLOSED TREE 2019-05-11 14:16:06 +03:00
Tim Nguyen ad75d6928d Bug 1550090 - Fix theme active check. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D30396

--HG--
extra : moz-landing-system : lando
2019-05-11 09:32:49 +00:00
Dorel Luca 19a8b960b0 Backed out changeset 905f054bd2c9 (bug 1550090) for Browser-chrome failure on toolkit/mozapps/extensions/test/browser/browser_webapi_theme.js. CLOSED TREE 2019-05-10 20:43:11 +03:00
Tim Nguyen d2bb43bab6 Bug 1550090 - Fix theme active check. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D30396

--HG--
extra : moz-landing-system : lando
2019-05-10 15:28:04 +00:00
Tim Nguyen 1a57aab68e Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23045

--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/search-textbox.js
extra : moz-landing-system : lando
2019-05-10 11:46:49 +00:00
Tim Nguyen 787a0c4d91 Bug 1548769 - Remove WebExtensions icons theming support. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D29802

--HG--
extra : moz-landing-system : lando
2019-05-08 20:28:24 +00:00
Andreea Pavel ecb0fb992d Backed out changeset e8dbcc5c516f (bug 1548769) test_ext_manifest_themes.js on a CLOSED TREE
--HG--
extra : rebase_source : d708e0664844be8ee974347da4bbd92850c74225
2019-05-08 23:10:44 +03:00
Tim Nguyen 97c0372069 Bug 1548769 - Remove WebExtensions icons theming support. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D29802

--HG--
extra : moz-landing-system : lando
2019-05-08 18:31:29 +00:00
Coroiu Cristina 7bb82fa0dc Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-05-06 00:42:50 +03:00
Coroiu Cristina 6f634e87e9 Merge inbound to mozilla-central a=merge on a CLOSED TREE 2019-05-06 00:38:28 +03:00
Andrew Osmond 3a7c78906a Bug 1544105 - Part 2. Add new gfx driver vendor field to telemetry and about:support. r=jrmuizel,chutten,flod data-r=bmiroglio
Expose the driver vendor information (applies to Linux only at this
moment) to crash report telemetry and about:support. This will be useful
when debugging issues to know specifically what driver is in use.

Also expose the monitor information for Linux. Part 1 provides an
implementation to get the monitor information on said platform.

Differential Revision: https://phabricator.services.mozilla.com/D29472
2019-05-03 18:26:06 -04:00
Mihai Alexandru Michis 25a6b02677 Backed out 2 changesets (bug 1544105) for leaks in mda tests and failing browser_Troubleshoot.js CLOSED TREE
Backed out changeset eca7ee42af96 (bug 1544105)
Backed out changeset a8cd879f02ce (bug 1544105)
2019-05-03 23:19:03 +03:00
Andrew Osmond 580726465f Bug 1544105 - Part 2. Add new gfx driver vendor field to telemetry and about:support. r=jrmuizel,chutten,flod data-r=bmiroglio
Expose the driver vendor information (applies to Linux only at this
moment) to crash report telemetry and about:support. This will be useful
when debugging issues to know specifically what driver is in use.

Also expose the monitor information for Linux. Part 1 provides an
implementation to get the monitor information on said platform.

Differential Revision: https://phabricator.services.mozilla.com/D29472
2019-05-03 15:03:28 -04:00
Daniel Varga 2b81f4d301 Backed out 2 changesets (bug 1544105) for build bustages. On a CLOSED TREE
Backed out changeset 215c2693d281 (bug 1544105)
Backed out changeset 16d5af6fd55c (bug 1544105)
2019-05-03 19:12:48 +03:00
Andrew Osmond c27972ceb6 Bug 1544105 - Part 2. Add new gfx driver vendor field to telemetry and about:support. r=jrmuizel,chutten,flod data-r=bmiroglio
Expose the driver vendor information (applies to Linux only at this
moment) to crash report telemetry and about:support. This will be useful
when debugging issues to know specifically what driver is in use.

Also expose the monitor information for Linux. Part 1 provides an
implementation to get the monitor information on said platform.

Differential Revision: https://phabricator.services.mozilla.com/D29472
2019-05-03 11:16:59 -04:00
Ryan VanderMeulen 5b44c6f42f Bug 1548617 - Add FENNEC_NIGHTLY checks to the build config. r=nalexander
Make sure we continue to leave JS un-minified for Nightly builds and add a missing FENNEC_NIGHTLY to AppConstants.jsm which got missed in bug 1547710.

Differential Revision: https://phabricator.services.mozilla.com/D29724

--HG--
extra : moz-landing-system : lando
2019-05-03 20:01:21 +00:00
Nika Layzell 6eb2084136 Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley
This patch introduces a new type of content process, which has a dynamic name.
This type of content process is labeled as `webIsolated=${SITE_ORIGIN}` and is
used within fission-enabled windows.

To enable this, additional information about the fission status of the target
window must be passed into E10SUtils. This was done by updating every call site
manually to pass an extra boolean. A better solution perhaps should be used in
the future.

With this patch enabled, we now perform process switches, but only when
navigating to HTTP URIs. If we navigate to a non-HTTP URI in an iframe with
fission enabled, it will not behave correctly. This must be done in a
follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D29570

--HG--
extra : moz-landing-system : lando
2019-05-03 21:31:57 +00:00
Kris Maglione 154872a672 Bug 1540984: Pre-load theme header image and share across all windows. r=aswan
For large header images, built-in memory caching does not work correctly, and
we wind up seeing a flicker any time a new window is opened or becomes active.
This patch caches the header image in an Image element at startup, and uses
that element as the backing for the header image in all browser windows.

Differential Revision: https://phabricator.services.mozilla.com/D29554

--HG--
extra : source : 6159d01c9341088edcabb318259c8ce6201c61ac
extra : amend_source : c43c543fd142f11b8439a6011a6ffe0f610e1015
2019-05-01 12:43:25 -07:00
Myk Melez bfe7c7e0b4 Bug 1547877 - enable configuration of new cert storage implementation r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29306

--HG--
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez 926c25f9a4 Bug 1547877 - enable configuration of new Notification Store implementation r=mossop,lina
Differential Revision: https://phabricator.services.mozilla.com/D29305

--HG--
rename : dom/notification/NotificationDB.jsm => dom/notification/new/NotificationDB.jsm
rename : dom/notification/NotificationDB.jsm => dom/notification/old/NotificationDB.jsm
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez 1b3f6d1faf Bug 1547877 - enable configuration of new XULStore implementation r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D29304

--HG--
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/new/XULStore.jsm
extra : moz-landing-system : lando
2019-05-02 23:01:57 +00:00
Shane Caraveo 5f24a04aa2 Bug 1548177 support incognito flag in request filtering r=kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D29446

--HG--
extra : moz-landing-system : lando
2019-05-02 16:23:03 +00:00
Mike Conley b6719b756f Bug 1545296 - Suppress mouse button events firing in content when clicking on the Picture-in-Picture toggle. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D29422

--HG--
extra : moz-landing-system : lando
2019-05-02 17:51:30 +00:00
Bogdan Tara 86cbef62d0 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html failures CLOSED TREE
Backed out changeset 13c5249d66a7 (bug 1510569)
Backed out changeset a6ad4039d785 (bug 1510569)
2019-05-02 21:30:20 +03:00
Barret Rennie b32c02517c Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-02 16:20:34 +00:00
Barret Rennie 5474c1f3df Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

Differential Revision: https://phabricator.services.mozilla.com/D28124

--HG--
extra : moz-landing-system : lando
2019-05-02 17:00:51 +00:00
Mike Conley b64aa8e87a Bug 1533955 - Move the current message manager actors to a legacy list, and create a new list of JS Window Actors. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D29237

--HG--
extra : moz-landing-system : lando
2019-05-01 20:05:06 +00:00
Daniel Varga 5e20c14b02 Backed out 2 changesets (bug 1322385) for mochitest failure at: toolkit/content/tests/chrome/test_findbar_entireword.xul
Backed out changeset 31a0bd977b2f (bug 1322385)
Backed out changeset feef45c56170 (bug 1322385)
2019-04-30 22:10:33 +03:00
Brad Werth 0f6c940095 Bug 1322385 Part 1: Make BrowserUtils.shouldFastFind avoid triggering on iframes. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D28920

--HG--
extra : moz-landing-system : lando
2019-04-30 17:21:09 +00:00
Geoff Lankow db8a35c1de Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309

--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 16:01:06 +00:00
Gurzau Raul f1e0f0ddf1 Backed out changeset 28b3bd8e5018 (bug 1482809) for using the wrong author.
--HG--
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.js => browser/components/enterprisepolicies/EnterprisePolicies.js
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.manifest => browser/components/enterprisepolicies/EnterprisePolicies.manifest
rename : toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js => browser/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : toolkit/components/enterprisepolicies/WindowsGPOParser.jsm => browser/components/enterprisepolicies/WindowsGPOParser.jsm
rename : toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm => browser/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json => browser/components/enterprisepolicies/tests/browser/config_broken_json.json
2019-04-30 18:54:43 +03:00
Magnus Melin a032a45a18 Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309

--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 15:38:22 +00:00
Jan-Erik Rediger 986844dc72 Bug 1545391 - Move ClientID.jsm into Telemetry component r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D29206

--HG--
rename : toolkit/modules/ClientID.jsm => toolkit/components/telemetry/app/ClientID.jsm
rename : toolkit/modules/tests/xpcshell/test_client_id.js => toolkit/components/telemetry/tests/unit/test_client_id.js
extra : moz-landing-system : lando
2019-04-29 15:39:35 +00:00
Shane Caraveo 0873aa1a01 Bug 1545163 add incognito flag to proxy and webrequest details r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D28925

--HG--
extra : moz-landing-system : lando
2019-04-29 18:00:12 +00:00
Andrea Marchesini 2f3e6d3c75 Bug 1534712 - Expose mozIIPCBlobInputStream for WebRequestUpload, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D28984

--HG--
extra : moz-landing-system : lando
2019-04-26 17:53:27 +00:00
Andrew Swan 1050d8b4ea Bug 1547045 Update bug component for IndexedDB.jsm r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D28886

--HG--
extra : moz-landing-system : lando
2019-04-25 18:05:36 +00:00
Brindusan Cristian f92b05e5f0 Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Mike de Boer 775fbffcb9 Bug 1518551 - Remove the 'MOZ_TOOLKIT_SEARCH' build config constant, because it's unused; we always enable the search service. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D27702

--HG--
extra : moz-landing-system : lando
2019-04-24 08:52:32 +00:00
Ryan Hunt 3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

Differential Revision: https://phabricator.services.mozilla.com/D28132

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Myk Melez e2338641e4 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-22 02:59:51 +00:00
Robert Helmer c14766668b Bug 1515712 - provide OMNIJAR_NAME constant for browser r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15243

--HG--
extra : moz-landing-system : lando
2019-04-20 05:09:31 +00:00
Brindusan Cristian 53ae3683c8 Backed out 3 changesets (bug 1515712) for build bustages at 'cpp_guard'.
Backed out changeset 3e46d5fddd21 (bug 1515712)
Backed out changeset acb99631797a (bug 1515712)
Backed out changeset a2d24fd1fd67 (bug 1515712)
2019-04-20 05:44:41 +03:00
Robert Helmer c88c593eab Bug 1515712 - provide OMNIJAR_NAME constant for browser r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15243

--HG--
extra : moz-landing-system : lando
2019-04-19 22:53:53 +00:00
Coroiu Cristina 5f4315f3ee Backed out changeset 37054e6d6bbb (bug 1460811) for marionette failures at marionette_harness/tests/unit/test_cli_arguments.py on a CLOSED TREE 2019-04-20 00:05:55 +03:00
Myk Melez 2eece48676 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-19 17:42:48 +00:00
Razvan Maries 1f6c35708a Backed out changeset 2f8f0e53a7db (bug 1460811) for leakcheck perma failures. CLOSED TREE 2019-04-19 00:16:32 +03:00
Johann Hofmann 9f4df3d402 Bug 1536454 - Part 3 - Make POPUP_NOTIFICATION_STATS probe collect data on notification removal instead of dismissal. r=MattN
Almost none of the prompts that we are currently showing still get dismissed, which messes up our
measurements in this probe. Most of them are persistent now, which means that we should record when
they get removed instead of dismissed to receive meaningful data. This patch does that.

Differential Revision: https://phabricator.services.mozilla.com/D26944

--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:18 +00:00
Myk Melez f61d3b4399 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-18 19:27:12 +00:00
Rob Wu 1af4c55c01 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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Ian Moody 56d2ed1a23 Bug 1544284 - toolkit/ manual ESLint no-throw-literal fixes. r=Standard8
Includes an otherwise-automated change to test_jsctypes.js that required an
expectation change in test_ctypes.xul.

Differential Revision: https://phabricator.services.mozilla.com/D27449

--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Ian Moody 57b82dd9be Bug 1544284 - toolkit/ automated ESLint no-throw-literal fixes. r=Standard8
Result of running:
$ mach eslint -funix toolkit/ | 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

...and then reverting a couple of places where comments were touched,
as well as changes to toolkit/components/ctypes/tests/unit/test_jsctypes.js
that required expectation changes to
toolkit/components/ctypes/tests/chrome/test_ctypes.xul

Differential Revision: https://phabricator.services.mozilla.com/D27448

--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

Differential Revision: https://phabricator.services.mozilla.com/D27458

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

Differential Revision: https://phabricator.services.mozilla.com/D26812

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Felipe Gomes 8b53b905aa Bug 1542760 - Correctly report the GPU process in about:support. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D26526

--HG--
extra : moz-landing-system : lando
2019-04-08 14:46:59 +00:00
Felipe Gomes 0991a67ee9 Bug 1505322 - Display a breakdown of remote processes in about:support. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D26015

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:47 +00:00
Mike Conley c4e69ae516 Bug 1535354 - Add a toggle to trigger Picture-in-Picture that appears over top of <video> elements. Disabled by default. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D25658

--HG--
extra : moz-landing-system : lando
2019-04-05 15:51:58 +00:00
meandave e1d5a28c30 Bug 1532773 - Add player controls for PictureInPicture. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25435

--HG--
extra : moz-landing-system : lando
2019-04-04 19:04:47 +00:00
Mike de Boer 5dedb6076d Bug 1541829 - Fixup the relative luminance implementation in the Color class and update its consumers with the correct API. r=jaws
Since we rarely touch this code, I took the liberty of changing this to a JS class
and fix the contrast ratio calculations to actually conform to the WCAG spec,
instead of using arbitrary constants.
I changed the `isBright` getter to `useBrightText`, because that is more apt;
we're usually looking for an answer to 'should I use white text on this background?',
instead of looking for an arbitrary threshold to classify a color as being bright.
I updated the tests to cover more of this and clarified the assertion messages as
well.

Differential Revision: https://phabricator.services.mozilla.com/D26097

--HG--
extra : moz-landing-system : lando
2019-04-04 16:36:17 +00:00
Barret Rennie 9bbc7930d4 Bug 1510569 - Port onRefreshAttempted from WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25650

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:56 +00:00
Barret Rennie 163ec0ba8b Bug 1510569 - Port onProgressChange notifications inside WebProgressChild.jsm to C++ r=baku
We do not need to handle onProgressChange64 notifications since the TabChild's
web progress events are filtered through an nsBrowserStatusFilter, which
truncates onProgresChange64 event values to 32-bit integers and then calls
onProgressChange.

Differential Revision: https://phabricator.services.mozilla.com/D25649

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:41 +00:00
Barret Rennie 9c76d87929 Bug 1510569 - Port onStatusChange notifications inside WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25446

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:54 +00:00
Barret Rennie 779f6e3bbf Bug 1510569 - Reconstruct nsIWebProgress and nsIRequest for onContentBlockingEvent in TabParent r=Ehsan
Now that we have access to the RemoteWebProgress from the TabParent and can
construct RemoteWebProgress and RemoteWebProgressRequests in C++, we can
reconstruct the RemoteWebProgress and RemoteWebProgressRequest in the TabParent
instead of RemoteWebProgressManager. This improves the API for nsIBrowser and
RemoteWebProgressManager, removing the need for the
`callWebProgressContentBlockingEventListeners` method in both. It also means we
won't need to implement `callWebProgress*Listeners` for methods on nsIBrowser
and RemoteWebProgressManager for all other nsIWebProgress events.

Differential Revision: https://phabricator.services.mozilla.com/D24942

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:41 +00:00
Barret Rennie d4a4ddb2fc Bug 1510569 - Implement nsIWebProgressListener for RemoteWebProgressManager r=Ehsan
The RemoteWebProgressManager is now implemented in terms of a
nsIWebProgressListener. This paves the way for reconstructing the
nsIWebProgress and nsIRequest passed to the event handlers in C++ instead of in
JS and will alllow for a cleaner overall design.

While here, I also cleaned up RemoteWebProgressManager to use the class
syntactic sugar.

Differential Revision: https://phabricator.services.mozilla.com/D24941

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:27 +00:00
Barret Rennie 2217e5192a Bug 1510569 - Reimplement RemoteWebProgressRequest as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24940

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:07 +00:00
Barret Rennie 611cae7854 Bug 1510569 - Reimplement RemoteWebProgress as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24811

--HG--
extra : moz-landing-system : lando
2019-04-03 17:30:40 +00:00
Andreea Pavel 99b0952b07 Backed out changeset 8fa27903feba (bug 1532773) for failing bc at browser_showMessage.js on a CLOSED TREE 2019-04-03 21:46:18 +03:00
meandave 70cf4e4c3c Bug 1532773 - Add player controls for PictureInPicture. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25435

--HG--
extra : moz-landing-system : lando
2019-04-03 15:10:16 +00:00
Sebastian Hengst 310add77cf Bug 1541388 - Remove Array generics from NewTabUtils.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25922

--HG--
extra : moz-landing-system : lando
2019-04-03 12:12:34 +00:00
Tim Nguyen 534acf7076 Bug 1482870 - Make current theme experiment initialize in new windows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25525

--HG--
extra : moz-landing-system : lando
2019-04-02 21:45:54 +00:00
Eden Chuang 72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Kris Maglione fc69d06420 Bug 1525762: Part 7 - Remove defunct LightweightThemeOptimizer. r=aswan
It only works with "persisted" theme images, which no longer exist.

Differential Revision: https://phabricator.services.mozilla.com/D25451

--HG--
extra : rebase_source : 8d32e4ceb48ec8bde68e8b42dcf4e2f11c9d60fd
extra : histedit_source : 0bcbae928b6e1517eace567d1e00afc60321ea3c
2019-03-29 11:37:08 -07:00
Kris Maglione 1328b01d50 Bug 1525762: Part 6 - Stop dispatching theme change observers using JSON strings. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24795

--HG--
extra : rebase_source : 67c14ffc0cc46c041617ae04d39107dd66949f88
extra : histedit_source : 51973c82f0014767c2ae947a00cdb7afe9478c35
2019-03-25 13:52:01 -07:00
Kris Maglione 88035afb21 Bug 1525762: Part 4 - Support automatic dark mode fallback for default theme again. r=aswan
--HG--
extra : rebase_source : 1591ab6670e301e78d98084c852cb72e74ff7504
extra : histedit_source : ec392d6f1b93993bceed5e4bbf3d394b02342794
2019-02-08 15:36:04 -08:00
Liang-Heng Chen 624de11cb1 Bug 1492587 - spoof date picker to en-US when pref is set; r=zbraniecki,baku
spoof locale on datepicker to English when privacy.spoof_english == 2

Differential Revision: https://phabricator.services.mozilla.com/D19148

--HG--
extra : moz-landing-system : lando
2019-03-29 10:49:58 +00:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Christoph Kerschbaumer 64005a8818 Bug 1524970: Update more frontend code to explicitly pass a csp. r=Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24959

--HG--
extra : moz-landing-system : lando
2019-03-27 16:38:01 +00:00
Matthew Noorenberghe edd6809d0c Bug 1533925 - Allow about: pages to be forced into the extension process. r=kmag
Some extensions want to implement about: pages and we want those pages to be loaded in the extension process, not in the web content process, so that:
1) a compromised web process won't get access to the about: page content
2) the extension page can use all the APIs that extension pages normally get, instead of only content script APIs.

Post-Fission we will need to know which extension process to choose.

Differential Revision: https://phabricator.services.mozilla.com/D24989

--HG--
extra : moz-landing-system : lando
2019-03-27 04:07:15 +00:00
Cosmin Sabou 78fc71e3c3 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
Eden Chuang 5e4df764d9 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
monmanuela 7a0cbca8ca Bug 1497842 - Remove INSTALL_LOCALE from APP_CONSTANTS r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24662

--HG--
extra : moz-landing-system : lando
2019-03-26 13:03:56 +00:00
Mark Banner ce267bd0ae Bug 1538771 - Move trimURL to BrowserUtils.jsm so it can be more easily accessed in non-window contexts. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24761

--HG--
extra : moz-landing-system : lando
2019-03-26 09:15:50 +00:00
Rob Wu 461cd1ccfe Bug 1532530 - Avoid loss of upload data by webRequest API r=kmag
When an extension requests access to the request body of a request,
`nsConverterInputStream` is used to parse the input streams that make up
a request body. These input streams are later (re)used to upload the
form data to the original destination (server).

`nsConverterInputStream`'s destructor does however close the input
streams, which results in data loss when the object is garbage-collected
before the upload completes.

This patch fixes the issue by explicitly nulling the underlying stream
before returning from the form parser.

Differential Revision: https://phabricator.services.mozilla.com/D24539

--HG--
extra : moz-landing-system : lando
2019-03-25 21:16:49 +00:00
Lina Cambridge 3e894ac30e Bug 1482608 - Add basic Rust bindings for mozStorage. r=nika,asuth,mak
This commit wraps just enough of the mozStorage API to support the
bookmarks mirror. It's not complete: for example, there's no way
to open, clone, or close a connection, because the mirror handles
that from JS. The wrapper also omits shutdown blocking and retrying on
`SQLITE_BUSY`.

This commit also changes the behavior of sync and async mozStorage
connections. Async (`mozIStorageAsyncConnection`) methods may be called
from any thread on any connection. Sync (`mozIStorageConnection`)
methods may be called from any thread on a sync connection, and from
background threads on an async connection. All connections now QI
to `mozIStorageConnection`, but attempting to call a sync method on
an async connection from the main thread throws.

Finally, this commit exposes an `OpenedConnection::unsafeRawConnection`
getter in Sqlite.jsm, for JS code to access the underlying connection.

Differential Revision: https://phabricator.services.mozilla.com/D20073

--HG--
extra : moz-landing-system : lando
2019-03-25 04:49:18 +00:00
sakshaat d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

Differential Revision: https://phabricator.services.mozilla.com/D22532

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Gijs Kruitbosch 8e02fa26bc Bug 1519241 - remove nightly-only low-end device detection, r=kats,chutten,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D24345

--HG--
extra : moz-landing-system : lando
2019-03-22 08:44:18 +00:00
Adam Gashlin 6c695331c4 Bug 1523417 - BITS client library for update downloading r=aklotz,emilio,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17989

--HG--
extra : moz-landing-system : lando
2019-03-21 22:43:41 +00:00
Mike Conley 2c8a12e078 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:17 +00:00
Mark Banner da3d75151a Bug 1530675 - Enable WebNavigation transistion notifications for WebExtensions with QuantumBar. r=mak,rpl
Differential Revision: https://phabricator.services.mozilla.com/D21218

--HG--
extra : moz-landing-system : lando
2019-03-20 20:22:35 +00:00
Emilio Cobos Álvarez cdd51a7d35 Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws
Otherwise you see font changes when hovering, which is not really desirable.

Differential Revision: https://phabricator.services.mozilla.com/D24116

--HG--
extra : moz-landing-system : lando
2019-03-21 02:28:24 +00:00
Brindusan Cristian 327ca02963 Backed out 2 changesets (bug 1535760, bug 1535748) for ESlint failure at browser_contextMenu.js:66:11. CLOSED TREE
Backed out changeset 8ab3c856b9c2 (bug 1535748)
Backed out changeset a9a01b1c9e3a (bug 1535760)
2019-03-21 04:35:52 +02:00
Mike Conley 47e70b9c38 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:15 +00:00
Brindusan Cristian 62141262e0 Backed out changeset de836d015f32 (bug 1536264) for bc failures at browser_selectpopup_colors.js. CLOSED TREE
--HG--
extra : histedit_source : 572060c8c60b3a71548f85c2d5ffab1d480099a3
2019-03-21 02:29:59 +02:00
Emilio Cobos Álvarez 95bceb7380 Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws
Otherwise you see font changes when hovering, which is not really desirable.

Differential Revision: https://phabricator.services.mozilla.com/D24116

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:40 +00:00
Thomas Wisniewski 8518ed6826 Bug 1454325 - update XHR upload content-type handling to match the spec. r=baku
update XHR upload content-type handling to match the spec

Differential Revision: https://phabricator.services.mozilla.com/D23251

--HG--
extra : moz-landing-system : lando
2019-03-19 19:34:39 +00:00
Alex Gaynor 177fb00eba Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D22975

--HG--
extra : moz-landing-system : lando
2019-03-18 22:31:59 +00:00
Mike Conley fc71adb962 Bug 1535444 - Update MozTogglePictureInPicture actor definition. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D23579

--HG--
extra : moz-landing-system : lando
2019-03-14 20:51:02 +00:00
Johann Hofmann 6b5b6ed403 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 23:36:54 +00:00
Gurzau Raul c747f02899 Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Johann Hofmann 1235c91131 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 21:04:02 +00:00
Mark Striemer 020a5bff50 Bug 1520068 - Handle more system shortcuts in add-on shortcuts ui r=dao
This centralizes the checks for system shortcuts into ShortcutUtils.jsm, so
they can be checked for in the add-on shortcut assignment UI. It also
introduces a mechanism for skipping the system event handler if it is already
being handled by the shortcuts UI.

Differential Revision: https://phabricator.services.mozilla.com/D17586

--HG--
extra : moz-landing-system : lando
2019-03-08 18:32:20 +00:00
Sylvestre Ledru 5604250942 Bug 1531176 - about:support: also support the split of the key r=florian,flod
Differential Revision: https://phabricator.services.mozilla.com/D22676

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:42 +00:00
Sylvestre Ledru e34acc8d48 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:41 +00:00
Brindusan Cristian 202a874eff Backed out changeset e908fbc7b930 (bug 1531176) for bc failures at browser_Troubleshoot.js. CLOSED TREE
--HG--
extra : histedit_source : 0f5e92b90439bfb55d617fc234deb4b6f68e654b
2019-03-08 00:07:56 +02:00
Sylvestre Ledru e4906acdf0 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 21:05:32 +00:00
Felipe Gomes 75e1e2c7fb Bug 1533467 - Rename the browser.fission.simulate pref. r=mconley
This renames the pref to the pattern chosen for all of the Fission work, and also breaks
down the pref into two separate ones to have a more fine-grained control of the simulation.

Differential Revision: https://phabricator.services.mozilla.com/D22579

--HG--
extra : moz-landing-system : lando
2019-03-07 21:00:11 +00:00
Ciure Andrei f18158766f Backed out changeset 3fb6c01dd2b0 (bug 1531176) for causing gradle toolchain bustage CLOSED TREE 2019-03-07 14:23:03 +02:00
Sylvestre Ledru 3efed81946 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 12:04:53 +00:00
Ciure Andrei f1a9fa2676 Backed out changeset 0f2b9b0bf9b9 (bug 1531176) for google-geolocation-api-keyfile build bustages CLOSED TREE 2019-03-07 13:58:33 +02:00
Sylvestre Ledru 90181c47ae Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 11:31:18 +00:00
Ciure Andrei 06cf4b1f67 Backed out changeset 6c2e00bcd2bb (bug 1531176) due to google-location-api-keyfile build busatges CLOSED TREE 2019-03-07 10:49:26 +02:00
Sylvestre Ledru 03ac617a44 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-06 23:06:10 +00:00
Felipe Gomes 35c2dfb0ee Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-04 18:53:14 +00:00
Brad Werth 36f13c24fe Bug 1490974 Part 3: Add a test that invisible text and text in option tags doesn't generate a find result. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D10632

--HG--
extra : moz-landing-system : lando
2019-03-05 20:19:51 +00:00
Cosmin Sabou a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Razvan Maries c51046f730 Merge mozilla-inbound to mozilla-central a=merge 2019-03-02 11:41:18 +02:00
Felipe Gomes 81059534d3 Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-01 21:07:11 +00:00
Alphan Chen 6d33e62c06 Bug 1497147 - Rewrite "mapFrameTree" implementation to C++ r=peterv
Get rid of mapFrameTree() implementation

Differential Revision: https://phabricator.services.mozilla.com/D17149

--HG--
extra : moz-landing-system : lando
2019-02-28 13:09:54 +00:00
Cosmin Sabou 48fed2590e Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 7b6922917d1ee0d20fd7127648e1fe5e422a1bd9
2019-02-28 16:33:22 +02:00
Cosmin Sabou 00f3836a87 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
Tarek Ziadé f79af75337 Bug 1530642 - Added more doc on ProcType and GetProcInfo - r=jesup
Added more docs for type synchronization, and about GetProcInfo

Differential Revision: https://phabricator.services.mozilla.com/D21205

--HG--
extra : moz-landing-system : lando
2019-02-28 06:30:05 +00:00
Marco Bonardo 5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +00:00
Emilio Cobos Álvarez 01da9f212e Bug 1375476 - Support font-style / font-weight and font-size on <option> elements. r=mconley
And cleanup / make the code a bit more generic while at it.

Differential Revision: https://phabricator.services.mozilla.com/D20463

--HG--
extra : moz-landing-system : lando
2019-02-28 01:44:52 +00:00
Boris Zbarsky 9c5da5f234 Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D17327

--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Jonathan Kingston f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston dd4c731d8c Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20771

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:54 +00:00
Chris Pearce f4dc9b5b3d Bug 1527811 - Hide OpenH264 by default on Windows on ARM. r=dminor,r=Gijs
We don't have an aarch64 build of OpenH264 yet, and WebRTC on aarch64 is
blocked by DirectShow support from MS, so just hide OpenH264 from the addons
manager UI for now.

We achieve this by moving the isEME() check in GMPUtils.isPluginHidden() down
to after the isPluginSupported()||isPluginVisible() check, so we can use
the media.gmp-gmpopenh264.visible pref to hide OpenH264 in the addons
manager.

When we are ready to enable WebRTC, we can flip the pref.

Differential Revision: https://phabricator.services.mozilla.com/D19903

--HG--
extra : source : 2788a3e0544a3acba9de53165605496d8c357441
extra : intermediate-source : 35bdf7e8994c939d6fcd01e95c2183bacd5b11d3
extra : histedit_source : a8bdb3a1cb6bfd7c72dbbf1fae36c863e6fe5144
2019-02-15 13:25:38 +13:00
Dão Gottwald 6647cfd5ce Bug 1529897 - fix typo 2019-02-26 16:37:29 +01:00
Dão Gottwald 7b197caf8c Bug 1529897 - Don't switch to the Dark theme when GTK theme is dark. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20982

--HG--
extra : moz-landing-system : lando
2019-02-25 10:02:50 +00:00
Dorel Luca f80c9cfdae Merge mozilla-inbound to mozilla-central. a=merge 2019-02-25 03:43:20 +02:00
ui.manish 33fd585ed0 Bug 1479335 - Remove permissions close button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D16264

--HG--
extra : moz-landing-system : lando
2019-02-24 20:33:33 +00:00
Magnus Melin 57f67c6f38 Bug 1370859 - for <input type="date"> respect intl.regional_prefs.use_os_locales when selecting "First day of week". r=gandalf
When intl.regional_prefs.use_os_locales is set to true, the date picker should use the firstDayOfWeek of the preferred os locale, not the app locale.
2019-02-24 13:50:26 +02:00
Razvan Maries 7a5c7bab52 Backed out changeset 8c7ac177290e (bug 1479335) for ES Lint fialure. CLOSED TREE 2019-02-24 12:17:38 +02:00
ui.manish 4d1af398d9 Bug 1479335 - Remove permissions close button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D16264

--HG--
extra : moz-landing-system : lando
2019-02-24 09:58:15 +00:00
Narcis Beleuzu 42bafc21a1 Backed out changeset b94501076533 (bug 1479335) for firefox-ui-functional failures on test_notifications.py 2019-02-24 04:13:17 +02:00
ui.manish 5c91d29d6a Bug 1479335 - Remove permissions close button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D16264

--HG--
extra : moz-landing-system : lando
2019-02-24 00:17:40 +00:00
Razvan Maries d7a2f49ed8 Merge mozilla-inbound to mozilla-central a=merge 2019-02-23 06:15:14 +02:00
Matthew Noorenberghe 1a6f208b97 Bug 1474143 - Switch earlyformsubmit webNavigation observers to DOMFormBeforeSubmit listeners. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16657

--HG--
extra : moz-landing-system : lando
2019-02-23 00:26:05 +00:00
Matthew Noorenberghe f325e844bc Bug 1474143 - Switch earlyformsubmit satchel observer to DOMFormBeforeSubmit listener. r=Felipe
Extend ActorChild for satchel's formSubmitListener in order to listen to the event.

Differential Revision: https://phabricator.services.mozilla.com/D16655

--HG--
rename : toolkit/components/satchel/formSubmitListener.js => toolkit/components/satchel/FormSubmitChild.jsm
extra : moz-landing-system : lando
2019-02-23 00:24:52 +00:00
Felipe Gomes 7a46320899 Bug 1530019 - Check if actor.cleanup() exists before trying to call it. r=mconley 2019-02-22 19:28:00 -03:00
Ciure Andrei f7412ac1f2 Backed out 10 changesets (bug 1474143) for perma failing browser_markup_events_01.js CLOSED TREE
Backed out changeset 1b5d04866585 (bug 1474143)
Backed out changeset 78bfb4dd1f6a (bug 1474143)
Backed out changeset 85ec4f1f5f60 (bug 1474143)
Backed out changeset 5c112b77e489 (bug 1474143)
Backed out changeset 5d35599598bb (bug 1474143)
Backed out changeset 9fd0d7a7946f (bug 1474143)
Backed out changeset 1a83be7a75ca (bug 1474143)
Backed out changeset 2fc9b13171d0 (bug 1474143)
Backed out changeset 3983d7b6d9ad (bug 1474143)
Backed out changeset 9fe55dd58cd8 (bug 1474143)

--HG--
rename : browser/actors/FormValidationChild.jsm => browser/actors/FormSubmitChild.jsm
rename : toolkit/components/satchel/FormSubmitChild.jsm => toolkit/components/satchel/formSubmitListener.js
2019-02-22 21:16:49 +02:00
Matthew Noorenberghe bb994485b2 Bug 1474143 - Switch earlyformsubmit webNavigation observers to DOMFormBeforeSubmit listeners. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16657

--HG--
extra : moz-landing-system : lando
2019-02-22 15:13:59 +00:00
Matthew Noorenberghe 8fcd71b197 Bug 1474143 - Switch earlyformsubmit satchel observer to DOMFormBeforeSubmit listener. r=Felipe
Extend ActorChild for satchel's formSubmitListener in order to listen to the event.

Differential Revision: https://phabricator.services.mozilla.com/D16655

--HG--
rename : toolkit/components/satchel/formSubmitListener.js => toolkit/components/satchel/FormSubmitChild.jsm
extra : moz-landing-system : lando
2019-02-22 15:13:25 +00:00
Felipe Gomes de03f8191a Bug 1351078 - Remove unused Battery.jsm. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20756

--HG--
extra : moz-landing-system : lando
2019-02-22 16:51:26 +00:00
Dorel Luca 95e0086f6f Backed out changeset 3607e50ad27a (bug 1351078) for build bustage. CLOSED TREE 2019-02-22 18:35:24 +02:00
Felipe Gomes 29b4521b7a Bug 1351078 - Remove unused Battery.jsm. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20756

--HG--
extra : moz-landing-system : lando
2019-02-22 12:52:27 +00:00
Christoph Kerschbaumer 8124d3a763 Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs 2019-02-22 09:19:26 +01:00
Chris Pearce e2de194bbf Bug 1527811 - Ensure we write the ABI of the GMP we expect to have installed. r=Gijs
We write the ABI of the plugin we installed to preferences so that if the ABI
stored in the profile of a previously installed plugin differs to the ABI of
the Firefox build we're runnning, we can uninstall the plugin and re-install
one with the correct ABI.

Since we're downloading a plugin of a different ABI than the parent process,
we need to modify the ABI written to preferences here.

This mechanism was added to handle Firefox profiles transitioning from running
in an x86 Firefox to an x64 Firefox on Windows. We can use the same mechanism
to handle transitioning from an x86 to aarch64 Widevine here.

When we eventually get an aarch64 version of Widevine, we can
rollback this changeset, and the ABI mismatch will be detected, and we'll
uninstall the x86 CDM, and download the new aarch64 CDM.

Differential Revision: https://phabricator.services.mozilla.com/D19901

--HG--
extra : source : b5f5996f7225be2ae56d38f7f8833ca200743acb
extra : histedit_source : d831a00887ab8932fd001a511b0559a76fa832b7
2019-02-12 15:56:08 +13:00
Chris Pearce 1e5ea6dc26 Bug 1527811 - Add GMPUtils._isWindowsOnARM64(). r=Gijs
Allows subsequent patches to special case behavior when running on
Windows on ARM64.

Differential Revision: https://phabricator.services.mozilla.com/D19899

--HG--
extra : source : 44e24c6d7a695e2a8ab5d1c2451f1fbf4d5d996f
extra : intermediate-source : 67cc92a41638ec58b5c54e871b0e5eede698c92e
extra : histedit_source : b2cca3608baf5b49228741877d4e5b5c4e3fa575
2019-02-15 10:46:23 +13:00
Felipe Gomes 03d5c1ef09 Bug 1489780 - Avoid unnecessary clean-up on ActorChild. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18150

--HG--
extra : moz-landing-system : lando
2019-02-21 20:40:38 +00:00
Felipe Gomes 6380398088 Bug 1520075 - Store the window reference on the child actors as a weak reference. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D19850

--HG--
extra : moz-landing-system : lando
2019-02-21 17:58:33 +00:00
Jonathan Kingston cf5ea59a1e Bug 1521878 - Have fallback consistency for (de)serialization of principals. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D17271

--HG--
extra : moz-landing-system : lando
2019-02-21 18:12:35 +00:00
Dão Gottwald 793e87d4d8 Bug 1504766 - Let explicit Dark and Light themes ignore the Windows 10 setting for accent color in title bars. r=ntim,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19764

--HG--
extra : moz-landing-system : lando
2019-02-20 07:20:52 +00:00
Csoregi Natalia 8cbfee3cf7 Backed out changeset db927eedd355 (bug 1504766) for multiple failures e.g browser_ext_management_themes.js. CLOSED TREE 2019-02-20 08:55:36 +02:00
Dão Gottwald 626799efc8 Bug 1504766 - Let explicit Dark and Light themes ignore the Windows 10 setting for accent color in title bars. r=ntim,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19764

--HG--
extra : moz-landing-system : lando
2019-02-20 05:36:40 +00:00
Jonathan Kingston cf14643de4 Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17261

--HG--
extra : moz-landing-system : lando
2019-02-19 02:34:09 +00:00
Valentin Gosu a5cc5b2a87 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

Differential Revision: https://phabricator.services.mozilla.com/D19000

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 22:02:47 +00:00
Nika Layzell 848283beff Bug 1522637 - Part 7: Perform the preloaded document swap before checking for HTTP loads, r=mconley
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.

This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.

Depends on D19691

Differential Revision: https://phabricator.services.mozilla.com/D19692

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:20 +00:00
Nika Layzell 947aaf1432 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:11 +00:00
Razvan Maries d93d94cbc9 Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00
Nika Layzell de50cd0883 Bug 1522637 - Part 8: Perform the preloaded document swap before checking for HTTP loads, r=mconley
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.

This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.

Depends on D19691

Differential Revision: https://phabricator.services.mozilla.com/D19692

--HG--
extra : source : f7ab0e6e739bd54b66b8aaa6219c7dba78f37eb1
2019-02-14 15:14:10 +00:00
Nika Layzell 6ded246a08 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : source : 6b4d010964ec9e2175e7ba02991d083fab128c49
2019-02-14 15:36:02 +00:00
Bogdan Tara c732fccb1e Backed out 8 changesets (bug 1522637) for browser_all_files_referenced.js failures CLOSED TREE
Backed out changeset f7ab0e6e739b (bug 1522637)
Backed out changeset 3d24e8e81c02 (bug 1522637)
Backed out changeset 41ca0b87537e (bug 1522637)
Backed out changeset 6e0d4b6b1c93 (bug 1522637)
Backed out changeset 8f494271ec06 (bug 1522637)
Backed out changeset 6b4d010964ec (bug 1522637)
Backed out changeset 5eeda2ba8e79 (bug 1522637)
Backed out changeset 5988b8e7d17c (bug 1522637)
2019-02-14 19:20:58 +02:00
Nika Layzell ffb42b3322 Bug 1522637 - Part 8: Perform the preloaded document swap before checking for HTTP loads, r=mconley
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.

This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.

Depends on D19691

Differential Revision: https://phabricator.services.mozilla.com/D19692

--HG--
extra : moz-landing-system : lando
2019-02-14 15:14:10 +00:00
Nika Layzell 438cbbeca1 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : moz-landing-system : lando
2019-02-14 15:36:02 +00:00
Thomas Nguyen 85ce5ab061 Bug 1517703 - Part 2 - Use ReferrerInfo in loadURIOptions from js r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17922

--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:24 +00:00
Dorel Luca 313155b999 Backed out 4 changesets (bug 1521808) for build bustage. CLOSED TREE
Backed out changeset 80aeea5f7abe (bug 1521808)
Backed out changeset c8c151d92c03 (bug 1521808)
Backed out changeset cc0a5c7dabb4 (bug 1521808)
Backed out changeset 8d5174a560fa (bug 1521808)
2019-02-12 14:54:45 +02:00
Valentin Gosu 005dcbada4 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

Differential Revision: https://phabricator.services.mozilla.com/D19000

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-12 12:16:58 +00:00
Bogdan Tara 0908d27514 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-12 07:27:04 +02:00
Mike Conley 52278792ca Bug 1520329 - Add messaging infrastructure for opening videos in a Picture in Picture window. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16903

--HG--
extra : moz-landing-system : lando
2019-02-12 02:34:38 +00:00
Marco Bonardo 12675bb16f Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-09 13:29:21 +00:00
shindli 6b820cdfea Backed out 6 changesets (bug 1522637) for en-US failures in testing/firefox-ui/tests/functional/safebrowsing/test_notification.py TestSafeBrowsingNotificationBar.test_notification_bar CLOSED TREE
Backed out changeset 18a809d53298 (bug 1522637)
Backed out changeset 9e9fd362dd8f (bug 1522637)
Backed out changeset f1191be4243a (bug 1522637)
Backed out changeset 5a8067fd848c (bug 1522637)
Backed out changeset 5f49cd87b1bd (bug 1522637)
Backed out changeset f82ba91f5ea2 (bug 1522637)
2019-02-09 03:12:53 +02:00
Nika Layzell d6280f72ab Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : moz-landing-system : lando
2019-02-08 17:36:02 +00:00
arthur.iakab ddeb2146e9 Backed out changeset bac51381060d (bug 1519538) for causing multiple failures on Windows CLOSED TREE 2019-02-08 19:34:20 +02:00
Marco Bonardo c8cf4c2695 Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-08 16:43:58 +00:00
Noemi Erli c2aec081be Backed out changeset bac51381060d (bug 1519538) for Linting failure in config.py 2019-02-08 18:32:01 +02:00
Marco Bonardo 65f6d086f4 Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-08 14:10:08 +00:00