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

6378 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 4e9f06f73c Bug 1584031 - Allow non-http channels into on-may-change-process. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D53893

--HG--
extra : moz-landing-system : lando
2019-11-27 02:19:17 +00:00
Kannan Vijayan 79fe0f4088 Bug 1580228 - Fix usage of nsIDocShellTreeItem in nsDocShell::EndPageLoad r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D54604

--HG--
extra : moz-landing-system : lando
2019-11-25 21:55:48 +00:00
Jean-Yves Avenard 7198477b2c Bug 1596665 - P5. Pass last site information from the parent and remove DCC's nsHashPropertyBag inheritance. r=mayhemer,kmag
The previous site URI is now only written on the parent and sent back to the child once all redirects have completed.

In a follow up we will also transfer this information when a process switch occur as it's currently broken.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 01:47:48 +00:00
Jean-Yves Avenard 6f3787fd8c Bug 1596665 - P4. Expose some nsDocShell utility methods. r=kmag
And use the new methods where we can.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 01:24:42 +00:00
Jean-Yves Avenard 9d62b283ad Bug 1596665 - P3. Copy property bag from parent to child. r=kmag,mayhemer
Rather that setting the property bag on both the child and parent from the docshell; we first set it on the parent instead, and once the redirect (or process switch) has completed we carry that bag across.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 01:24:34 +00:00
Coroiu Cristina b55f6bda39 Backed out 6 changesets (bug 1598516) for Mn and pgo failures on a CLOSED TREE
Backed out changeset 63a84cdfd937 (bug 1598516)
Backed out changeset 894aaa4bc62e (bug 1598516)
Backed out changeset e19ada9e8b30 (bug 1598516)
Backed out changeset 72f2256ae171 (bug 1598516)
Backed out changeset 6ba74ff735ba (bug 1598516)
Backed out changeset b235cf22b0e4 (bug 1598516)
2019-11-26 04:40:35 +02:00
Matt Woodrow 03ee2f1377 Bug 1598516 - Handle malformed uri load error with an error page. r=kmag
Previously this error occurred synchronously during AsyncOpen, and we handled it there.
With DocumentChannel we don't find out until it's handled in the parent, so the error is returned to the docshell via a failed status on the request.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:22:57 +00:00
Matt Woodrow 25f90b14e4 Bug 1598516 - Enable DocumentChannel for all protocols, except for list of known issues. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D54246

--HG--
extra : moz-landing-system : lando
2019-11-25 20:22:31 +00:00
alwu 9b3e1e1236 Bug 1593843 - part3 : store the request status in top-level browsing context. r=farre
If the page has already had same type pending request, then we don't want to send another request. If the page has already got the response from the request, we also don't want to send another request again.

In order to achieve that, we decide to store the request's staus on the top-browsing context to make sure that all media elements in the same browsing context tree can share the same status. Thereforw, we could avoid sending redudant request when there is a pending request, and reuse the previous request's result.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:13 +00:00
Andreea Pavel a6b19eaffd Bug 1594390 - update disabling condition to include all win r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D54428

--HG--
extra : moz-landing-system : lando
2019-11-25 01:10:36 +00:00
Noemi Erli 23395b20e2 Backed out 13 changesets (bug 1593843) for bustages in Logging.h CLOSED TREE
Backed out changeset b6e3fa6363bd (bug 1593843)
Backed out changeset 3db512256b0d (bug 1593843)
Backed out changeset f67081ea84ee (bug 1593843)
Backed out changeset ad02bb934459 (bug 1593843)
Backed out changeset 1a79176d3f7b (bug 1593843)
Backed out changeset 486c8562b816 (bug 1593843)
Backed out changeset 0d4313c436c5 (bug 1593843)
Backed out changeset 0c7e831d11bf (bug 1593843)
Backed out changeset 02ac8c39f46d (bug 1593843)
Backed out changeset 80895462dddf (bug 1593843)
Backed out changeset 4ab855869725 (bug 1593843)
Backed out changeset 5a24fc933cd6 (bug 1593843)
Backed out changeset f1c50ee60a78 (bug 1593843)
2019-11-23 05:18:17 +02:00
alwu 490b52782c Bug 1593843 - part3 : store the request status in top-level browsing context. r=farre
If the page has already had same type pending request, then we don't want to send another request. If the page has already got the response from the request, we also don't want to send another request again.

