Paul Bone
4e341bce84
Bug 1603007 - Remove allowLinkedWebInFileUriProcess r=nika
...
This patch removes the allowLinkedWebInFileUriProcess pref, but one
code-path is kept because when DocumentChannel is disabled a HTTP POST load
from a file:// page would loose the postData, so that case keeps the FILE
remote type.
Differential Revision: https://phabricator.services.mozilla.com/D69923
2020-04-23 17:15:09 +00:00
Noemi Erli
c0bd1834c8
Backed out 19 changesets (bug 1602318) for causing multiple failures
...
Backed out changeset 4b3345b2e33b (bug 1602318)
Backed out changeset 7240b27afe28 (bug 1602318)
Backed out changeset a7091729d8c9 (bug 1602318)
Backed out changeset e496ab6c0857 (bug 1602318)
Backed out changeset 184da6309f0c (bug 1602318)
Backed out changeset 79b540f8619d (bug 1602318)
Backed out changeset b298015ee960 (bug 1602318)
Backed out changeset 6d0783cd5e01 (bug 1602318)
Backed out changeset cbc308486b17 (bug 1602318)
Backed out changeset 94142944fb54 (bug 1602318)
Backed out changeset 7c1eeb299b78 (bug 1602318)
Backed out changeset 0fc27502503a (bug 1602318)
Backed out changeset 0fc27c2e09d9 (bug 1602318)
Backed out changeset b5e2aa4741b2 (bug 1602318)
Backed out changeset 57d568114c5a (bug 1602318)
Backed out changeset 8f7360d827dc (bug 1602318)
Backed out changeset 78930a97c2df (bug 1602318)
Backed out changeset 8015780587cd (bug 1602318)
Backed out changeset bc9da03cb3a3 (bug 1602318)
2020-04-21 03:46:41 +03:00
Matt Woodrow
8c122b6d22
Bug 1602318 - Make RemoteWebProgress:stop also stop any current loads in the parent process. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D70626
2020-04-20 23:02:32 +00:00
Nika Layzell
98528edbf2
Bug 1616353 - Part 6.2: Remove setOriginAttributesBeforeLoading API, r=smaug
...
This API is no longer possible to implement, as it will always try to set the
OriginAttributes on a content BrowsingContext after it has been attached, and JS
can never observe a detached BrowsingContext.
Users of this API are instead changed to perform assertions that
originAttributes have already been set correctly.
Differential Revision: https://phabricator.services.mozilla.com/D67046
--HG--
extra : moz-landing-system : lando
2020-04-07 21:39:14 +00:00
Cosmin Sabou
aefb5f9c88
Backed out 24 changesets (bug 1616353) for fission assertion failures nsGlobalWindowOuter.cpp.
...
Backed out changeset 3a43210e4900 (bug 1616353)
Backed out changeset cb77e9149cf8 (bug 1616353)
Backed out changeset 3aacc7cfe33f (bug 1616353)
Backed out changeset c026b06063a5 (bug 1616353)
Backed out changeset 580e790c5d17 (bug 1616353)
Backed out changeset 6f09bc1c476d (bug 1616353)
Backed out changeset 6955906262c0 (bug 1616353)
Backed out changeset a7700472807a (bug 1616353)
Backed out changeset a4735096e01b (bug 1616353)
Backed out changeset bd1706c57d91 (bug 1616353)
Backed out changeset 363c13296fda (bug 1616353)
Backed out changeset e414df387524 (bug 1616353)
Backed out changeset 765d3364cca0 (bug 1616353)
Backed out changeset 8a13355b4ac4 (bug 1616353)
Backed out changeset ada17fb8fca7 (bug 1616353)
Backed out changeset 6b6b99af186d (bug 1616353)
Backed out changeset ea966e78b296 (bug 1616353)
Backed out changeset cb88e0bbb3b9 (bug 1616353)
Backed out changeset f89a89015114 (bug 1616353)
Backed out changeset ae6058552969 (bug 1616353)
Backed out changeset f42bb5b48c1b (bug 1616353)
Backed out changeset 1ab9d22c73bb (bug 1616353)
Backed out changeset 2692c2c1396b (bug 1616353)
Backed out changeset 11a279c8da08 (bug 1616353)
2020-04-06 20:03:02 +03:00
Nika Layzell
f0e314fa2a
Bug 1616353 - Part 6.2: Remove setOriginAttributesBeforeLoading API, r=smaug
...
This API is no longer possible to implement, as it will always try to set the
OriginAttributes on a content BrowsingContext after it has been attached, and JS
can never observe a detached BrowsingContext.
Users of this API are instead changed to perform assertions that
originAttributes have already been set correctly.
Differential Revision: https://phabricator.services.mozilla.com/D67046
--HG--
extra : moz-landing-system : lando
2020-04-06 14:29:50 +00:00
Ed Lee
acb960676c
Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
...
Differential Revision: https://phabricator.services.mozilla.com/D66128
--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Mark Banner
2c4e35b0a6
Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D65509
--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Kris Maglione
9fe389f830
Bug 1609443: Part 2 - Fix most dodgy uses of fission.autostart pref. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D64435
--HG--
extra : moz-landing-system : lando
2020-02-26 19:43:32 +00:00
Kris Maglione
f3354d4788
Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63699
--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab
73b6d9dca6
Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
...
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione
c65ef42473
Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63699
--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli
6b488deed0
Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE
2020-02-25 21:59:14 +02:00
Kris Maglione
e4c4115afb
Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63699
--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Valentin Gosu
1c3fa01428
Bug 1607460 - Fix browser_httpCrossOriginOpenerPolicy.js r=michal
...
Depends on D60481
Differential Revision: https://phabricator.services.mozilla.com/D62896
--HG--
extra : moz-landing-system : lando
2020-02-17 10:15:31 +00:00
Paul Bone
983fef7556
Bug 1603006 - Ignore allowLinkedWebInFile when documentChannel is enabled r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D56832
--HG--
extra : moz-landing-system : lando
2020-02-12 23:56:01 +00:00
Kris Maglione
9853440599
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione
94e3b0bd8d
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Emma Malysz
be0238569b
Bug 1601090, rename .xul files to .xhtml in toolkit/mozapps r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D55837
--HG--
rename : toolkit/mozapps/downloads/content/unknownContentType.xul => toolkit/mozapps/downloads/content/unknownContentType.xhtml
rename : toolkit/mozapps/extensions/content/blocklist.xul => toolkit/mozapps/extensions/content/blocklist.xhtml
rename : toolkit/mozapps/extensions/content/extensions.xul => toolkit/mozapps/extensions/content/extensions.xhtml
rename : toolkit/mozapps/handling/content/dialog.xul => toolkit/mozapps/handling/content/dialog.xhtml
rename : toolkit/mozapps/update/content/updateElevation.xul => toolkit/mozapps/update/content/updateElevation.xhtml
extra : moz-landing-system : lando
2019-12-12 16:30:59 +00:00
Paul Bone
d8a910b09e
Bug 1592894 - pt 3. Remove useHttpResponseProcessSelection from SessionStore.jsm r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D53762
--HG--
extra : moz-landing-system : lando
2019-12-11 02:31:04 +00:00
Paul Bone
6a1e5a7f46
Bug 1592894 - pt 2. Don't need to skip this test for fission anymore r=mattwoodrow
...
I don't know why, but this test is passing so I'll enable it.
Differential Revision: https://phabricator.services.mozilla.com/D55794
--HG--
extra : moz-landing-system : lando
2019-12-11 02:30:31 +00:00
Paul Bone
939cdaba37
Bug 1592894 - pt 1. Rename httpResponseProcessSelection test r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D55793
--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_documentChannel.js
extra : moz-landing-system : lando
2019-12-11 02:30:08 +00:00
shindli
91924fedc7
Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
...
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione
3ca78ce8e3
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione
16a9b29848
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Noemi Erli
82d41a33b2
Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
...
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione
fa3556c3fc
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione
910eab35d2
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga
84a601a6d4
Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
...
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione
b5238224ba
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione
20da940e14
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Noemi Erli
434c4a9abd
Backed out 4 changesets (bug 1592894) for failing in browser_httpResponseProcessSelection.js
...
Backed out changeset 2e3a515756cc (bug 1592894)
Backed out changeset f431b1c95887 (bug 1592894)
Backed out changeset d9fcadf796da (bug 1592894)
Backed out changeset 79a9d3e1e255 (bug 1592894)
2019-12-03 04:09:56 +02:00
Paul Bone
58a552899c
Bug 1592894 - pt 3. Remove useHTTPResponseProcessSelection from tests r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D53764
--HG--
extra : moz-landing-system : lando
2019-12-02 04:02:59 +00:00
Paul Bone
76ebf2a735
Bug 1599651 - Don't disable documentchannel in these tests r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D54852
--HG--
extra : moz-landing-system : lando
2019-11-27 01:52:15 +00:00
Valentin Gosu
164b071ee3
Bug 1541389 - Fix browser_httpCrossOriginOpenerPolicy.js to remove timeouts and not wait for SSTabRestored r=mattwoodrow
...
(Matt Woodrow (:mattwoodrow) in bug 1541389 comment #7 )
> Nika did some work on top of DocumentChannel to make sure we delay
notifying the old docshell that it had been cancelled until we'd setup
the new one.
This patch removes the code that waits for the `SSTabRestored` event when a
process switch is expected.
It also removes the `setTimeout` in the test, and uses
`browser.frameLoader.remoteTab.osPid` instead of ContentTask.spawn to get the
PID of the content process.
Differential Revision: https://phabricator.services.mozilla.com/D54774
--HG--
extra : moz-landing-system : lando
2019-11-26 23:01:39 +00:00
Paul Bone
a8ed0f485e
Bug 1598601 - Enable DocumentChannel in the 2nd part of browser_httpToFileHistory.js r=jya
...
DocumentChannel is enabled by default in nightly, but not beta. We need to
enable it explicitly in the 2nd part of this test.
Differential Revision: https://phabricator.services.mozilla.com/D54451
--HG--
extra : moz-landing-system : lando
2019-11-26 10:30:53 +00:00
Paul Bone
d0d5093eb5
Bug 1594221 - Remove documentchannel pref from browser_httpToFileHistory.js r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D54077
--HG--
extra : moz-landing-system : lando
2019-11-22 03:57:42 +00:00
Anny Gakhokidze
61a8c83e6c
Bug 1592093 - Make cancellation of content JS, when navigating through history to prevent hangs, Fission compatible, r=smaug,squib
...
Differential Revision: https://phabricator.services.mozilla.com/D52249
--HG--
extra : moz-landing-system : lando
2019-11-18 21:25:14 +00:00
Kashav Madan
74f3c709f3
Bug 1596217 - Make toolkit/components/remotebrowserutils/tests/ Fission-compatible, r=kmag
...
This updates browser_RemoteWebNavigation.js to only do same-origin navigations,
and updates browser_httpResponseProcessSelection.js to skip test_disabled if
Fission is enabled.
Differential Revision: https://phabricator.services.mozilla.com/D52925
--HG--
extra : moz-landing-system : lando
2019-11-14 19:59:37 +00:00
Kris Maglione
6ccf7e42c1
Bug 1595927 - Remove XPCOM gunk around RemoteWebNavigation creation. r=mconley
...
It just adds a lot of unnecessary overhead and indirection.
Differential Revision: https://phabricator.services.mozilla.com/D52753
--HG--
extra : moz-landing-system : lando
2019-11-15 01:23:40 +00:00
Ciure Andrei
e772acfdab
Backed out changeset 70304898d836 (bug 1595927) for causing browser_cmd_click.js to permafail CLOSED TREE
2019-11-14 23:35:19 +02:00
Kris Maglione
fecde9bd8f
Bug 1595927 - Remove XPCOM gunk around RemoteWebNavigation creation. r=mconley
...
It just adds a lot of unnecessary overhead and indirection.
Differential Revision: https://phabricator.services.mozilla.com/D52753
--HG--
extra : moz-landing-system : lando
2019-11-14 19:09:22 +00:00
Neil Deakin
fd6f562cbe
Bug 1533943, modify WebNavigation to inherit from JSWindowActor, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D50886
--HG--
extra : source : 6e3c105cfcde3a6821120a83674f77692f5c7bf2
2019-11-14 00:53:29 +00:00
Daniel Varga
cc80b874b2
Backed out changeset 6e3c105cfcde (bug 1533943) for causing mochitest failures at mobile/android/components/extensions/test/mochitest/test_ext_webNavigation_onCommitted.html on a CLOSED TREE
2019-11-14 08:30:55 +02:00
Neil Deakin
641485fae3
Bug 1533943, modify WebNavigation to inherit from JSWindowActor, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D50886
--HG--
extra : moz-landing-system : lando
2019-11-14 00:53:29 +00:00
Junior Hsu
4c5a1fa1cb
Bug 1595284 - enable document channel for response process selection, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D52569
--HG--
extra : moz-landing-system : lando
2019-11-11 20:26:39 +00:00
Junior Hsu
7d8477a003
Bug 1593439 - always use document channel to test coop for beta simulation, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D52388
--HG--
extra : moz-landing-system : lando
2019-11-09 10:52:44 +00:00
Sebastian Hengst
0341151d63
Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk
...
Differential Revision: https://phabricator.services.mozilla.com/D52345
--HG--
extra : moz-landing-system : lando
2019-11-08 12:17:57 +00:00
Gijs Kruitbosch
4492cc2119
Bug 1590718 - remove bogus unused constants (one with wrong value) from RemoteWebNavigation, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50293
--HG--
extra : moz-landing-system : lando
2019-10-24 07:56:47 +00:00
Valentin Gosu
982bdfbbbd
Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
...
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.
Differential Revision: https://phabricator.services.mozilla.com/D48715
--HG--
extra : moz-landing-system : lando
2019-10-22 08:02:16 +00:00