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

1460 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay 97778cf44a Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D91462
2020-09-28 12:01:12 +00:00
Andreas Farre 06bea3d5db Bug 1667027 - Fix more tests that uses legacySHistory. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D91277
2020-09-28 12:31:58 +00:00
Anny G b6286bd455 Bug 1662671 - Remove css for adding an unused resize property for Windows, r=NeilDeakin,remote-protocol-reviewers,maja_zf
Before Quantum, we needed resizer icon on Windows, because when the
add-on statusbar was hidden, we could not resize the window. This is not
needed anymore and is dead code. Consequentially, this also helps reduce
unused images loaded at startup time.

Differential Revision: https://phabricator.services.mozilla.com/D91196
2020-09-25 00:10:23 +00:00
Peter Van der Beken 976899aa65 Bug 1666881 - docshell/test/mochitest/test_history_length_during_pageload.html. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D91264
2020-09-24 11:36:17 +00:00
Olli Pettay bdb2a86bbf Bug 1666515 - Disable browser_backforward_userinteraction.js for fission, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91016
2020-09-23 13:51:02 +00:00
Olli Pettay c6638292a5 Bug 1666602 - [BFCache] Disable test_performance_navigation.html because it uses bfcache, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91051
2020-09-23 13:51:14 +00:00
Olli Pettay 4af1240826 Bug 1666449 - Disable some bfcache tests on Fission, part 2, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D90991
2020-09-22 11:54:40 +00:00
Peter Van der Beken d78733695d Bug 1666326 - Fix docshell/test/navigation/test_bug1375833.html for session history in the parent. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D90910
2020-09-22 07:47:08 +00:00
Kris Maglione bbae7bbee6 Bug 1655866: Follow-up: Fix rebase botch.
Differential Revision: https://phabricator.services.mozilla.com/D90945
2020-09-22 01:30:10 +00:00
Kris Maglione 9f99c21cf1 Bug 1655866: Part 7 - Add test. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D88320
2020-09-21 22:44:26 +00:00
Kris Maglione d3498e1041 Bug 1655866: Part 5 - Use native PermitUnload implementation from front-end code. r=nika,mconley
Differential Revision: https://phabricator.services.mozilla.com/D88318
2020-09-21 22:41:04 +00:00
pbz f445708595 Bug 1314912 - Added test for location change rate limit. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90137
2020-09-21 11:54:57 +00:00
Olli Pettay 3f30b17ab9 Bug 1665165 - Disable some bfcache tests on Fission, r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D90303
2020-09-17 17:36:24 +00:00
Andreas Farre 2c546aa7d3 Bug 1662410 - Part 3: Fix tests that use legacySHistory. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D89901
2020-09-16 14:51:11 +00:00
Andreas Farre d80d98ee5d Bug 1662410 - Part 2: Fix test infrastructure usage of legacySHistory. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D89711
2020-09-16 14:51:03 +00:00
Andreas Farre f9f96d23ca Bug 1662410 - Part 1: Fix usage of ChildSHistory.legacySHistory . r=peterv
ChildSHistory.legacySHistory isn't valid for content processes when
session history in the parent is enabled. We try to fix this by either
delegating to the parent by IPC or move the implementation partially
or as a whole to the parent.

Differential Revision: https://phabricator.services.mozilla.com/D89353
2020-09-16 14:51:01 +00:00
Anny Gakhokidze 52ff3841e4 Bug 1589102 - Part 12: Fix file_scrollRestoration.html to wait for about:blank to load before proceeding, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D87933
2020-08-28 17:21:14 +00:00
Anny Gakhokidze d9a81f5d99 Bug 1589102 - Part 8: Add a crashtest for navigating remote page to about:blank, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49427
2020-08-28 17:20:59 +00:00
Anny Gakhokidze 5755a94b86 Bug 1589102 - Part 7: Fix test_browsing_context_structured_clone.js to instead schedule precise gc, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D85086
2020-08-28 17:20:57 +00:00
Anny Gakhokidze a12aaa2425 Bug 1589102 - Part 6: Do not load more than 2 nested frames in browser_browsingContext-01.js test, r=farre
Creating more than 2 nested iframes is not allowed and is now enforced for
about:blank loads because they now take place via DocumentChannel.

Differential Revision: https://phabricator.services.mozilla.com/D85084
2020-08-28 17:20:52 +00:00
Anny Gakhokidze aa5ab9056f Bug 1589102 - Part 5: Fix tests that relied on about:blank loads happening instantenously, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D85083
2020-08-28 17:20:45 +00:00
Anny Gakhokidze 8b553ecfcf Bug 1589102 - Part 1: Enable about:srcdoc loads via DocumentChannel, r=mattwoodrow
This patch enables sandboxed srcdoc loads to take place via DocumentChannel,
and adds mechanisms for enabling unsandboxed ones.

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

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

Differential Revision: https://phabricator.services.mozilla.com/D85079
2020-08-28 17:20:30 +00:00
Mark Banner 2c1c2496b3 Bug 1660530 - Transition the docshell URIFixup tests to work with the modern search engine configuration. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D87894
2020-08-26 14:19:41 +00:00
Kris Maglione 3af8c4138c Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Edgar Chen bf43923608 Bug 1648887 - Part 2: Enable test_navigate_after_pagehide.html; r=kmag
This is a another case that hit the same assertion, we could reenable it after
bug 1611961.

Depends on D85752

Differential Revision: https://phabricator.services.mozilla.com/D85753
2020-08-06 14:49:02 +00:00
Csoregi Natalia 8fa5e9e957 Backed out 3 changesets (bug 1648887, bug 1611961) for assertion failures on WindowContext.cpp. CLOSED TREE
Backed out changeset 3719f7db339d (bug 1648887)
Backed out changeset b7c7fcb5df37 (bug 1648887)
Backed out changeset ab82a9c613f8 (bug 1611961)
2020-08-06 17:43:51 +03:00
Edgar Chen c220c51fc4 Bug 1648887 - Part 2: Enable test_navigate_after_pagehide.html; r=kmag
This is a another case that hit the same assertion, we could reenable it after
bug 1611961.

Depends on D85752

Differential Revision: https://phabricator.services.mozilla.com/D85753
2020-08-04 20:08:08 +00:00
Butkovits Atila 3bd0e5497c Backed out 10 changesets (bug 1589102) for failure at browser_saveHeapSnapshot_e10s_01.js CLOSED TREE
Backed out changeset 0d22ad297b19 (bug 1589102)
Backed out changeset 14bcaf2a452c (bug 1589102)
Backed out changeset 20905f91e2bb (bug 1589102)
Backed out changeset 29ee0fbe855f (bug 1589102)
Backed out changeset d1f6185030af (bug 1589102)
Backed out changeset 31949872cc1d (bug 1589102)
Backed out changeset ec04e1a20597 (bug 1589102)
Backed out changeset ffe8da473b91 (bug 1589102)
Backed out changeset 3b92f7306c64 (bug 1589102)
Backed out changeset b187548e258f (bug 1589102)
2020-08-05 21:47:50 +03:00
Anny Gakhokidze 38439c4928 Bug 1589102 - Part 9: Add a crashtest for navigating remote page to about:blank, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49427
2020-08-05 16:55:05 +00:00
Anny Gakhokidze 92343d143d Bug 1589102 - Part 8: Fix test_browsing_context_structured_clone.js to instead schedule precise gc, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D85086
2020-08-05 16:55:05 +00:00
Anny Gakhokidze a7d4d40dad Bug 1589102 - Part 6: Do not load more than 2 nested frames in browser_browsingContext-01.js test, r=farre
Creating more than 2 nested iframes is not allowed and is now enforced for
about:blank loads because they now take place via DocumentChannel.

Differential Revision: https://phabricator.services.mozilla.com/D85084
2020-08-05 16:44:26 +00:00
Anny Gakhokidze 5da2f83936 Bug 1589102 - Part 5: Fix tests that relied on about:blank loads happening instantenously, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D85083
2020-08-05 16:44:18 +00:00
Anny Gakhokidze e903c66d34 Bug 1589102 - Part 1: Enable about:srcdoc loads via DocumentChannel, r=mattwoodrow
This patch enables sandboxed srcdoc loads to take place via DocumentChannel,
and adds mechanisms for enabling unsandboxed ones.

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

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