In order to achieve that, we decide to store the request's staus on the top-browsing context to make sure that all media elements in the same browsing context tree can share the same status. Thereforw, we could avoid sending redudant request when there is a pending request, and reuse the previous request's result.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 09:17:35 +00:00
Kershaw Chang 60f6486027 Bug 1579049 - P1: Map Http error response codes to gecko error codes r=mayhemer,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49903

--HG--
extra : moz-landing-system : lando
2019-11-21 14:24:36 +00:00
Jean-Yves Avenard b5e476aa6f Bug 1595637 - P3. Only set contentType, contentDisposition and originalURI in the parent. r=kmag,mayhemer
They don't need to be set on the DocumentChannelChild as they are never read.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 10:58:14 +00:00
Mark Banner cc6a714098 Bug 1597653 - Fix uses of unknown property 'equals' in test_bug453650.xhtml. r=smaug
Change the QueryInterface function to use ChromeUtils.generateQI.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 15:14:50 +00:00
Ehsan Akhgari dc998c5c5a Bug 1592599 - Switch nsIDocShell.getDocShellEnumerator() away from using nsISimpleEnumerator; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51100

--HG--
extra : moz-landing-system : lando
2019-11-18 20:11:58 +00:00
Timothy Nikkel ce2d2224ef Bug 1593170. Annotate new expected asserts in docshell/base/crashtests/1257730-1.html as a result of Fission work in reftest harness. r=mattwoodrow
The asserts are

NS_ASSERTION(mDidInitialize, "should have done initial reflow by now");

in

layout/base/PresShell.cpp

in a couple of different places.

The stacks are slightly different from the existing case in bug 566159. In bug 566159 the stacks are as a result of asking to scroll. In this case the stacks are from an autofocus form element. The element is actually in our about:neterror page when the test tries to navigate to "href". The reason they show up now is that the Fission work on the reftest harness, in general, makes things more async. So in this test we previously tore down the page and moved on to the next test before being able to hit these assertions.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 11:28:14 +00:00
Micah Tigley 00d97635a3 Bug 1593708 - Part 1: Add inRDMPane property to BrowsingContext and expose it to JS. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52214

--HG--
extra : moz-landing-system : lando
2019-11-14 22:54:56 +00:00
Arthur Iakab 3e63c29465 Backed out 8 changesets (bug 1593170) for causing mass reftest failures. CLOSED TREE
Backed out changeset 2c98625f235b (bug 1593170)
Backed out changeset 39d63ae4d287 (bug 1593170)
Backed out changeset 2c8e57a90cb8 (bug 1593170)
Backed out changeset d511975b764e (bug 1593170)
Backed out changeset a10072d821e5 (bug 1593170)
Backed out changeset 80bd8cadf835 (bug 1593170)
Backed out changeset a004de649342 (bug 1593170)
Backed out changeset 78d380a2241a (bug 1593170)
2019-11-18 04:07:19 +02:00
Timothy Nikkel 39a4b0cc0e Bug 1593170. Annotate new expected asserts in docshell/base/crashtests/1257730-1.html as a result of Fission work in reftest harness. r=mattwoodrow
The asserts are

NS_ASSERTION(mDidInitialize, "should have done initial reflow by now");

in

layout/base/PresShell.cpp

in a couple of different places.

The stacks are slightly different from the existing case in bug 566159. In bug 566159 the stacks are as a result of asking to scroll. In this case the stacks are from an autofocus form element. The element is actually in our about:neterror page when the test tries to navigate to "href". The reason they show up now is that the Fission work on the reftest harness, in general, makes things more async. So in this test we previously tore down the page and moved on to the next test before being able to hit these assertions.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 00:51:08 +00:00
Emma Malysz 4e79221450 Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53052

--HG--
rename : docshell/test/chrome/bug112564_window.xul => docshell/test/chrome/bug112564_window.xhtml
rename : docshell/test/chrome/bug113934_window.xul => docshell/test/chrome/bug113934_window.xhtml
rename : docshell/test/chrome/bug215405_window.xul => docshell/test/chrome/bug215405_window.xhtml
rename : docshell/test/chrome/bug293235_window.xul => docshell/test/chrome/bug293235_window.xhtml
rename : docshell/test/chrome/bug294258_window.xul => docshell/test/chrome/bug294258_window.xhtml
rename : docshell/test/chrome/bug298622_window.xul => docshell/test/chrome/bug298622_window.xhtml
rename : docshell/test/chrome/bug301397_window.xul => docshell/test/chrome/bug301397_window.xhtml
rename : docshell/test/chrome/bug303267_window.xul => docshell/test/chrome/bug303267_window.xhtml
rename : docshell/test/chrome/bug311007_window.xul => docshell/test/chrome/bug311007_window.xhtml
rename : docshell/test/chrome/bug321671_window.xul => docshell/test/chrome/bug321671_window.xhtml
rename : docshell/test/chrome/bug360511_window.xul => docshell/test/chrome/bug360511_window.xhtml
rename : docshell/test/chrome/bug364461_window.xul => docshell/test/chrome/bug364461_window.xhtml
rename : docshell/test/chrome/bug396519_window.xul => docshell/test/chrome/bug396519_window.xhtml
rename : docshell/test/chrome/bug396649_window.xul => docshell/test/chrome/bug396649_window.xhtml
rename : docshell/test/chrome/bug449778_window.xul => docshell/test/chrome/bug449778_window.xhtml
rename : docshell/test/chrome/bug449780_window.xul => docshell/test/chrome/bug449780_window.xhtml
rename : docshell/test/chrome/bug454235-subframe.xul => docshell/test/chrome/bug454235-subframe.xhtml
rename : docshell/test/chrome/bug582176_window.xul => docshell/test/chrome/bug582176_window.xhtml
rename : docshell/test/chrome/bug608669.xul => docshell/test/chrome/bug608669.xhtml
rename : docshell/test/chrome/bug662200_window.xul => docshell/test/chrome/bug662200_window.xhtml
rename : docshell/test/chrome/bug690056_window.xul => docshell/test/chrome/bug690056_window.xhtml
rename : docshell/test/chrome/bug89419_window.xul => docshell/test/chrome/bug89419_window.xhtml
rename : docshell/test/chrome/bug92598_window.xul => docshell/test/chrome/bug92598_window.xhtml
rename : docshell/test/chrome/mozFrameType_window.xul => docshell/test/chrome/mozFrameType_window.xhtml
rename : docshell/test/chrome/test_bug112564.xul => docshell/test/chrome/test_bug112564.xhtml
rename : docshell/test/chrome/test_bug113934.xul => docshell/test/chrome/test_bug113934.xhtml
rename : docshell/test/chrome/test_bug215405.xul => docshell/test/chrome/test_bug215405.xhtml
rename : docshell/test/chrome/test_bug293235.xul => docshell/test/chrome/test_bug293235.xhtml
rename : docshell/test/chrome/test_bug294258.xul => docshell/test/chrome/test_bug294258.xhtml
rename : docshell/test/chrome/test_bug298622.xul => docshell/test/chrome/test_bug298622.xhtml
rename : docshell/test/chrome/test_bug301397.xul => docshell/test/chrome/test_bug301397.xhtml
rename : docshell/test/chrome/test_bug303267.xul => docshell/test/chrome/test_bug303267.xhtml
rename : docshell/test/chrome/test_bug311007.xul => docshell/test/chrome/test_bug311007.xhtml
rename : docshell/test/chrome/test_bug321671.xul => docshell/test/chrome/test_bug321671.xhtml
rename : docshell/test/chrome/test_bug360511.xul => docshell/test/chrome/test_bug360511.xhtml
rename : docshell/test/chrome/test_bug364461.xul => docshell/test/chrome/test_bug364461.xhtml
rename : docshell/test/chrome/test_bug396519.xul => docshell/test/chrome/test_bug396519.xhtml
rename : docshell/test/chrome/test_bug396649.xul => docshell/test/chrome/test_bug396649.xhtml
rename : docshell/test/chrome/test_bug449778.xul => docshell/test/chrome/test_bug449778.xhtml
rename : docshell/test/chrome/test_bug449780.xul => docshell/test/chrome/test_bug449780.xhtml
rename : docshell/test/chrome/test_bug453650.xul => docshell/test/chrome/test_bug453650.xhtml
rename : docshell/test/chrome/test_bug454235.xul => docshell/test/chrome/test_bug454235.xhtml
rename : docshell/test/chrome/test_bug456980.xul => docshell/test/chrome/test_bug456980.xhtml
rename : docshell/test/chrome/test_bug565388.xul => docshell/test/chrome/test_bug565388.xhtml
rename : docshell/test/chrome/test_bug582176.xul => docshell/test/chrome/test_bug582176.xhtml
rename : docshell/test/chrome/test_bug608669.xul => docshell/test/chrome/test_bug608669.xhtml
rename : docshell/test/chrome/test_bug662200.xul => docshell/test/chrome/test_bug662200.xhtml
rename : docshell/test/chrome/test_bug690056.xul => docshell/test/chrome/test_bug690056.xhtml
rename : docshell/test/chrome/test_bug789773.xul => docshell/test/chrome/test_bug789773.xhtml
rename : docshell/test/chrome/test_bug846906.xul => docshell/test/chrome/test_bug846906.xhtml
rename : docshell/test/chrome/test_bug89419.xul => docshell/test/chrome/test_bug89419.xhtml
rename : docshell/test/chrome/test_bug92598.xul => docshell/test/chrome/test_bug92598.xhtml
rename : docshell/test/chrome/test_docRedirect.xul => docshell/test/chrome/test_docRedirect.xhtml
rename : docshell/test/chrome/test_mozFrameType.xul => docshell/test/chrome/test_mozFrameType.xhtml
rename : docshell/test/chrome/test_principalInherit.xul => docshell/test/chrome/test_principalInherit.xhtml
rename : docshell/test/chrome/test_viewsource_forbidden_in_iframe.xul => docshell/test/chrome/test_viewsource_forbidden_in_iframe.xhtml
extra : moz-landing-system : lando
2019-11-15 16:42:21 +00:00
Peter Van der Beken cffb5fec95 Bug 1594938 - Crash in [@ nsSHistory::Reload]. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D53010