Differential Revision: https://phabricator.services.mozilla.com/D85079
2020-08-05 16:44:01 +00:00
Sebastian Streich bf58055b03 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-08-04 11:10:41 +00:00
Kashav Madan 75b193e637 Bug 1655549 - Implement BrowsingContext::GetAllBrowsingContextsInSubtree, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D85311
2020-07-29 21:10:36 +00:00
Noemi Erli 5cebe61c77 Backed out changeset 4ed7b13fb7a5 (bug 1633710) for causing failures in browser_amosigned_url.js CLOSED TREE 2020-07-29 22:34:42 +03:00
Sebastian Streich ea482d8e73 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-07-29 17:33:10 +00:00
Butkovits Atila bd5a3eb15a Bug 1573892-Disable test_windowedhistoryframes.html on android opt r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D85242
2020-07-29 15:14:34 +00:00
Jonathan Almeida [:jonalmeida] e9a6ea525b Bug 1607092 - Add new quote from Book of Mozilla for GeckoView r=geckoview-reviewers,Pike,agi
Differential Revision: https://phabricator.services.mozilla.com/D80575
2020-07-07 02:22:07 +00:00
Dorel Luca 990d081d9f Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione e7d942c77f Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Dorel Luca d91c6dc40b Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione 9c2c147159 Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
prathiksha 78c662789a Bug 1617987 - Fix URLs by prefixing www. when users encounter bad cert domain errors. r=nika,keeler
Differential Revision: https://phabricator.services.mozilla.com/D82024
2020-07-18 13:38:59 +00:00
Olli Pettay 306b718cb8 Bug 1602115, make it possible to test async history.length handling even when session history lives in the child process, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D79198
2020-07-16 23:04:18 +00:00
Olli Pettay 41fc87999f Bug 1602115 - Make history.length Fission compatible, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D79197
2020-07-16 22:23:29 +00:00
Razvan Maries 4ccaec8564 Backed out 3 changesets (bug 1653123, bug 1602115) for perma failures on test_history_length_during_pageload.html. CLOSED TREE
Backed out changeset 6b3c0f542ef3 (bug 1653123)
Backed out changeset 951c0fd65a00 (bug 1602115)
Backed out changeset 258d0ebd9e34 (bug 1602115)
2020-07-16 23:21:18 +03:00
Olli Pettay e702898d75 Bug 1602115, make it possible to test async history.length handling even when session history lives in the child process, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D79198
2020-07-16 19:02:49 +00:00
Olli Pettay c142af0f58 Bug 1602115 - Make history.length Fission compatible, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D79197
2020-07-16 19:01:36 +00:00
Marco Bonardo 7e76f843c7 Bug 1641467 - Remove temporary browser.fixup.defaultToSearch feature pref and its code. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83554
2020-07-15 09:53:04 +00:00
tkhan 75ea54bf01 Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 20:34:46 +00:00
Bogdan Tara 6faddf7d8f Backed out changeset 1a0f002865d3 (bug 1650919) for test_deprecated.html failures CLOSED TREE 2020-07-13 19:22:21 +03:00
tkhan e50031dfc7 Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 13:01:43 +00:00
Kris Maglione 9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Kris Maglione eb99a31f3b Bug 1646609: Don't assert when an inactive/OOP inner window tries to navigate an OOP BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D81731
2020-07-06 19:56:32 +00:00
Andreas Farre 91413414ea Bug 1645781 - Part 2: Make nsMIMEInputStream always be serializable. r=baku,necko-reviewers
nsMIMEInputStream was conditionally serializable depending on the
wrapped stream. In general when a stream needs to be sent over IPC, if
it isn't serializable we send it using
InputStreamHelper::SerializeInputStreamAsPipe. There is no reason to
not branch on the wrapped stream when serializing nsMIMEInputStream
and use that, instead of sending the nsMIMEInputStream itself over a
pipe.

Differential Revision: https://phabricator.services.mozilla.com/D80890
2020-07-01 14:20:06 +00:00
Andreas Farre e2a874acc0 Bug 1645781 - Part 1: Test that form submit works with fission. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D79672
2020-07-01 14:26:01 +00:00
Andreas Farre 5cf90877d3 Bug 1649066 - Decrease size of body to POST. r=peterv
The smallest possible size that triggers the fission case is 1MB.

Also removed an unneeded assertion expectation.

Differential Revision: https://phabricator.services.mozilla.com/D81493
2020-06-30 08:34:29 +00:00
Coroiu Cristina 31d8600b73 Backed out changeset 6debf3390ba2 (bug 1646609) for mochitest failures on docshell/base/BrowsingContext.cpp 2020-07-01 08:39:53 +03:00
Kris Maglione d646c6cbe9 Bug 1646609: Don't assert when an inactive/OOP inner window tries to navigate an OOP BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D81731
2020-06-30 22:19:56 +00:00
Marco Bonardo d606440481 Bug 1646928 - Bogus scheme typo correction in URIFixup. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D81329
2020-06-29 14:06:06 +00:00
Gabriel Luong bcf1de6e49 Bug 1647972 - Add a new PlatformOverride field onto BrowsingContext r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D81285
2020-06-26 14:17:08 +00:00
Andreas Farre d36c42d2e0 Bug 1590762 - Part 1: Test that we don't double submit forms. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D79145
2020-06-23 13:41:27 +00:00
tkhan 6ccabd4784 Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D70362
2020-06-22 19:09:49 +00:00
Christoph Kerschbaumer c5a159437b Bug 1586686: Enable test_triggeringprincipal_iframe_iframe_window_open.html for fission. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D79995
2020-06-18 08:22:28 +00:00
Kris Maglione 3bda67deab Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
Matt Woodrow d3e50c8f76 Bug 1644943 - Create single webprogress for CanonicalBrowsingContext, regardless of process the browser element contents are in. r=nika,kmag,Gijs
I think at this point we can remove all of RemoteWebProgressManager, some/all of the TabProgressListener recreations, and probably a bunch more.

Differential Revision: https://phabricator.services.mozilla.com/D79240
2020-06-17 02:59:29 +00:00
Razvan Maries c350ad5bd6 Backed out changeset f56d5efc5e43 (bug 1644943) for build bustages on nsFrameLoaderOwner.cpp. CLOSED TREE 2020-06-17 02:55:01 +03:00
Matt Woodrow 645b2bc301 Bug 1644943 - Create single webprogress for CanonicalBrowsingContext, regardless of process the browser element contents are in. r=nika,kmag,Gijs
I think at this point we can remove all of RemoteWebProgressManager, some/all of the TabProgressListener recreations, and probably a bunch more.

Differential Revision: https://phabricator.services.mozilla.com/D79240
2020-06-16 23:24:49 +00:00
Kashav Madan 1a71fed80e Bug 1580766 - Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
This adds a `browserId` property to all browsing contexts. This ID is the same
for the entire tree of contexts inside a frame element. Each new top-level
context created for a given frame also inherits this ID. This allows identifying
the frame element for a given browsing context.

Originally authored by :mossop in D56245.

Differential Revision: https://phabricator.services.mozilla.com/D77911
2020-06-16 18:12:46 +00:00
Razvan Maries 73dfe9d277 Backed out changeset 585e0230b2d5 (bug 1580766) as requested. CLOSED TREE 2020-06-16 21:01:26 +03:00
Dave Townsend 7a5ade2788 Bug 1580766 - Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
This adds a `browserId` property to all browsing contexts. This ID is the same
for the entire tree of contexts inside a frame element. Each new top-level
context created for a given frame also inherits this ID. This allows identifying
the frame element for a given browsing context.

Originally authored by :mossop in D56245.

Differential Revision: https://phabricator.services.mozilla.com/D77911
2020-06-16 17:25:16 +00:00
Bogdan Tara 74ca6cc819 Backed out changeset 26231891f004 (bug 1644943) for browser_backforward_userinteraction.js and browser_sessionHistory.js failures CLOSED TREE 2020-06-16 02:46:15 +03:00
Matt Woodrow d075fa7e08 Bug 1644943 - Create single webprogress for CanonicalBrowsingContext, regardless of process the browser element contents are in. r=nika,kmag,Gijs
I think at this point we can remove all of RemoteWebProgressManager, some/all of the TabProgressListener recreations, and probably a bunch more.