--HG--
extra : moz-landing-system : lando
2019-11-15 11:12:54 +00:00
Cosmin Sabou 0afb5eae77 Bug 1594390 - Disable browser_test_bfcache_eviction.js for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D53144

--HG--
extra : moz-landing-system : lando
2019-11-15 10:53:22 +00:00
Ciure Andrei c7abcdb2c6 Backed out changeset 40546d0aab39 (bug 1596328) for causing an ESlint failure CLOSED TREE
--HG--
rename : docshell/test/chrome/bug112564_window.xhtml => docshell/test/chrome/bug112564_window.xul
rename : docshell/test/chrome/bug113934_window.xhtml => docshell/test/chrome/bug113934_window.xul
rename : docshell/test/chrome/bug215405_window.xhtml => docshell/test/chrome/bug215405_window.xul
rename : docshell/test/chrome/bug293235_window.xhtml => docshell/test/chrome/bug293235_window.xul
rename : docshell/test/chrome/bug294258_window.xhtml => docshell/test/chrome/bug294258_window.xul
rename : docshell/test/chrome/bug298622_window.xhtml => docshell/test/chrome/bug298622_window.xul
rename : docshell/test/chrome/bug301397_window.xhtml => docshell/test/chrome/bug301397_window.xul
rename : docshell/test/chrome/bug303267_window.xhtml => docshell/test/chrome/bug303267_window.xul
rename : docshell/test/chrome/bug311007_window.xhtml => docshell/test/chrome/bug311007_window.xul
rename : docshell/test/chrome/bug321671_window.xhtml => docshell/test/chrome/bug321671_window.xul
rename : docshell/test/chrome/bug360511_window.xhtml => docshell/test/chrome/bug360511_window.xul
rename : docshell/test/chrome/bug364461_window.xhtml => docshell/test/chrome/bug364461_window.xul
rename : docshell/test/chrome/bug396519_window.xhtml => docshell/test/chrome/bug396519_window.xul
rename : docshell/test/chrome/bug396649_window.xhtml => docshell/test/chrome/bug396649_window.xul
rename : docshell/test/chrome/bug449778_window.xhtml => docshell/test/chrome/bug449778_window.xul
rename : docshell/test/chrome/bug449780_window.xhtml => docshell/test/chrome/bug449780_window.xul
rename : docshell/test/chrome/bug454235-subframe.xhtml => docshell/test/chrome/bug454235-subframe.xul
rename : docshell/test/chrome/bug582176_window.xhtml => docshell/test/chrome/bug582176_window.xul
rename : docshell/test/chrome/bug608669.xhtml => docshell/test/chrome/bug608669.xul
rename : docshell/test/chrome/bug662200_window.xhtml => docshell/test/chrome/bug662200_window.xul
rename : docshell/test/chrome/bug690056_window.xhtml => docshell/test/chrome/bug690056_window.xul
rename : docshell/test/chrome/bug89419_window.xhtml => docshell/test/chrome/bug89419_window.xul
rename : docshell/test/chrome/bug92598_window.xhtml => docshell/test/chrome/bug92598_window.xul
rename : docshell/test/chrome/mozFrameType_window.xhtml => docshell/test/chrome/mozFrameType_window.xul
rename : docshell/test/chrome/test_bug112564.xhtml => docshell/test/chrome/test_bug112564.xul
rename : docshell/test/chrome/test_bug113934.xhtml => docshell/test/chrome/test_bug113934.xul
rename : docshell/test/chrome/test_bug215405.xhtml => docshell/test/chrome/test_bug215405.xul
rename : docshell/test/chrome/test_bug293235.xhtml => docshell/test/chrome/test_bug293235.xul
rename : docshell/test/chrome/test_bug294258.xhtml => docshell/test/chrome/test_bug294258.xul
rename : docshell/test/chrome/test_bug298622.xhtml => docshell/test/chrome/test_bug298622.xul
rename : docshell/test/chrome/test_bug301397.xhtml => docshell/test/chrome/test_bug301397.xul
rename : docshell/test/chrome/test_bug303267.xhtml => docshell/test/chrome/test_bug303267.xul
rename : docshell/test/chrome/test_bug311007.xhtml => docshell/test/chrome/test_bug311007.xul
rename : docshell/test/chrome/test_bug321671.xhtml => docshell/test/chrome/test_bug321671.xul
rename : docshell/test/chrome/test_bug360511.xhtml => docshell/test/chrome/test_bug360511.xul
rename : docshell/test/chrome/test_bug364461.xhtml => docshell/test/chrome/test_bug364461.xul
rename : docshell/test/chrome/test_bug396519.xhtml => docshell/test/chrome/test_bug396519.xul
rename : docshell/test/chrome/test_bug396649.xhtml => docshell/test/chrome/test_bug396649.xul
rename : docshell/test/chrome/test_bug449778.xhtml => docshell/test/chrome/test_bug449778.xul
rename : docshell/test/chrome/test_bug449780.xhtml => docshell/test/chrome/test_bug449780.xul
rename : docshell/test/chrome/test_bug453650.xhtml => docshell/test/chrome/test_bug453650.xul
rename : docshell/test/chrome/test_bug454235.xhtml => docshell/test/chrome/test_bug454235.xul
rename : docshell/test/chrome/test_bug456980.xhtml => docshell/test/chrome/test_bug456980.xul
rename : docshell/test/chrome/test_bug565388.xhtml => docshell/test/chrome/test_bug565388.xul
rename : docshell/test/chrome/test_bug582176.xhtml => docshell/test/chrome/test_bug582176.xul
rename : docshell/test/chrome/test_bug608669.xhtml => docshell/test/chrome/test_bug608669.xul
rename : docshell/test/chrome/test_bug662200.xhtml => docshell/test/chrome/test_bug662200.xul
rename : docshell/test/chrome/test_bug690056.xhtml => docshell/test/chrome/test_bug690056.xul
rename : docshell/test/chrome/test_bug789773.xhtml => docshell/test/chrome/test_bug789773.xul
rename : docshell/test/chrome/test_bug846906.xhtml => docshell/test/chrome/test_bug846906.xul
rename : docshell/test/chrome/test_bug89419.xhtml => docshell/test/chrome/test_bug89419.xul
rename : docshell/test/chrome/test_bug92598.xhtml => docshell/test/chrome/test_bug92598.xul
rename : docshell/test/chrome/test_docRedirect.xhtml => docshell/test/chrome/test_docRedirect.xul
rename : docshell/test/chrome/test_mozFrameType.xhtml => docshell/test/chrome/test_mozFrameType.xul
rename : docshell/test/chrome/test_principalInherit.xhtml => docshell/test/chrome/test_principalInherit.xul
rename : docshell/test/chrome/test_viewsource_forbidden_in_iframe.xhtml => docshell/test/chrome/test_viewsource_forbidden_in_iframe.xul
2019-11-15 05:08:52 +02:00
Emma Malysz 8a282338d2 Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53052

--HG--
rename : docshell/test/chrome/bug112564_window.xul => docshell/test/chrome/bug112564_window.xhtml
rename : docshell/test/chrome/bug113934_window.xul => docshell/test/chrome/bug113934_window.xhtml
rename : docshell/test/chrome/bug215405_window.xul => docshell/test/chrome/bug215405_window.xhtml
rename : docshell/test/chrome/bug293235_window.xul => docshell/test/chrome/bug293235_window.xhtml
rename : docshell/test/chrome/bug294258_window.xul => docshell/test/chrome/bug294258_window.xhtml
rename : docshell/test/chrome/bug298622_window.xul => docshell/test/chrome/bug298622_window.xhtml
rename : docshell/test/chrome/bug301397_window.xul => docshell/test/chrome/bug301397_window.xhtml
rename : docshell/test/chrome/bug303267_window.xul => docshell/test/chrome/bug303267_window.xhtml
rename : docshell/test/chrome/bug311007_window.xul => docshell/test/chrome/bug311007_window.xhtml
rename : docshell/test/chrome/bug321671_window.xul => docshell/test/chrome/bug321671_window.xhtml
rename : docshell/test/chrome/bug360511_window.xul => docshell/test/chrome/bug360511_window.xhtml
rename : docshell/test/chrome/bug364461_window.xul => docshell/test/chrome/bug364461_window.xhtml
rename : docshell/test/chrome/bug396519_window.xul => docshell/test/chrome/bug396519_window.xhtml
rename : docshell/test/chrome/bug396649_window.xul => docshell/test/chrome/bug396649_window.xhtml
rename : docshell/test/chrome/bug449778_window.xul => docshell/test/chrome/bug449778_window.xhtml
rename : docshell/test/chrome/bug449780_window.xul => docshell/test/chrome/bug449780_window.xhtml
rename : docshell/test/chrome/bug454235-subframe.xul => docshell/test/chrome/bug454235-subframe.xhtml
rename : docshell/test/chrome/bug582176_window.xul => docshell/test/chrome/bug582176_window.xhtml
rename : docshell/test/chrome/bug608669.xul => docshell/test/chrome/bug608669.xhtml
rename : docshell/test/chrome/bug662200_window.xul => docshell/test/chrome/bug662200_window.xhtml
rename : docshell/test/chrome/bug690056_window.xul => docshell/test/chrome/bug690056_window.xhtml
rename : docshell/test/chrome/bug89419_window.xul => docshell/test/chrome/bug89419_window.xhtml
rename : docshell/test/chrome/bug92598_window.xul => docshell/test/chrome/bug92598_window.xhtml
rename : docshell/test/chrome/mozFrameType_window.xul => docshell/test/chrome/mozFrameType_window.xhtml
rename : docshell/test/chrome/test_bug112564.xul => docshell/test/chrome/test_bug112564.xhtml
rename : docshell/test/chrome/test_bug113934.xul => docshell/test/chrome/test_bug113934.xhtml
rename : docshell/test/chrome/test_bug215405.xul => docshell/test/chrome/test_bug215405.xhtml
rename : docshell/test/chrome/test_bug293235.xul => docshell/test/chrome/test_bug293235.xhtml
rename : docshell/test/chrome/test_bug294258.xul => docshell/test/chrome/test_bug294258.xhtml
rename : docshell/test/chrome/test_bug298622.xul => docshell/test/chrome/test_bug298622.xhtml
rename : docshell/test/chrome/test_bug301397.xul => docshell/test/chrome/test_bug301397.xhtml
rename : docshell/test/chrome/test_bug303267.xul => docshell/test/chrome/test_bug303267.xhtml
rename : docshell/test/chrome/test_bug311007.xul => docshell/test/chrome/test_bug311007.xhtml
rename : docshell/test/chrome/test_bug321671.xul => docshell/test/chrome/test_bug321671.xhtml
rename : docshell/test/chrome/test_bug360511.xul => docshell/test/chrome/test_bug360511.xhtml
rename : docshell/test/chrome/test_bug364461.xul => docshell/test/chrome/test_bug364461.xhtml
rename : docshell/test/chrome/test_bug396519.xul => docshell/test/chrome/test_bug396519.xhtml
rename : docshell/test/chrome/test_bug396649.xul => docshell/test/chrome/test_bug396649.xhtml
rename : docshell/test/chrome/test_bug449778.xul => docshell/test/chrome/test_bug449778.xhtml
rename : docshell/test/chrome/test_bug449780.xul => docshell/test/chrome/test_bug449780.xhtml
rename : docshell/test/chrome/test_bug453650.xul => docshell/test/chrome/test_bug453650.xhtml
rename : docshell/test/chrome/test_bug454235.xul => docshell/test/chrome/test_bug454235.xhtml
rename : docshell/test/chrome/test_bug456980.xul => docshell/test/chrome/test_bug456980.xhtml
rename : docshell/test/chrome/test_bug565388.xul => docshell/test/chrome/test_bug565388.xhtml
rename : docshell/test/chrome/test_bug582176.xul => docshell/test/chrome/test_bug582176.xhtml
rename : docshell/test/chrome/test_bug608669.xul => docshell/test/chrome/test_bug608669.xhtml
rename : docshell/test/chrome/test_bug662200.xul => docshell/test/chrome/test_bug662200.xhtml
rename : docshell/test/chrome/test_bug690056.xul => docshell/test/chrome/test_bug690056.xhtml
rename : docshell/test/chrome/test_bug789773.xul => docshell/test/chrome/test_bug789773.xhtml
rename : docshell/test/chrome/test_bug846906.xul => docshell/test/chrome/test_bug846906.xhtml
rename : docshell/test/chrome/test_bug89419.xul => docshell/test/chrome/test_bug89419.xhtml
rename : docshell/test/chrome/test_bug92598.xul => docshell/test/chrome/test_bug92598.xhtml
rename : docshell/test/chrome/test_docRedirect.xul => docshell/test/chrome/test_docRedirect.xhtml
rename : docshell/test/chrome/test_mozFrameType.xul => docshell/test/chrome/test_mozFrameType.xhtml
rename : docshell/test/chrome/test_principalInherit.xul => docshell/test/chrome/test_principalInherit.xhtml
rename : docshell/test/chrome/test_viewsource_forbidden_in_iframe.xul => docshell/test/chrome/test_viewsource_forbidden_in_iframe.xhtml
extra : moz-landing-system : lando
2019-11-14 23:59:30 +00:00
Anny Gakhokidze 3c0608ff80 Bug 1594850 - Part 2 - Write a test for gHistoryMaxSize in nsSHistory being set to 0 and mIndex and mRequestedIndex=-1, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D52927