Differential Revision: https://phabricator.services.mozilla.com/D79240
2020-06-15 22:01:34 +00:00
Logan Smyth 25d491b792 Bug 1601179 - Enable async stacks but limit captured async stacks to debuggees. r=jorendorff,smaug
The 'asyncStack' flag on JS execution contexts is used as a general switch
to enable async stack capture across all locations in SpiderMonkey, but
this causes problems because it can at times be too much of a performance
burden to general and track all of these stacks.

Since the introduction of this option, we have only enabled it on Nightly
and DevEdition for non-mobile builds, which has left a lot of users unable
to take advantage of this data while debugging.

This patch enables async stack traces across all of Firefox, but introduces
a new pref to toggle the scope of the actual expensive part of async stacks,
which is _capturing_ them and keeping them alive in memory. The new pref
limits the capturing of async stack traces to only debuggees, unless an
explicit pref is flipped to capture async traces for all cases.

This means that while async stacks are technically enabled, and code could
manually capture a stack and pass it back to SpiderMonkey and see that stack
reflected in later captured stacks, SpiderMonkey itself and related async
DOM APIs, among others, will not capture stacks or pass them to SpiderMonkey,
so there should be no general change in performance by enabling the broader
feature itself, unless the user is actively debugging the page.

One effect of this patch is that if you have the debugger open and then close
it, objects that have async stacks associated with them will retain those
stacks and they will continue to show up in stack traces, no _new_ stacks
will be captured. jorendorff and I have decided that this is okay because
the expectation that the debugger fully revert every possible effect that it
could have on a page is a nice goal but not a strict requirement.

Differential Revision: https://phabricator.services.mozilla.com/D68503
2020-06-14 02:41:45 +00:00
Kartikaya Gupta 65e2a40d98 Bug 1531971 - Make the test wait for the second page to actually paint before attempting to restore the first page from bfcache. r=smaug
The first page's content viewer is only saved in the bfcache when the second
page is painted. This can happen after the load event is fired, and in that
scenario, attempting to go back to the first page will reload it rather than
restore it from the bfcache. So for the test to work properly it needs to
wait until the second page is actually painted before it attempts go back.

Differential Revision: https://phabricator.services.mozilla.com/D79347
2020-06-11 21:19:10 +00:00
Johann Hofmann 20b1b77919 Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs
Depends on D27588

Differential Revision: https://phabricator.services.mozilla.com/D31604
2020-06-09 14:51:06 +00:00
Johann Hofmann 157f7e64a5 Bug 1515073 - Part 4 - Add test for skipping pages without user interaction on back-forward. r=Gijs
Depends on D27587

Differential Revision: https://phabricator.services.mozilla.com/D27588
2020-06-09 14:50:25 +00:00
Dorel Luca 3e35e21538 Backed out 2 changesets (bug 1580766) for XPCshell failures in unit/test_browsing_context_structured_clone.js. CLOSED TREE
Backed out changeset 6b9926a5ab88 (bug 1580766)
Backed out changeset 3722901b6309 (bug 1580766)
2020-06-09 03:39:22 +03:00
Dave Townsend 9c61384069 Bug 1580766: Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
Adds a `browserId` property to all browsing contexts which the same for the
entire tree of contexts inside a frame element. If a new top-level context is
created for the frame then it is assigned the same value.

This allows identifying the frame element for a given browsing context.

Currently this is only done for XUL frame elements (browser/iframe). Not sure
if we want this for others.

Differential Revision: https://phabricator.services.mozilla.com/D56245
2020-06-08 21:58:33 +00:00
Razvan Maries a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Razvan Maries c5a8f831d4 Backed out changeset 30c061da89d8 (bug 1580766) for perma failures on BrowsingContext.cpp. CLOSED TREE 2020-06-01 21:50:12 +03:00
Kris Maglione b3fcd970ec Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Dave Townsend 38ef8fecd1 Bug 1580766: Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
Adds a `browserId` property to all browsing contexts which the same for the
entire tree of contexts inside a frame element. If a new top-level context is
created for the frame then it is assigned the same value.

This allows identifying the frame element for a given browsing context.

Currently this is only done for XUL frame elements (browser/iframe). Not sure
if we want this for others.

Differential Revision: https://phabricator.services.mozilla.com/D56245
2020-06-01 16:52:31 +00:00
Masatoshi Kimura b9a2ffc214 Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Marco Bonardo e8fd1b7c50 Bug 1398567 - Invert URIFixup default behavior to search unless the string looks like a URI. r=Gijs
With recent fixes that can properly identify whitelisted domains, whitelisted
domain suffixed, valid known public suffixes, and forcing to visit URI-like
strings that end with a slash, it's time to re-evaluate the URIFixup behavior.
Until now URIFixup considered everything a URI unless it had specific search
characteristics, this patch inverts that behavior.
The scope of this change is to improve the urlbar behavior as the main Search
Access Point, since that's the direction we're moving towards.

This lands with a temporary hidden feature pref browser.fixup.defaultToSearch,
that will be removed once the feature has been released.

Differential Revision: https://phabricator.services.mozilla.com/D76852
2020-05-27 16:55:14 +00:00
Matt Woodrow 5cf1f845a8 Bug 1631405 - Update tests to account for security UI only living in the parent process. r=kmag,ckerschb,webcompat-reviewers,twisniewski
This is mostly changes to handle retrieving the security state asynchronously via the parent process, needing lots of async/await additions.