--HG--
extra : moz-landing-system : lando
2019-11-14 20:09:58 +00:00
Anny Gakhokidze aaa9648d30 Bug 1594850 - Part 1 - Fix crash in nsSHistory::EnsureCorrectEntryAtCurrIndex when mIndex=-1, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D52370

--HG--
extra : moz-landing-system : lando
2019-11-14 20:09:58 +00:00
Alphan Chen 6ffccff039 Bug 1596077 - Use browsingContext to do LoadURI() in nsSHistory r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52841

--HG--
extra : moz-landing-system : lando
2019-11-14 08:08:21 +00:00
Gijs Kruitbosch e618913512 Bug 1558408 - fix fixup of host port URLs with querystrings or refs without forward slashes, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D52847

--HG--
extra : moz-landing-system : lando
2019-11-13 18:07:40 +00:00
Olli Pettay 0445a7c627 Bug 1595900 - CanonicalBrowsingContext::GetSessionHistory should be able to deal with in-process case too, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D52738

--HG--
extra : moz-landing-system : lando
2019-11-13 15:21:25 +00:00
Sylvestre Ledru 5f7b538ccb Bug 1562642 - add missing license in docshell/resources/content/netError.js r=smaug
Depends on D52588

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

--HG--
extra : moz-landing-system : lando
2019-11-12 08:26:18 +00:00
Kris Maglione 311a714c94 Bug 1594928: Follow-up: Actually re-enable the test.
Differential Revision: https://phabricator.services.mozilla.com/D52780