It also removes the docshell mixed content flag checks (which don't seem to be used in code, only tests), which are mostly still covered by checks of the security UI.

Differential Revision: https://phabricator.services.mozilla.com/D75448
2020-05-27 00:31:25 +00:00
Bogdan Tara a54ec3073f Backed out 4 changesets (bug 1631405) for multiple mochitest failures CLOSED TREE
Backed out changeset 9963cc0b23cb (bug 1631405)
Backed out changeset 469ac933ed7c (bug 1631405)
Backed out changeset 0c5f55864268 (bug 1631405)
Backed out changeset 20dcbcc2f3b8 (bug 1631405)
2020-05-27 01:30:20 +03:00
Matt Woodrow d692732bdd Bug 1631405 - Update tests to account for security UI only living in the parent process. r=kmag,ckerschb,webcompat-reviewers,twisniewski
This is mostly changes to handle retrieving the security state asynchronously via the parent process, needing lots of async/await additions.

It also removes the docshell mixed content flag checks (which don't seem to be used in code, only tests), which are mostly still covered by checks of the security UI.

Differential Revision: https://phabricator.services.mozilla.com/D75448
2020-05-26 21:19:28 +00:00
Marco Bonardo 5a5863e4ae Bug 1636583 - Make the urlbar always go through pickResult. r=adw
This changes the urlbar to always generate a result and then confirm it through
pickResult. This way we obtain a consistent behavior independently from whether
the view has a result or an action like Paste&Go happened.
Before this we used to go through getShortcutOrURIAndPostData, that implements
only a part of the urlbar logic, often causing different behavior depending on
the view state, and thus requiring constant maintenance to sync it up.
In a follow-up bug we will evaluate the complete removal of
getShortcutOrURIAndPostData in favor of direct calls to
UrlbarUtils.getHeuristicResultFor().

This also moves up a bit closer to always pass a final url to the docshell, and
stop trying to do complex URIFixup calls in it. For now we still rely
on its fix-ups for browser.fixup.dns_first_for_single_words, where we pass a
url, and if it's invalid it will instead search. See UrlbarUtils.RESULT_TYPE.URL
handling in pickResult().

Differential Revision: https://phabricator.services.mozilla.com/D75911
2020-05-23 13:25:27 +00:00
Marco Bonardo 27e6788fd3 Bug 1636583 - URIFixup should force a visit when an uri-like search string ends with a slash. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D75910
2020-05-23 13:24:44 +00:00
Dorel Luca 1b427eb7aa Backed out 3 changesets (bug 1636583) for Browser-chrome failures in browser/components/urlbar/tests/browser/browser_handleCommand_fallback.js. CLOSED TREE
Backed out changeset a2e636ff03c2 (bug 1636583)
Backed out changeset 660b7de89215 (bug 1636583)
Backed out changeset 9fd142817919 (bug 1636583)
2020-05-22 19:07:07 +03:00
Marco Bonardo 505406e25d Bug 1636583 - Make the urlbar always go through pickResult. r=adw
This changes the urlbar to always generate a result and then confirm it through
pickResult. This way we obtain a consistent behavior independently from whether
the view has a result or an action like Paste&Go happened.
Before this we used to go through getShortcutOrURIAndPostData, that implements
only a part of the urlbar logic, often causing different behavior depending on
the view state, and thus requiring constant maintenance to sync it up.
In a follow-up bug we will evaluate the complete removal of
getShortcutOrURIAndPostData in favor of direct calls to
UrlbarUtils.getHeuristicResultFor().

This also moves up a bit closer to always pass a final url to the docshell, and
stop trying to do complex URIFixup calls in it. For now we still rely
on its fix-ups for browser.fixup.dns_first_for_single_words, where we pass a
url, and if it's invalid it will instead search. See UrlbarUtils.RESULT_TYPE.URL
handling in pickResult().

Differential Revision: https://phabricator.services.mozilla.com/D75911
2020-05-21 15:00:08 +00:00
Marco Bonardo 36118c93a3 Bug 1636583 - URIFixup should force a visit when an uri-like search string ends with a slash. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D75910
2020-05-21 14:58:15 +00:00
Sid Stamm a69fe1db1b Bug 1002724 - Test that HTTPS is tried if typed host name doesn't respond via HTTP. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D75085
2020-05-21 17:33:30 +00:00
Tim Huang f522897351 Bug 1639195 - Part 2: Add a test. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D75966
2020-05-19 18:59:36 +00:00
Noemi Erli c1cca03e21 Backed out 6 changesets (bug 1002724) for failing in browser_fall_back_to_https.js CLOSED TREE
Backed out changeset e487b4cd9223 (bug 1002724)
Backed out changeset 37473a8ba1fd (bug 1002724)
Backed out changeset e868f1e0af0e (bug 1002724)
Backed out changeset 1c57f8717b15 (bug 1002724)
Backed out changeset 782808a05ff8 (bug 1002724)
Backed out changeset c60c48d170e1 (bug 1002724)
2020-05-18 19:22:19 +03:00
Sid Stamm 4f2852cbc8 Bug 1002724 - Test that HTTPS is tried if typed host name doesn't respond via HTTP. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D75085
2020-05-18 15:08:32 +00:00
Csoregi Natalia 179b0c82b2 Backed out 6 changesets (bug 1002724) for bustage on nsDocShell.cpp. CLOSED TREE
Backed out changeset 56ba616e2644 (bug 1002724)
Backed out changeset d481cf074d3b (bug 1002724)
Backed out changeset da26540ecee5 (bug 1002724)
Backed out changeset 01cbf611158a (bug 1002724)
Backed out changeset b60ba645f1f4 (bug 1002724)
Backed out changeset 4ebad0d2ca0a (bug 1002724)
2020-05-18 16:06:55 +03:00
Sid Stamm 0cc5d3ea23 Bug 1002724 - Test that HTTPS is tried if typed host name doesn't respond via HTTP. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D75085
2020-05-15 18:42:15 +00:00
Dan Glastonbury 27835d15d1 Bug 1637472 - Refactor to set customUserAgent from Parent process. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D75007
2020-05-15 14:12:22 +00:00
Marco Bonardo b53ba0122e Bug 1634650 - Add whitelisting of domain suffixes for URIFixup. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D74015
2020-05-13 16:05:04 +00:00
Dorel Luca bdddaad896 Backed out changeset 57d78ba110be (bug 1634650) for marionette failures in migration/tests/marionette/test_refresh_firefox.py. CLOSED TREE 2020-05-07 19:36:39 +03:00
Marco Bonardo 410cff4774 Bug 1634650 - Add whitelisting of domain suffixes for URIFixup. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D74015
2020-05-07 08:42:10 +00:00
Ian Moody 011b59d595 Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.

This was done automatically with a new eslint rule that will be introduced in
the next commit.  One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS.  The rule will be disabled for that instance.

Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Gijs Kruitbosch 7073bb6903 Bug 1634075 - back out changeset 0aa77ee04caa (bug 1583696) over regressions with overly long non-wrapping prompt text and visual appearance with lightweight themes, r=MattN
Things that were broken:

- prompts become unreadable when using dark-background lwthemes, because they
  keep the window text-shadow (due to the namespace change of tabmodalprompt)
- prompts with long text without word-wrap possibilities
  (e.g. `alert("x".repeat(1000))`) cause the text to escape its container.

Differential Revision: https://phabricator.services.mozilla.com/D73131
2020-04-29 20:30:37 +00:00
Jean-Yves Avenard 071771cdc7 Bug 1633319 - Wait for load before resolving promise. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D72593
2020-04-27 22:42:25 +00:00
Jean-Yves Avenard ff4bc77f97 Bug 1607984 - P12-4. Start parent load via DocumentChannel. r=mayhemer,nika,mattwoodrow,necko-reviewers
Add ParentProcessDocumentChannel object. This object is a DocumentChannel that will start a channel load from the parent process via a DocumentChannel.

The aim of this task is two-fold.
1- Be consistent on how we handle redirects before continuing the load on the final channel.
2- Prepare to initiate a process switch when needed without having to go via an intermediary content process, saving a process switch. This task will be done in a follow-up task.

The behaviour of the ParentProcessDocumentChannel is similar in logic to the DocumentChannelChild/DocumentChannelParent pair. The ParentProcessDocumentChannel sets up a DocumentLoadListener, have it handle the redirects and upon completion continue the load on the final channel.

Differential Revision: https://phabricator.services.mozilla.com/D70009
2020-04-24 01:58:23 +00:00
Tim Nguyen 059c4f1854 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-04-23 09:48:17 +00:00
Csoregi Natalia 448f2f3c76 Backed out 16 changesets (bug 1607984) for leaks on browser_ext_webRequest.js. CLOSED TREE
Backed out changeset 6c6ffa908c06 (bug 1607984)
Backed out changeset e973911e67e6 (bug 1607984)
Backed out changeset 28af6418ac16 (bug 1607984)
Backed out changeset 9a15a605f91a (bug 1607984)
Backed out changeset 52566b3564ba (bug 1607984)
Backed out changeset 142148a95181 (bug 1607984)
Backed out changeset 108e2cb6b2a9 (bug 1607984)
Backed out changeset 77fda525ee12 (bug 1607984)
Backed out changeset 980067f3ac1d (bug 1607984)
Backed out changeset 12b82a39c910 (bug 1607984)
Backed out changeset 7657023a763b (bug 1607984)
Backed out changeset 1ab8758802a6 (bug 1607984)
Backed out changeset 35f22d0817e1 (bug 1607984)
Backed out changeset b8c6277207d8 (bug 1607984)
Backed out changeset 244d3cb006be (bug 1607984)
Backed out changeset 9fc1a237829c (bug 1607984)
2020-04-23 11:49:51 +03:00
Jean-Yves Avenard faa627b41e Bug 1607984 - P12. Start parent load via DocumentChannel. r=mayhemer,nika,mattwoodrow,necko-reviewers
Add ParentProcessDocumentChannel object. This object is a DocumentChannel that will start a channel load from the parent process via a DocumentChannel.

The aim of this task is two-fold.
1- Be consistent on how we handle redirects before continuing the load on the final channel.
2- Prepare to initiate a process switch when needed without having to go via an intermediary content process, saving a process switch. This task will be done in a follow-up task.

The behaviour of the ParentProcessDocumentChannel is similar in logic to the DocumentChannelChild/DocumentChannelParent pair.
The ParentProcessDocumentChannel sets up a DocumentLoadListener, have it handle the redirects and upon completion continue the load on the final channel.

Differential Revision: https://phabricator.services.mozilla.com/D70009
2020-04-23 03:29:22 +00:00
Andreea Pavel b9c773a74f Backed out changeset 2f06fd7ef8b6 (bug 1583696) for failing test_bug619644.html on a CLOSED TREE 2020-04-23 05:16:18 +03:00
Andreea Pavel cac786a35c Backed out 16 changesets (bug 1607984) for multiple test failures e.g test timeouts on a CLOSED TREE
Backed out changeset 4509808243f5 (bug 1607984)
Backed out changeset 0cb21bedf65f (bug 1607984)
Backed out changeset 4e5d89f68293 (bug 1607984)
Backed out changeset 0c0169ed4f04 (bug 1607984)
Backed out changeset ce527a6ffba4 (bug 1607984)
Backed out changeset 63175f596762 (bug 1607984)
Backed out changeset 107be8f3737d (bug 1607984)
Backed out changeset d7600d4d3528 (bug 1607984)
Backed out changeset e11b1b0ecfbf (bug 1607984)
Backed out changeset bed3f6bee79e (bug 1607984)
Backed out changeset abe692da4556 (bug 1607984)
Backed out changeset e02b12515d60 (bug 1607984)
Backed out changeset 7a2ef225a41e (bug 1607984)
Backed out changeset c173bde5106b (bug 1607984)
Backed out changeset dc8b37e10dc7 (bug 1607984)
Backed out changeset 09a651daf344 (bug 1607984)
2020-04-23 03:47:24 +03:00
Tim Nguyen 09f305d392 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-04-22 23:46:35 +00:00
Jean-Yves Avenard fce4dd9e1f Bug 1607984 - P12. Start parent load via DocumentChannel. r=mayhemer,nika,mattwoodrow,necko-reviewers
Add ParentProcessDocumentChannel object. This object is a DocumentChannel that will start a channel load from the parent process via a DocumentChannel.

The aim of this task is two-fold.
1- Be consistent on how we handle redirects before continuing the load on the final channel.
2- Prepare to initiate a process switch when needed without having to go via an intermediary content process, saving a process switch. This task will be done in a follow-up task.

The behaviour of the ParentProcessDocumentChannel is similar in logic to the DocumentChannelChild/DocumentChannelParent pair.
The ParentProcessDocumentChannel sets up a DocumentLoadListener, have it handle the redirects and upon completion continue the load on the final channel.

Differential Revision: https://phabricator.services.mozilla.com/D70009
2020-04-22 10:27:11 +00:00
Marco Bonardo 45a8a38b0b Bug 1080682 - Use the Public Suffix List to distinguish foo.bar searches in URIFixup (and consequently the Address Bar). r=Gijs,dao
Use the PSL list to evaluate whether user typed strings in urlbar are valid URLs.
Cleanup the URIFixupInfo.fixupChangedProtocol property to be set appropriately.
Auto-correct the most common suffix typos for com, net, org.

Stop using URIFixup to trim urls when the urlbar value is set, instead always trim,
then untrim on focus if the trimmed string would cause, on navigation, a search
instead of a visit. This saves us from doing the URIfixup work on page load and
tab switch, running it only when strictly necessary.

Fix the "Did you mean to go to" prompt to show a protocol, avoiding the
confusing (but funny) "did you mean to go to 'space'" prompts.

Differential Revision: https://phabricator.services.mozilla.com/D68796
2020-04-20 12:39:08 +00:00
Stefan Hindli fb36126f61 Backed out 15 changesets (bug 1607984) for causing very frequent reftest faiures CLOSED TREE
Backed out changeset 5497c90b03de (bug 1607984)
Backed out changeset 71dffa590c10 (bug 1607984)
Backed out changeset fdacabac2c54 (bug 1607984)
Backed out changeset 5f9fe17e46b8 (bug 1607984)
Backed out changeset 8f9058eb821d (bug 1607984)
Backed out changeset 025af7792f2a (bug 1607984)
Backed out changeset c7edd070b2f3 (bug 1607984)
Backed out changeset 8e7c95d322e8 (bug 1607984)
Backed out changeset e51f6b7a745c (bug 1607984)
Backed out changeset 979d99eb12d1 (bug 1607984)
Backed out changeset f554d4ce6718 (bug 1607984)
Backed out changeset fe84e5c64b4e (bug 1607984)
Backed out changeset 05d2032060db (bug 1607984)
Backed out changeset 07ce7b11fee9 (bug 1607984)
Backed out changeset 718d89be09d2 (bug 1607984)
2020-04-15 18:33:24 +03:00
Jean-Yves Avenard 6f520a712b Bug 1607984 - P12. Start parent load via DocumentChannel. r=mayhemer,nika,mattwoodrow
Add ParentProcessDocumentChannel object. This object is a DocumentChannel that will start a channel load from the parent process via a DocumentChannel.

The aim of this task is two-fold.
1- Be consistent on how we handle redirects before continuing the load on the final channel.
2- Prepare to initiate a process switch when needed without having to go via an intermediary content process, saving a process switch. This task will be done in a follow-up task.

The behaviour of the ParentProcessDocumentChannel is similar in logic to the DocumentChannelChild/DocumentChannelParent pair.
The ParentProcessDocumentChannel sets up a DocumentLoadListener, have it handle the redirects and upon completion continue the load on the final channel.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 08:57:30 +00:00
Andreea Pavel bf1f43b298 Backed out 12 changesets (bug 1607984) for failing test_bug1339722.html on a CLOSED TREE
Backed out changeset 69c73391e8fc (bug 1607984)
Backed out changeset a3a28be516f9 (bug 1607984)
Backed out changeset 9f216e9bd32e (bug 1607984)
Backed out changeset 0b71b61415d5 (bug 1607984)
Backed out changeset 0fa85c9199a9 (bug 1607984)
Backed out changeset 4c661ed81cf2 (bug 1607984)
Backed out changeset 47beda24613f (bug 1607984)
Backed out changeset 348da0a8dd00 (bug 1607984)
Backed out changeset 3d6824e92c38 (bug 1607984)
Backed out changeset 1cfc8aad978c (bug 1607984)
Backed out changeset e11f4d334dc7 (bug 1607984)
Backed out changeset c499fa55d0f2 (bug 1607984)
2020-04-15 11:53:11 +03:00
Jean-Yves Avenard bb7dcaf857 Bug 1607984 - P12. Start parent load via DocumentChannel. r=mayhemer,nika,mattwoodrow
Add ParentProcessDocumentChannel object. This object is a DocumentChannel that will start a channel load from the parent process via a DocumentChannel.

The aim of this task is two-fold.
1- Be consistent on how we handle redirects before continuing the load on the final channel.
2- Prepare to initiate a process switch when needed without having to go via an intermediary content process, saving a process switch. This task will be done in a follow-up task.

The behaviour of the ParentProcessDocumentChannel is similar in logic to the DocumentChannelChild/DocumentChannelParent pair.
The ParentProcessDocumentChannel sets up a DocumentLoadListener, have it handle the redirects and upon completion continue the load on the final channel.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 07:07:06 +00:00
Mike Hommey ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Marco Bonardo 758aa4f647 Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
Differential Revision: https://phabricator.services.mozilla.com/D66579

--HG--
extra : moz-landing-system : lando
2020-04-08 11:30:14 +00:00
Nika Layzell 7031bc0da0 Bug 1616353 - Part 12: Remove or fix tests which try to set OriginAttributes too late, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D67059

--HG--
extra : moz-landing-system : lando
2020-04-07 21:39:57 +00:00
Razvan Maries 3b66f5f729 Backed out changeset b86e8f2cc5db (bug 1496578) for build bustages on nsDocShell.cpp. CLOSED TREE 2020-04-08 01:16:33 +03:00
Marco Bonardo 7457a384f2 Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
Differential Revision: https://phabricator.services.mozilla.com/D66579

--HG--
extra : moz-landing-system : lando
2020-04-07 21:55:24 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

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

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +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 8a55bc1226 Bug 1616353 - Part 12: Remove or fix tests which try to set OriginAttributes too late, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D67059

--HG--
extra : moz-landing-system : lando
2020-04-06 14:30:33 +00:00
Neil Deakin 61184721de Bug 1610141, findbar should only apply to the main browsers and tests, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D68782

--HG--
extra : moz-landing-system : lando
2020-03-30 15:10:52 +00:00
Peter Van der Beken d3031742f5 Bug 1622420 - Cleanup docshell/test/browser/browser_bug422543.js. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D68573

--HG--
extra : moz-landing-system : lando
2020-04-01 10:28:44 +00:00
Peter Van der Beken 88d677afa5 Bug 1622420 - Set the current WindowContext for BrowsingContexts newly created over IPC. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D68572

--HG--
extra : moz-landing-system : lando
2020-04-01 12:54:28 +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
Boris Zbarsky cf6ef6a24b Bug 1467437. Align with other browsers and the spec for whether hashchange and popstate events bubble. r=smaug
I think I caught all the places in our tree that add event listeners for these
events on a non-Window (and hence depend on bubbling behavior), but I'm a
little worried about what happens if webextensions do bareword
addEventListener() for these events...

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:45:50 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Anny Gakhokidze 29dd301b29 Bug 1609475 - Expand on the comment about special behaviour in docshell/test/navigation/file_bug1609475.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64426

--HG--
extra : moz-landing-system : lando
2020-02-26 21:39:42 +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
Matt Woodrow f5dd8136c6 Bug 1615967 - Move customUserAgent to BrowsingContext. r=nika,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D63040

--HG--
extra : moz-landing-system : lando
2020-02-24 02:15:03 +00:00
Olli Pettay 4ecbebad86 Bug 1609475, history.go(>1) should possibly load several iframes, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D63726

--HG--
extra : moz-landing-system : lando
2020-02-22 16:44:18 +00:00
Andreea Pavel 3f1905ccdc Backed out changeset 2bd2a22267d6 (bug 1609475) for failing test_sessionhistory.html on a CLOSED TREE 2020-02-22 01:46:26 +02:00
Olli Pettay 72ae1c9ce2 Bug 1609475, history.go(>1) should possibly load several iframes, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D63726

--HG--
extra : moz-landing-system : lando
2020-02-21 21:55:07 +00:00
egao a3a95d7b94 Bug 1613983 - adjust test manifests for linux64 browser-chrome tests on ubuntu 1804, r=jmaher.
Depends on D63435

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

--HG--
extra : moz-landing-system : lando
2020-02-20 13:50:30 +00:00
Valentin Gosu e828cd7d68 Bug 1611469 - backgroundPageThumbsContent.js mixes nsIRequest and nsIWebNavigation load flags r=markh
The patch ensures we don't pass a nsIWebNavigation load flag to
nsIDocShell.defaultLoadFlags which is supposed to get nsLoadFlags (nsIRequest).

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

--HG--
extra : moz-landing-system : lando
2020-01-28 14:47:23 +00:00
Boris Zbarsky ebbddce5e1 Bug 1598513. Apply the same polling fixes as in bug 1605807 but to this test. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D60346

--HG--
extra : moz-landing-system : lando
2020-01-21 20:42:07 +00:00
Boris Zbarsky 69f068dde7 Bug 1605807 followup. Fix more polling flakiness in this test. r=test-only
I tested this by using delay(1) instead of delay(100), which reliably gives me
the "Is on an error page initially" failure without these changes and reliably
passs with them.

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

--HG--
extra : histedit_source : e1c31b6183b569d7474af0de09292cc51635af5d
2020-01-18 06:35:29 +02:00
Boris Zbarsky 238012c70a Bug 1605807. Fix flaky polling in test. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D60079

--HG--
extra : moz-landing-system : lando
2020-01-16 18:47:20 +00:00
Samael Wang d09c6ebd50 Bug 836567 - Part 2: Replace inapplicable tests with a web-platform-test for reloading after setting javascript: URI, and fix other tests relying on javascript: URI. r=Gijs,miker
Some notes about the changes:

Both test_bug384014.html and test_bug123696.html were testing reloading of
javascript: URI. The expected result of the iframes after reloading would
become about:blank. I deleted both file and instead wrote with
web-platform-test to cover reloading of javascript: URI since wpt is more
preferable.

storage-cache-error.html was utilizing javascript: URI to test bug 1262766.
javascript: URI would cause CacheStorage::Keys to throw a dom security
exception because the URI's principal (which did not match the principal of the
document in this case!) was a nullpricipal.  With my patches the iframe's URL
would no longer be the javascript: URI, so it's no longer applicable for the
test case. Instead we can test what bug 1262766 was originally about - that
CacheStorage::Keys would throw a dom security exception if it's in a private
browsing window.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 10:43:56 +00:00
Johann Hofmann 54949e252f Bug 353933 - Make OnOverlink use CreateExposableURI. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59428

--HG--
extra : moz-landing-system : lando
2020-01-10 12:45:38 +00:00
Emma Malysz ebaa98b111 Bug 1601113, replace URIs ending in vnd.mozilla.xul+xml with xhtml+xml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57148

--HG--
extra : moz-landing-system : lando
2019-12-17 00:33:16 +00:00
Kris Maglione 0b1a146519 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +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
Henri Sivonen 5c2bad25ab Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D56362

--HG--
extra : moz-landing-system : lando
2019-12-12 17:50:19 +00:00
Anny Gakhokidze d75349c3c6 Bug 1594390 - Keep session history listener alive in browser_test_bfcache_eviction.js when SH pref is on, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56947

--HG--
extra : moz-landing-system : lando
2019-12-12 15:13:00 +00:00
Oana Pop Rus df78d6011c Backed out changeset 0810ad586986 (bug 1551276) for wpt failures in ar-ISO-8859-6-late.tentative.html on a CLOSED TREE 2019-12-12 16:38:54 +02:00
Henri Sivonen 07527a83c9 Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D56362

--HG--
extra : moz-landing-system : lando
2019-12-12 12:59:47 +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 356e59c6bc Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:22 +00: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
Anny Gakhokidze f0f6cb1643 Bug 1594390 - Keep session history listener alive in docshell/test/navigation/browser_test_bfcache_eviction.js, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D56600

--HG--
extra : moz-landing-system : lando
2019-12-10 21:10:52 +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 bd497b1a21 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00: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 73e3d8bcf6 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:25 +00: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
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Matt Woodrow a2c085754a Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer
We normally get HttpChannelParent::OnStartRequest directly from nsHttpChannel::OnStartRequest, where we disable content conversion and ask the child to do it instead.

When we install a multipart converter, we defer calling HttpChannelParent::OnStartRequest until we've decoded parts, at which point content conversion is already applied to the stream.

This detects that case, and stops the child trying to do it a second time (which fails, and breaks the content).

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

--HG--
extra : moz-landing-system : lando
2019-12-04 03:19:26 +00:00
Kashav Madan 9d25758002 Bug 1423959 - Cleanup browser_loadURI.js and re-enable it on all platforms, r=kmag
This ensures that we wait for the desired URL in the browserLoaded call, rather
than resolving the first-loaded one.

This also renames the file to make it more indicative of what it actually tests.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 16:13:26 +00:00
Andreea Pavel fa9f14d3a2 Bug 1423959 - disable browser_loadURI.js on win10 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D54437

--HG--
extra : moz-landing-system : lando
2019-11-25 10:56:54 +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
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
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
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
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
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
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
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
Sebastian Hengst 401f1ce710 Merge mozilla-inbound to mozilla-central. a=merge 2019-11-06 14:54:44 +01:00
Brendan Dahl eafc9e3293 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-05 17:56:28 +00:00
Dorel Luca c8d81d0c68 Bug 1586686 = Disable test_triggeringprincipal_iframe_iframe_window_open.html on Linux64-fis-debug-webrender for frequent failures r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D51634

--HG--
extra : moz-landing-system : lando
2019-11-04 20:50:07 +00:00
Mihai Alexandru Michis b819bd25aa Backed out 2 changesets (bug 1470510) for causing bustages in widget/cocoa/nsChildView.mm CLOSED TREE
Backed out changeset a343f30c34a3 (bug 1470510)
Backed out changeset 4da64790094d (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
2019-11-05 09:24:26 +02:00
Brendan Dahl 0c0da7791e Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 23:37:31 +00:00
Peter Van der Beken 9c3b7900e5 No bug - Reformat testcases in docshell/test. r=me
--HG--
extra : rebase_source : 07436dac998b1f6e3c722a6bb432aebc04590332
extra : source : fc144a705ce9b9a8b885447fb4c168f878ca77d3
extra : histedit_source : d85e30a64c6286d762262a7344dd3cc73ede3d4f
2019-11-04 14:28:08 +01:00
Peter Van der Beken 20333f0715 Bug 1591899 - Make various docshell tests work with session history in the parent turned off. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50791

--HG--
extra : rebase_source : e8441d50b7bdc59933e5adc6430b01039e775515
extra : source : c24e9ca249b1d21e20f3c99cb8ae752c441e4b86
extra : histedit_source : e4071f2be4c58baef0f26303d5a16f985fea8506
2019-10-15 09:25:03 +02:00
Dorel Luca 0207ce5451 Backed out 2 changesets (bug 1470510) for build bustage on /build/src/widget/cocoa/nsChildView.mm. CLOSED TREE
Backed out changeset 5967bf633574 (bug 1470510)
Backed out changeset 067a556bb614 (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
extra : amend_source : 752d828c6a0726c3f2df57a25741e38b36b75d6b
2019-11-04 19:18:56 +02:00
Brendan Dahl 247b257cfa Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 16:52:35 +00:00
Andrew McCreight 2b7c6b4c81 Bug 1592465 - Modernize browser_bug343515.js. r=bzbarsky
I rewrote BrowserUtils.addContentEventListener(), and that caused an
intermittent failure in browser_bug343515.js. The use of
addContentEventListener in the test is questionable, and the test as a
whole is old, so I freshened it up.

Instead of nShotsListener (and oneShotListener, which is a special
case of that) which waits for a hard coded number of load events to
fire to ensure that a page and its subframes are all loaded, I use
BrowserTestUtils.browserLoaded().

Instead of waitForPageshow, which runs a script in the content process
that waits for an event, it uses BrowserTestUtils.waitForContentEvent,
which does the same thing in a hopefully more resilient fashion.

The largest change in terms of number of characters changed is that I
rewrote the test so that it is written inside of a single add_task
async function, instead of being split into a chain of async
functions. I also used await to flatten a lot of .then() chained
things.

I fixed up some variable shadowing. There was some trickiness around
shadowed variable names being used as field names, so I introduced an
intermediate 'data' variable to hold the structure.

Finally, I call BrowserTestUtils.removeTab() instead of calling
removeTab() directly on the browser. I figured that was probably
better, though maybe it does not matter.

I added a check after each step that the URI is correct, where
missing, which would have caught a bug in an earlier version of this
patch.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 02:47:08 +00:00
Kashav Madan c39158719d Bug 1582531 - Update fission annotations for tests that pass, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D50507

--HG--
extra : moz-landing-system : lando
2019-10-30 21:51:22 +00:00
Ehsan Akhgari 5b7ceaf11d Bug 1528115 - Remove support for the hidden private window; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51099

--HG--
extra : moz-landing-system : lando
2019-10-30 15:35:31 +00:00
Kashav Madan 498ac84e23 Bug 1590239 - Send a "browsing-context-discarded" notification when detaching, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D50520

--HG--
extra : moz-landing-system : lando
2019-10-29 17:15:29 +00:00
Christoph Kerschbaumer 78b7848da6 Bug 1592201: Enable test_bug13871.html with fission enabled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50905

--HG--
extra : moz-landing-system : lando
2019-10-29 14:08:20 +00:00
Olli Pettay 542288fa53 Bug 1396309, try to make file_fragment_handling_during_load.html less racy, r=peterv
The changes try to ensure we haven't really started load process of the new page, just that
there is ongoing active request. history.back() will then only affect to the fragment navigation.

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

--HG--
rename : docshell/test/navigation/file_fragment_handling_during_load_frame2.html => docshell/test/navigation/file_fragment_handling_during_load_frame2.sjs
extra : moz-landing-system : lando
2019-10-28 20:18:24 +00:00
Arthur Iakab 2db2be67ab Bug 1591865 - enable test on fission because it is fixed. a=test-only CLOSED TREE
--HG--
extra : amend_source : 1418e4a510118edec95bb8d5ceff29dba0da869b
2019-10-28 22:20:22 +02:00
Christoph Kerschbaumer 3c9fc41d3d Bug 1591865: Make browser_cross_process_csp_inheritance.js work with fission enabled. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D50842

--HG--
extra : moz-landing-system : lando
2019-10-28 18:55:53 +00:00
Andreas Farre 6330b1de84 Bug 1575051 - Part 3: Test that nsWindowWatcher can find windows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48977

--HG--
extra : moz-landing-system : lando
2019-10-24 14:53:07 +00:00
Andreas Farre 268d5bd571 Bug 1575051 - Part 1: Remove nsIDocShellTreeItem.findItemWithName. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46285

--HG--
extra : moz-landing-system : lando
2019-10-24 14:53:07 +00:00
Anny Gakhokidze d7799e93d3 Bug 1579093 - Fix failing test docshell/test/navigation/test_load_history_entry.html on ash, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D48558

--HG--
extra : rebase_source : 6f4571435f59bd12fe79584e3ce88d12a88c661a
extra : source : 2353562bc8aa7330ee6dfae16c25b9023d8598f6
extra : histedit_source : 4601cdab3a0ebcf0e72088e8e715ea8fe15bd146
2019-09-30 17:58:02 -04:00
Dorel Luca c50e4ba81d Backed out changeset 578e4005a84b (bug 1588118) for Browser-chrome failures in docshell/test/browser/browser_uriFixupIntegration.js. CLOSED TREE 2019-10-23 02:06:52 +03:00
Gijs Kruitbosch f5e7a6ea1b Bug 1588118 - use the right flag to guard search service use from the URI fixup code, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D50051

--HG--
extra : moz-landing-system : lando
2019-10-22 22:05:53 +00:00
Mark Banner 2e1253978b Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652

--HG--
extra : moz-landing-system : lando
2019-10-18 18:53:36 +00:00
Oana Pop Rus 852f034b58 Backed out 2 changesets (bug 1588785) for causing bc perma failures in browser_searchDefaultEngine.js on a CLOSED TREE
Backed out changeset 6ad4b26b21d7 (bug 1588785)
Backed out changeset 4a4afa268baf (bug 1588785)
2019-10-18 18:45:58 +03:00
Mark Banner c481f33c74 Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652

--HG--
extra : moz-landing-system : lando
2019-10-18 13:48:17 +00:00
Marco Bonardo de0b357887 Bug 1588756 - Intermittent TV docshell/test/browser/browser_uriFixupIntegration.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D49473

--HG--
extra : moz-landing-system : lando
2019-10-17 10:59:56 +00:00
Andrew McCreight 2e32ec2b4b Bug 1589138 - Make addContentEventListener take an options object for the listener. r=Gijs
All but browser_bug744745.js seem to pass even without the fixes I
made, which seems odd.

browser_bug1058164.js is a little odd because it passes in {} instead
of a boolean for the useCapture argument. I think this ends up calling
addEventListener(..., {}, false), which should be the equivalent of
addEventListener(..., {}).

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

--HG--
extra : moz-landing-system : lando
2019-10-16 17:36:44 +00:00
Geoff Brown c906073cd5 Bug 1585119 - Re-enable many mochitests on android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.
With the additional tests running, task times increase; I have added one
more test chunk for android mochitest-plain.
These tests were identified from a random sampling of mochitest manifests;
I intend to enable more mochitests in future patches.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 15:07:09 +00:00
Marco Bonardo a06a5b8ccb Bug 1588298 - Ensure CreateFromLoadURIOptions passes the appropriate PRIVATE flag to URIFixup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D49154

--HG--
extra : moz-landing-system : lando
2019-10-15 08:11:45 +00:00
Narcis Beleuzu 68337a887d Backed out 3 changesets (bug 1575051) for bc failures on browser_browsingContext-getWindowByName.js . CLOSED TREE
Backed out changeset 67aaf4a157af (bug 1575051)
Backed out changeset e01256038537 (bug 1575051)
Backed out changeset 0c8f70f9328b (bug 1575051)
2019-10-14 19:19:05 +03:00
Andreas Farre c72a747c1c Bug 1575051 - Part 3: Test that nsWindowWatcher can find windows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48977

--HG--
extra : moz-landing-system : lando
2019-10-14 12:07:19 +00:00
Andreas Farre e5c730845d Bug 1575051 - Part 1: Remove nsIDocShellTreeItem.findItemWithName. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46285

--HG--
extra : moz-landing-system : lando
2019-10-14 12:07:14 +00:00
Marco Bonardo cff612c7b4 Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs
Add a new FIXUP_FLAG_PRIVATE_CONTEXT to nsIURIFixup, make it use the default
private search engine when it's set.
Update consumers to pass the new flag when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 12:37:51 +00:00
Kris Maglione 96062b8b7d Bug 1586926 - Add necessary caller access checks for cross-process Location navigations. r=nika
We attempt to enforce the same (approximate) access checks to Location-based
navigation that we use for loads that use named targeting (e.g., via
window.open), so that a frame that can't be navigated via, e.g., window.open,
also can't be navigated via, e.g., window.parent[1].location = url. For the
in-process case, this is handled by a somewhat hidden call to
CheckLoadingPermissions() in nsDocShell::InternalLoad, where the former checks
whether the principal of whatever JS context happens to be on the stack
subsumes the principal of the target DocShell or any of its ancestors, and
blocks the load if it doesn't.

Since there is no JS context on the stack when we call into the DocShell
loading code in the cross-process case, the check is simply ignored.

So we need to instead do the check in BrowsingContext::LoadURI, where we
already have an explicit accessor, and can simply use the standard access
checks that we use elsewhere.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 19:36:23 +00:00
Dylan Roeh 1657764793 Bug 1563343 - Do not search for OS protocol handlers in GV; just let Gecko return ERROR_UNKNOWN_PROTOCOL. r=snorp,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D46311

--HG--
extra : moz-landing-system : lando
2019-10-08 19:05:09 +00:00
Kris Maglione 1be547aab5 Bug 1586119: Part 3 - Enable some tests which appear to work under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D48222

--HG--
extra : moz-landing-system : lando
2019-10-04 21:50:32 +00:00
Kris Maglione 147f1b5141 Bug 1586119: Part 2 - Fix some more tests to almost work under Fission. r=mccr8
These still fail or timeout because of missing platform features, but at least
the tests will pass once those platform features are fixed after this.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 21:50:34 +00:00
Kris Maglione b8a4406b8e Bug 1586119: Part 1 - Fix a couple of tests to work under Fission. r=mccr8
The key change here is to use SpecialPowers.spawn to access `location.href`
and `location.reload()` for remote windows in the correct proceses. The
remaining changes are refactorings to make it easier to encorporate async
operations like `SpecialPowers.spawn` in the test logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 21:55:07 +00:00
Brindusan Cristian 203fbcd6c8 Backed out 2 changesets (bug 1582716, bug 1575051) for gv-junit failures, new exception. CLOSED TREE
Backed out changeset b5aa3ac4483e (bug 1582716)
Backed out changeset c385531b4ee3 (bug 1575051)
2019-09-24 19:47:00 +03:00
Andreas Farre 3977fe175d Bug 1575051 - Remove nsIDocShellTreeItem.findItemWithName. r=kmag
This also allows us to remove TabGroup::FindItemWithName, which is a
big step towards removing TabGroup entirely.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 13:16:26 +00:00
Brindusan Cristian 52d6534a82 Backed out changeset 0ebd1612a4ae (bug 1575051) for gv-junit crashes and bc failures on browser_browsingContext-02.js. CLOSED TREE 2019-09-24 15:08:41 +03:00
Andreas Farre 3238beb123 Bug 1575051 - Remove nsIDocShellTreeItem.findWithName. r=kmag
This also allows us to remove TabGroup::FindItemWithName, which is a
big step towards removing TabGroup entirely.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 10:58:47 +00:00
Emilio Cobos Álvarez 2e05768081 Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 10:16:44 +00:00
Bogdan Tara 8675cadd18 Backed out changeset d984fd004e7e (bug 1578379) for ES lint failure on browser_tab_replace_while_loading.js CLOSED TREE 2019-09-23 13:00:56 +03:00
Emilio Cobos Álvarez 10fa3b178f Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:36:59 +00:00
Dorel Luca f5e74811ca Merge mozilla-central to mozilla-inbound 2019-09-21 00:58:45 +03:00
Kris Maglione 685d91c901 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

MANUAL PUSH: Cannot update reopened Phabricator revisions.

--HG--
extra : source : 86b3d469b4ff9f22e5757f83450b956a4c769785
extra : histedit_source : 2bf945343632b15eb79cf6b2ddd3ce097ddf70de%2Caec93d9f11bc1c802b63793cd5818530b64e9b4b
2019-09-20 10:18:15 -07:00
Kris Maglione 99714a4e22 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329

--HG--
extra : source : acff4a6636719d9302d1a893e1f3ca392c8f99e5
extra : histedit_source : c727f4637a48f89ecb29233dba0a4aba0ed9ffd9%2Cfd70bbd8400e8aba9a4dc57956bfc9f1320e20db
2019-09-20 04:43:48 +00:00
Kashav Madan 596682e758 Bug 1582156 - Fix docshell/test/navigation/browser_test-content-chromeflags.js to work with Fission, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46298

--HG--
extra : moz-landing-system : lando
2019-09-19 17:49:39 +00:00
Kris Maglione 5092322d3b Bug 1580355: Run findWithName checks in the correct process and update to expect access checks. r=farre
BrowsingContext.findWithName is required to do access checks based on the
requestor, which can only be done in the process which owns it. This change
also alters the behavior of the existing CanAccess origin checks, which
typically treat any item as same-origin, but only when the docshells are
actually same process.

Removing the exemption fixes the behavior discrepancy between Fission and
non-Fission runs, but also requires that the test be updated to expect proper
access checks. Which is the situation we really want to test, anyway.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 11:33:53 +00:00
Daniel Varga f0411a344a Backed out 6 changesets (bug 1553804) for browser-chrome failure at browser/base/content/test/general/browser_fullscreen-window-open.js. On a CLOSED TREE
Backed out changeset 86b3d469b4ff (bug 1553804)
Backed out changeset 301e0d883a5f (bug 1553804)
Backed out changeset acff4a663671 (bug 1553804)
Backed out changeset 1574aecf3177 (bug 1553804)
Backed out changeset 3acf056e792e (bug 1553804)
Backed out changeset 1ed250faeb2e (bug 1553804)
2019-09-20 10:09:54 +03:00
Kris Maglione 136131d397 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

--HG--
extra : moz-landing-system : lando
2019-09-20 04:44:02 +00:00
Kris Maglione b79b2c3aa0 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:48 +00:00
Marco Bonardo fdfb9d4446 Bug 1578856 - browser.fixup.dns_first_for_single_words and the keyword-uri-fixup UI are broken. r=adw
In the Quantum Bar it's usually the urlbar code that decides whether a search
string should be visited or searched. if dns_first_for_single_words is set,
we can't make a final decision, because that depends on a dns lookup. For now
we don't want to duplicate the docshell code, also because we must keep the
old behavior functioning for cases where the urlbar value is set without input.

Similarly, when the docshell decides to search for a single word host, and a
dns lookup resolves it, it also shows a prompt asking the user if he meant to
visit it instead of searching. Because the urlbar skips the docshell decision
making, we must manually call the fixup prompt code from the urlbar.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:46:34 +00:00
Kris Maglione 165096efe5 Bug 1579820 - Handle window.open() from remote subframes. r=nika
The CommonCreateWindow code requires having a BrowserHost for the tab that's
creating the window, which it tries to get from the requestor's BrowserParent.
For remote BrowserParents, though, there is no BrowserHost, so we need to get
it from the top-level embedder instead.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 09:04:17 +00:00
Nika Layzell ff18afeafd Bug 1562029 - Remove fission.oopif.attribute support, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D44859

--HG--
extra : moz-landing-system : lando
2019-09-06 14:45:51 +00:00
Geoff Brown 56ca134785 Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc
Remove test manifest annotations that specifically target fennec,
or likely target the android 4.3 emulator.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 16:51:10 +00:00