--HG--
extra : moz-landing-system : lando
2019-11-13 00:05:53 +00:00
Andreas Farre b1f7e4afb8 Bug 1592309 - Rewrite tests using xpcEnumerateContentWindows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D51110

--HG--
extra : moz-landing-system : lando
2019-11-12 21:52:26 +00:00
Andreas Farre e18b00ac85 Bug 1590782 - Switch process when InternalLoad finds oop BrowsingContext. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D50945

--HG--
extra : moz-landing-system : lando
2019-11-12 21:52:18 +00:00
Kris Maglione 76544eef8a Bug 1571066: Return WindowProxyHolder from nsDocShell::GetWindowProxy. r=peterv
Returning BrowsingContext* from these sorts of getters tends to lead to
misuse. WindowProxyHolder is the semantically correct type to return here, in
any case.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 08:32:09 +00:00
Kashav Madan 7710132c7f Bug 1595183 - Unskip passing Fission tests, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D52406

--HG--
extra : moz-landing-system : lando
2019-11-12 15:09:22 +00:00
Matt Woodrow fea5e94ae8 Bug 1589270 - Part 3: Convert nsExternalHelperApp to use BrowsingContext instead of nsIInterfaceRequestor. r=bzbarsky
This also converts MaybeCloseWindowHelper, and results in the window close operations being always run in the parent (even without DocumentChannel).

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

--HG--
extra : moz-landing-system : lando
2019-11-08 04:35:05 +00:00
Kris Maglione 27d65da3d8 Bug 1594928 - Make browser_onbeforeunload_navigation.js Fission-compatible. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52272

--HG--
extra : moz-landing-system : lando
2019-11-11 17:26:29 +00:00
alwu 28a59c21ab Bug 1592461 - part2 : use 'MediaActionHandler' to handle 'MediaControlActions'. r=bzbarsky
Instead of letting the outer window to process `MediaControlActions`, it would be better to handle those actions all in `MediaActionHandler`.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:22:33 +00:00
Kris Maglione c573d8fa3c Bug 1593797 - Unskip browser_bug422543 in Fission mode. r=mccr8
This is a partial fix, which prevents the test from simply timing out. It
still fails, because this is a test of content session history listeners,
which don't currently work as expected for cross-process navigations.

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

--HG--
rename : docshell/test/browser/file_bug422543_script.js => docshell/test/browser/Bug422543Child.jsm
extra : moz-landing-system : lando
2019-11-08 20:05:02 +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
Matt Woodrow abd1ef6b96 Bug 1594166 - Enable DocumentChannel for ftp, file and blob. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51902

--HG--
extra : moz-landing-system : lando
2019-11-07 19:01:43 +00:00
Matt Woodrow 03a47f121f Bug 1593560 - Allow data urls with DocumentChannel. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51547

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:06 +00:00
Dorel Luca c780ae512f Backed out changeset b2026c2b563f (bug 1594529) for Browser-chrome failures in workspace/build/src/docshell/base/nsDocShell. CLOSED TREE 2019-11-07 03:45:01 +02:00
Jonathan Kingston e3e23ebd3f Bug 1594529 - Adding in asserts for LoadURI to ensure we have the correct contentPolicyType r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D52088

--HG--
extra : moz-landing-system : lando
2019-11-06 23:47:06 +00:00
Dorel Luca 514f02d734 Backed out changeset eaee8979fdc4 (bug 1594529) for Browser-chrome in toolkit/components/passwordmgr/test/browser/browser_doorhanger_crossframe.js. CLOSED TREE 2019-11-07 02:12:16 +02:00
Kris Maglione c4b5d4bfb9 Bug 1594529: Infer nsDocShell::IsFrame from BrowsingContext. r=nika
This fixes the content policy type for document loads in these frames, where
the explicit mIsFrame flag was not set, due to DocShell creation taking a
different code path in remote frames than in in-process frames.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 20:34:36 +00:00
Coroiu Cristina cbdbc8bc4b Backed out 7 changesets (bug 1593560) for crashtest failures at tests/layout/base/crashtests/446328.html on a CLOSED TREE
Backed out changeset 7dfae085a4cb (bug 1593560)
Backed out changeset 9842c80c98d8 (bug 1593560)
Backed out changeset d67a10437af7 (bug 1593560)
Backed out changeset 3e3948e9531c (bug 1593560)
Backed out changeset a7d04e276b44 (bug 1593560)
Backed out changeset 9f52c9f6dc54 (bug 1593560)
Backed out changeset 90572c49d464 (bug 1593560)
2019-11-07 00:32:53 +02:00
Matt Woodrow b332b7b789 Bug 1593560 - Allow data urls with DocumentChannel. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51547

--HG--
extra : moz-landing-system : lando
2019-11-06 18:22:00 +00:00
Andreas Tolfsen 243b658475 bug 1549708: docshell: add nsIDocShell.isForceReloading; r=bzbarsky
Exposes a new nsIDocShell API, isForceReloading, to determine if
the loaded document was force-reloaded or not.

It relies on the underlying behaviour of nsDocShell::IsForceReloading(),
which again relies on nsDocShell::IsForceReloadType(mLoadType).

The getter is used in the remote agent to test that
Page.reload({ignoreCache: true}) works as intended.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 13:28:23 +00:00