Emilio Cobos Álvarez
5db814c383
Bug 1815255 - Fix tests to deal with flexbox emulation. r=Jamie,Gijs
...
Mostly changing XUL attributes to CSS properties, though there are a few
tricky ones:
* test_offsets.xhtml expects the scroller to be full-width, while
modern flexbox would honor width: 200px (so just remove it).
* window_intrinsic_size.xhtml was relying on the div imposing a XUL
min-size (the test is for SetSizeConstraints, bug 1447056). Use
min-height instead as that's what modern flexbox reads. Confirmed
that bug doesn't regress in any case.
* object-fit-contain-png-001.xhtml has a float: left which had no
effect on -moz-box, but which assert with modern layout[1]. In the
future I think we could remove that assert but anyways, for now just
keeping behavior.
* image-size.xhtml has a couple uninvestigated sizing differences. They
didn't seem problematic.
* 579323-1-ref.html changes because the other file has a canvas with
width=100 height=100 which imposes an aspect ratio (which XUL never
honored).
* window_largemenu.xhtml shows a regression, but this never worked on
some platforms (at least Linux+Wayland) and nobody has noticed it in
the browser area, so I suspect we're fine.
[1]: https://searchfox.org/mozilla-central/rev/08362489086b10de96e7a199b267ea5504c01583/layout/generic/ReflowInput.cpp#2137
Differential Revision: https://phabricator.services.mozilla.com/D169084
2023-02-08 16:52:18 +00:00
Gijs Kruitbosch
c906d6f529
Bug 1795255 - manual fixes for tests that break after applying this lint rule, r=Standard8,necko-reviewers,extension-reviewers,credential-management-reviewers,sgalich,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D167802
2023-01-31 11:48:41 +00:00
Gijs Kruitbosch
129735a58b
Bug 1811854 - switch remaining tests to BrowserTestUtils.loadURIString from BrowserTestUtils.loadURI, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D167558
2023-01-24 13:19:11 +00:00
Gijs Kruitbosch
cb015ad1d8
Bug 1810995 - update BrowserTestUtils.loadURI consumers to use loadURIString (automated) - dom and docshell - r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D167152
2023-01-19 20:16:41 +00:00
Cosmin Sabou
0869b4045d
Backed out changeset 7e708c1c9d9d (bug 1805182
) for causing SessionHistory related failures.
2023-01-19 19:37:59 +02:00
Sean Feng
930130580b
Bug 1805182
- Fix the bug where postData is lost when the LoadingSessionHistoryEntry is replaced for redirect r=peterv
...
The postData should be carried over when we replace the
LoadingSessionHistoryEntry for the redirect.
Differential Revision: https://phabricator.services.mozilla.com/D166176
2023-01-19 15:34:47 +00:00
Artur Iunusov
c4ec4d7309
Bug 1671548 - Remove fission experiment support code and prefs, r=smaug,
...
r=tritter
- backed out changesets: 1660057, 1667426, 1674214,
1669749, 1685801, 1667381
- fission.experiment support removed everywhere, including telemetry
Differential Revision: https://phabricator.services.mozilla.com/D165169
2023-01-17 10:05:36 +00:00
Mark Banner
d691c51a0d
Bug 1808173 - Convert prompts imports to direct ES imports. r=Gijs,webdriver-reviewers,necko-reviewers,application-update-reviewers,credential-management-reviewers,valentin,whimboo,dimi,bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D165794
2023-01-16 13:32:20 +00:00
lyavor
a1593f002b
Bug 1802505 - Add disable next line for all docshell/test/mochitest and docshell/test/chrome r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D164229
2022-12-29 12:24:15 +00:00
Valentin Gosu
df13492ee4
Bug 1596845
- Make DNSServices available as Services.dns
r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 09:26:17 +00:00
Marian-Vasile Laza
56b22ee0ba
Backed out 9 changesets (bug 1596845
) for causing xpcshell failures on test_trr_enterprise_policy.js. CLOSED TREE
...
Backed out changeset 231acfc052bb (bug 1596845
)
Backed out changeset 7d02dad4d720 (bug 1596845
)
Backed out changeset b0449eec2671 (bug 1596845
)
Backed out changeset 5cd033c9ef7c (bug 1596845
)
Backed out changeset 98d583f1d19e (bug 1596845
)
Backed out changeset b78bc0049605 (bug 1596845
)
Backed out changeset 88919aaff89b (bug 1596845
)
Backed out changeset f4adb3e7b8e1 (bug 1596845
)
Backed out changeset b171f7ac0b40 (bug 1596845
)
2022-12-23 09:21:39 +02:00
Valentin Gosu
6ca2987fe1
Bug 1596845
- Make DNSServices available as Services.dns
r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 01:20:03 +00:00
Sandor Molnar
56d5efdcae
Backed out 9 changesets (bug 1596845
) for causing mochitest failures in browser/base/content/test/about/browser_aboutCertError_telemetry.js
...
Backed out changeset eb1e34c3041f (bug 1596845
)
Backed out changeset af6d41439c60 (bug 1596845
)
Backed out changeset f1447dd8df04 (bug 1596845
)
Backed out changeset a383f2bbcaae (bug 1596845
)
Backed out changeset 950c66dd6133 (bug 1596845
)
Backed out changeset ab300239fd69 (bug 1596845
)
Backed out changeset 8e1fe024b680 (bug 1596845
)
Backed out changeset 80e5048d1f35 (bug 1596845
)
Backed out changeset b14a4910d73b (bug 1596845
)
2022-12-23 00:56:35 +02:00
Valentin Gosu
ff04cde9bd
Bug 1596845
- Make DNSServices available as Services.dns
r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-22 21:16:07 +00:00
Emilio Cobos Álvarez
a14c746228
Bug 1805415 - Use activateItem() rather than click() to activate menuitems. r=Gijs,extension-reviewers,pip-reviewers,search-reviewers
...
Bug 1805414 will move menu event handling to the DOM.
With that change the current synthetic click behavior of XUL menuitems
breaks. On current central, we rely on nsMenuFrame::HandleEvent not
getting called at all for synthetic clicks, and instead we just fire a
command event synchronously here:
https://searchfox.org/mozilla-central/rev/a0d4f8f112c5c792ae272bf6ce50763ddd23ffa2/dom/xul/nsXULElement.cpp#1071
After my patch the command event is fired properly (potentially
asynchronously too) by the regular menu activation machinery, which is
preferable.
* They fire a command event synchronously (even though on some
platforms like macOS activating a context menu item is async).
* They use a totally different codepath from what a user does.
* They don't deal with native menus, etc.
We have a proper API for this (activateItem) which takes a much more
closer codepath to what users do, requires that the menu is shown, etc.
Use that API instead for testing.
As a benefit, tests now do not need to close the context menu manually
when clicking on a menu item (because we trigger the same code path as
users clicking the menu).
Differential Revision: https://phabricator.services.mozilla.com/D164567
2022-12-15 03:11:55 +00:00
Cristian Tuns
b638ccfac9
Backed out 2 changesets (bug 1805415) for causing dt failures on browser_net_telemetry_throttle_changed.js CLOSED TREE
...
Backed out changeset 5056d7df9f1e (bug 1805415)
Backed out changeset e13513500184 (bug 1805415)
2022-12-14 08:52:21 -05:00
Emilio Cobos Álvarez
be1f057109
Bug 1805415 - Use activateItem() rather than click() to activate menuitems. r=Gijs,extension-reviewers,pip-reviewers,search-reviewers
...
Bug 1805414 will move menu event handling to the DOM.
With that change the current synthetic click behavior of XUL menuitems
breaks. On current central, we rely on nsMenuFrame::HandleEvent not
getting called at all for synthetic clicks, and instead we just fire a
command event synchronously here:
https://searchfox.org/mozilla-central/rev/a0d4f8f112c5c792ae272bf6ce50763ddd23ffa2/dom/xul/nsXULElement.cpp#1071
After my patch the command event is fired properly (potentially
asynchronously too) by the regular menu activation machinery, which is
preferable.
* They fire a command event synchronously (even though on some
platforms like macOS activating a context menu item is async).
* They use a totally different codepath from what a user does.
* They don't deal with native menus, etc.
We have a proper API for this (activateItem) which takes a much more
closer codepath to what users do, requires that the menu is shown, etc.
Use that API instead for testing.
As a benefit, tests now do not need to close the context menu manually
when clicking on a menu item (because we trigger the same code path as
users clicking the menu).
Differential Revision: https://phabricator.services.mozilla.com/D164567
2022-12-14 10:25:17 +00:00
lyavor
eb81c040db
Bug 1801843 - Add disable next line for all docshell/test/browser r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D162713
2022-12-08 12:41:59 +00:00
Kris Maglione
d41332a044
Bug 1797219 - Bump the timeout limit of browser_onbeforeunload test again. r=nika
...
Splitting the test wasn't enough to prevent the frequent timeouts, and there really isn't a sensible way to split it any further.
Differential Revision: https://phabricator.services.mozilla.com/D163502
2022-11-30 21:12:10 +00:00
Olli Pettay
c142ec355c
Bug 1798780, ensure we don't evict the current frameloader, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D163391
2022-11-30 15:38:00 +00:00
Mark Banner
7e3d560461
Bug 1791974 - Use setAsDefault* parameters where appropriate for consumers of SearchTestUtils.installSearchExtension. r=mcheang
...
Differential Revision: https://phabricator.services.mozilla.com/D161045
2022-11-18 14:30:27 +00:00
Mark Banner
7dbd48b340
Bug 1791974 - Add set as default (private) search engine options to SearchTestUtils.promiseNewSearchEngine. r=mcheang
...
Differential Revision: https://phabricator.services.mozilla.com/D161043
2022-11-18 14:30:26 +00:00
Mark Banner
a9ec0b8434
Bug 1799314 - Convert consumers of testing modules to import ES modules direct (uriloader/ dom/ docshell/). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D161909
2022-11-17 12:00:28 +00:00
Olli Pettay
549492fdf4
Bug 1787315
, starting a new load after reload() should take precedence, r=peterv,ochameau
...
The devtools test reloads a page twice in a row and depending on timing it isn't guaranteed that it leads to two requests anymore.
That test seems to fail on debug builds every now and then. The test itself expects 1 or more requests, but then assumes later that there
are at least 2.
Differential Revision: https://phabricator.services.mozilla.com/D160573
2022-11-04 10:29:54 +00:00
Joel Maher
7d57e8ce58
Bug 1797751 - carry over skip-if conditions from win10 to win11. r=bxbrenden,necko-reviewers,settings-reviewers,credential-management-reviewers,valentin,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D160529
2022-10-28 00:00:40 +00:00
Mark Banner
7f41141c4b
Bug 1796143 - Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D159709
2022-10-25 07:10:55 +00:00
Kris Maglione
1a5132c440
Bug 1775925: Split up browser_onbeforeunload.js somewhat. r=nika
...
This splits the parent-triggered and child-triggered unload attempts into
separate tests. I could also split the tests for each subframe level into
separate tests, but let's see how this does for now.
Differential Revision: https://phabricator.services.mozilla.com/D159228
2022-10-24 22:47:51 +00:00
Iulian Moraru
7f78673181
Backed out 3 changesets (bug 1796143) for causing mochitest failures on test_double_submit.html. CLOSED TREE
...
Backed out changeset d02d2c2ad921 (bug 1796143)
Backed out changeset 680008b18ad1 (bug 1796143)
Backed out changeset 61a9ae6c1a8f (bug 1796143)
2022-10-20 22:59:56 +03:00
Mark Banner
41fe0ea28c
Bug 1796143 - Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D159709
2022-10-20 18:13:11 +00:00
James Teow
b1eefaa0d6
Bug 1792635 - Prevent DNS not found page from suggesting the same URI - r=mak
...
I modified the boolean associated with fixupCreateAlternateURI to only
be true if the host which contains the prefix and suffix differs from
the fixed up version. This will allow the boolean to be false in cases
where the fixup doesn't change the host. Then for the DNS error page,
there is a check as to whether the host or protocol was changed.
Differential Revision: https://phabricator.services.mozilla.com/D159175
2022-10-18 13:24:51 +00:00
Mark Banner
2ffde1e92f
Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
...
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Mark Banner
3a86c6fa41
Bug 1445134 - Migrate docshell xpcshell-tests away from using enterprise policies. r=mcheang
...
Differential Revision: https://phabricator.services.mozilla.com/D159056
2022-10-18 07:21:46 +00:00
Butkovits Atila
86c65085e5
Backed out 6 changesets (bug 1445134) for causing xpcshell failures. CLOSED TREE
...
Backed out changeset 59f902b761b5 (bug 1445134)
Backed out changeset 2ec41e23c593 (bug 1445134)
Backed out changeset b0dc583fff47 (bug 1445134)
Backed out changeset a09ccaf19501 (bug 1445134)
Backed out changeset 2d736481d13d (bug 1445134)
Backed out changeset 57ec56757493 (bug 1445134)
2022-10-17 17:54:39 +03:00
Olli Pettay
b989d9a4ca
Bug 1769189, ensure history state is updated if beforeunload listener calls replaceState, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D152170
2022-10-17 12:56:37 +00:00
Mark Banner
eb7d918413
Bug 1445134 - Migrate docshell xpcshell-tests away from using enterprise policies. r=mcheang
...
Differential Revision: https://phabricator.services.mozilla.com/D159056
2022-10-17 12:56:06 +00:00
Mike Conley
ba5ca544c2
Bug 1793652 - Convert docshell/ JSMs to ESMs. r=nika,arai
...
Differential Revision: https://phabricator.services.mozilla.com/D158599
2022-10-05 13:55:10 +00:00
Mark Banner
8d1ebcb9d6
Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Mark Banner
c0b3131dd9
Bug 1634555 - Send event telemetry for search default engine changes. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D157471
2022-09-28 09:40:36 +00:00
Nika Layzell
cfdd2c8fad
Bug 1694993 - Part 5: Add a simple test for javascript URIs with noopener, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D154567
2022-09-20 23:29:08 +00:00
Sebastian Hengst
558810a337
Bug 1791519 - use really non-resolving domain for bug529119 tests. r=MasterWayZ DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D157744
2022-09-20 19:32:03 +00:00
Andreea Pavel
0cf09ac249
Bug 1791519 - temporarily disable test_bug529119-1.html to reduce in tree noise r=aryx DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D157730
2022-09-20 14:51:22 +00:00
Mark Banner
b4cf869f32
Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for docshell. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D155168
2022-08-26 13:39:35 +00:00
Kagami Sascha Rosylight
102bd338be
Bug 1695435 - Part 2: Add more words to the chrome script heuristic in use-isInstance r=preferences-reviewers,Gijs,webdriver-reviewers,whimboo,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D110932
2022-08-24 22:47:42 +00:00
Narcis Beleuzu
94d309143f
Backed out 5 changesets (bug 1694993) for bc failure on browser_cross_process_csp_inheritance.js
...
Backed out changeset 1d21d911b3e7 (bug 1694993)
Backed out changeset 3b412d5fbdcf (bug 1694993)
Backed out changeset c9585ce37fe5 (bug 1694993)
Backed out changeset 05d7cbbfe9e2 (bug 1694993)
Backed out changeset 3821545ab46b (bug 1694993)
2022-08-22 20:32:02 +03:00
Nika Layzell
373e6ff98e
Bug 1694993 - Part 5: Add a simple test for javascript URIs with noopener, r=smaug
...
Depends on D154566
Differential Revision: https://phabricator.services.mozilla.com/D154567
2022-08-22 15:35:28 +00:00
Paul Zuehlcke
f202ae674f
Bug 1772290 - tests, r=smaug
...
Depends on D146914
Differential Revision: https://phabricator.services.mozilla.com/D146915
2022-08-15 11:45:20 +00:00
Geoff Lankow
03daa81222
Bug 1744243 follow-up - Fix test_URIFixup_external_protocol_fallback.js when run in Thunderbird. r=daisuke
...
Differential Revision: https://phabricator.services.mozilla.com/D154475
2022-08-12 02:20:38 +00:00
Daisuke Akatsuka
df2d3b5da0
Bug 1744243: Fallback to nsIHandlerService if don't trust nsIExternalProtocolService. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D153836
2022-08-10 22:38:45 +00:00
Sandor Molnar
087b91b1a1
Backed out changeset d744fed63a45 (bug 1744243) for causing xpc failures in test_URIFixup_external_protocol_fallback. CLOSED TREE
2022-08-10 01:21:46 +03:00
Daisuke Akatsuka
e211074002
Bug 1744243: Fallback to nsIHandlerService if don't trust nsIExternalProtocolService. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D153836
2022-08-09 21:30:48 +00:00
Mark Banner
7428be4a86
Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Mark Banner
a02d8bb594
Bug 1782008 - Move no-unsanitized rule disabling in docshell/test/navigation to be at specific locations rather than apply to the whole directory. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D153215
2022-08-03 11:16:19 +00:00
Mark Banner
8a275d4d92
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-26 15:11:30 +00:00
Tooru Fujisawa
a032f53a63
Bug 1780543 - Part 5: Add mozilla/chrome-script environment. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D152430
2022-07-26 02:46:30 +00:00
Tooru Fujisawa
a1a992d3cc
Bug 1780543 - Part 2: Use eslint-env mozilla/frame-script consistently in test frame script. r=Standard8,webdriver-reviewers,perftest-reviewers,sparky,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D152427
2022-07-26 02:46:29 +00:00
smolnar
dc4f2d6a41
Backed out 5 changesets (bug 1780017, bug 1780347) for causing bc failures in browser/base/content/test/performance/browser_preferences_usage.js CLOSED TREE
...
Backed out changeset 86c3a9142535 (bug 1780347)
Backed out changeset 35abe35417a0 (bug 1780017)
Backed out changeset f448f044f028 (bug 1780017)
Backed out changeset a400cbe83084 (bug 1780017)
Backed out changeset 0a23c9e27f01 (bug 1780017)
2022-07-25 21:00:07 +03:00
Mark Banner
539b5dac0d
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-25 12:46:48 +00:00
Mark Banner
4bfafd41fa
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar
102b779608
Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
...
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
fd37e0e9da
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 15:50:42 +00:00
Mark Banner
23086da9b9
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru
1108246986
Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
...
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner
ac90e83952
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 10:36:51 +00:00
Mark Banner
e84aaa1b85
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Mark Banner
5a872b77c5
Bug 1779981 - Migrate search consumers to use ESM imports directly. r=mcheang,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152001
2022-07-19 17:12:43 +00:00
Gijs Kruitbosch
92d44f3713
Bug 1737043 - add a suggestion for 'example.com' in the network error page for 'example', r=mak,eemeli,desktop-theme-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D129156
2022-07-19 03:27:18 +00:00
Iulian Moraru
5e7070f988
Backed out changeset 89d291a9ee9b (bug 1737043) for causing xpcshell failures on test_URIFixup_check_host.js. CLOSED TREE
2022-07-17 20:47:23 +03:00
Gijs Kruitbosch
393bdf2f46
Bug 1737043 - add a suggestion for 'example.com' in the network error page for 'example', r=mak,eemeli,desktop-theme-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D129156
2022-07-17 16:48:44 +00:00
James Teow
b09009da4c
Bug 1679556 - Toggle browser.fixup.alternate.enabled and add telemetry, r=mak
...
The suggested solution for this bug is to disable browser.fixup.alternate.enabled
unless toggled by the user, and to add telemetry to the preference so that if we
find users rarely use the option, we can safely remove the feature in a future release.
Many tests rely on expecting URI's to be modified, so I modified them so that they
should not expect the prefix or suffix to be modified.
Differential Revision: https://phabricator.services.mozilla.com/D147795
2022-07-15 19:08:56 +00:00
Thomas Wisniewski
1eed961438
Bug 1762462 - Make tests in docshell/test/navigation/ reflect Always Partitioning Storage; r=smaug
...
Depends on D148046
Differential Revision: https://phabricator.services.mozilla.com/D148047
2022-07-15 13:26:18 +00:00
Thomas Wisniewski
05dec9e099
Bug 1762462 - Make tests in docshell/test/mochitest/ reflect Always Partitioning Storage; r=smaug
...
Depends on D148043
Differential Revision: https://phabricator.services.mozilla.com/D148046
2022-07-15 13:26:18 +00:00
Cristian Tuns
2f5fe88da3
Backed out 19 changesets (bug 1758745, bug 1758740, bug 1762462, bug 1779603) for causing mochitest failures on browser_partitionedConsoleMessage.js CLOSED TREE
...
Backed out changeset e3c8cd6f00b6 (bug 1779603)
Backed out changeset 4e46a6f209b4 (bug 1762462)
Backed out changeset 00c0c6314640 (bug 1762462)
Backed out changeset 8f11221f859f (bug 1762462)
Backed out changeset ffbf90e3bbab (bug 1762462)
Backed out changeset 0c760428dfec (bug 1762462)
Backed out changeset 7c99293cc8f9 (bug 1762462)
Backed out changeset 92bd237a95e1 (bug 1762462)
Backed out changeset 74539a3cc7fc (bug 1762462)
Backed out changeset acf08a10c6fb (bug 1762462)
Backed out changeset 0cf191a7739f (bug 1762462)
Backed out changeset 030c276d6669 (bug 1762462)
Backed out changeset a88a099c684d (bug 1762462)
Backed out changeset cbd69786a24b (bug 1762462)
Backed out changeset e5e0655206a8 (bug 1762462)
Backed out changeset 707f9dfed501 (bug 1762462)
Backed out changeset 619e4bb01a81 (bug 1762462)
Backed out changeset 02b7641683b0 (bug 1758745)
Backed out changeset a2f110442038 (bug 1758740)
2022-07-14 17:26:17 -04:00
Thomas Wisniewski
9c228aa6d7
Bug 1762462 - Make tests in docshell/test/navigation/ reflect Always Partitioning Storage; r=smaug
...
Depends on D148046
Differential Revision: https://phabricator.services.mozilla.com/D148047
2022-07-14 19:26:27 +00:00
Thomas Wisniewski
be40d8b264
Bug 1762462 - Make tests in docshell/test/mochitest/ reflect Always Partitioning Storage; r=smaug
...
Depends on D148043
Differential Revision: https://phabricator.services.mozilla.com/D148046
2022-07-14 19:26:27 +00:00
Norisz Fay
388468729f
Backed out 18 changesets (bug 1762462, bug 1758745, bug 1758740) for causing mochitest failures on test_storage_copied.html
...
Backed out changeset a27ae15872a9 (bug 1762462)
Backed out changeset b7d979a36324 (bug 1762462)
Backed out changeset 6249efe40513 (bug 1762462)
Backed out changeset 1e81ed3014a0 (bug 1762462)
Backed out changeset 92cec5f5db1c (bug 1762462)
Backed out changeset fa3c45b4de5c (bug 1762462)
Backed out changeset 64df67f43ad7 (bug 1762462)
Backed out changeset d66dd76ec2b6 (bug 1762462)
Backed out changeset 4f8aaba02a03 (bug 1762462)
Backed out changeset 81eb7d60dea9 (bug 1762462)
Backed out changeset 01504f5f818a (bug 1762462)
Backed out changeset 2615b571c9ba (bug 1762462)
Backed out changeset 73ed8be3f117 (bug 1762462)
Backed out changeset edb94ba8ec59 (bug 1762462)
Backed out changeset 21dd6fdc672e (bug 1762462)
Backed out changeset 31a70f9ad879 (bug 1762462)
Backed out changeset 5261ee5a2368 (bug 1758745)
Backed out changeset ad6ffd85ef3c (bug 1758740)
2022-07-14 03:16:08 +03:00
Thomas Wisniewski
4a231d9f0d
Bug 1762462 - Make tests in docshell/test/navigation/ reflect Always Partitioning Storage; r=smaug
...
Depends on D148046
Differential Revision: https://phabricator.services.mozilla.com/D148047
2022-07-13 22:44:59 +00:00
Thomas Wisniewski
69b3748d15
Bug 1762462 - Make tests in docshell/test/mochitest/ reflect Always Partitioning Storage; r=smaug
...
Depends on D148043
Differential Revision: https://phabricator.services.mozilla.com/D148046
2022-07-13 22:44:59 +00:00
Tooru Fujisawa
54623364da
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
7738a75fdd
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
8cd6ed7409
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
9fe5b851ea
Bug 1667455 - Part 21: Use SpecialPowers.Services in docshell/test/navigation/test_contentpolicy_block_window.html. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D150912
2022-07-11 12:41:57 +00:00
Tooru Fujisawa
52c95734e7
Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa
bf93d07148
Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Joel Maher
537a5a0dc8
Bug 1777549 - remove remaining e10s conditions in manifest files. r=gbrown,extension-reviewers,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D150820
2022-07-01 13:49:42 +00:00
Michelle Goossens
7f247c8d44
Bug 1773830 - Migrate Linux mochitest-browser-chrome from AWS to GCP r=ahal,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D150325
2022-06-28 11:11:42 +00:00
Kagami Sascha Rosylight
764ef75de5
Bug 1773740 - Part 4: Reapply mach -l eslint --fix
with use-isInstance changes r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D148939
2022-06-27 20:31:34 +00:00
Andrew McCreight
10bfb74f38
Bug 1766305, part 2 - Return a wireframe with GetLayoutHistoryState. r=smaug,mconley
...
The main goal here is to get the wireframe test to work with
parent-controlled navigation.
This means we don't need to collect the wireframe any more in
PersistLayoutHistoryState, I think, because it is redundant.
I think we need to clear the wireframe in finish restore for
when we navigate back.
As a result of these changes, the two todo subtests in the
wireframe test now pass.
Differential Revision: https://phabricator.services.mozilla.com/D146252
2022-06-27 12:02:48 +00:00
Andrew McCreight
4173ce4c57
Bug 1766305, part 1 - Give browser_test_shentry_wireframe.js subtests different descriptions. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D150053
2022-06-27 12:02:48 +00:00
Joel Maher
5bf232d7af
Bug 1776212 - cleanup e10s in manifest conditions for bc/dt. r=aryx,necko-reviewers,extension-reviewers,preferences-reviewers,dragana,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D150127
2022-06-23 17:49:07 +00:00
Mark Banner
568ce7aa90
Bug 1774598 - Rework _initFromManifest to split out its component parts into the separate search engine classes. r=mcheang
...
Differential Revision: https://phabricator.services.mozilla.com/D149615
2022-06-17 20:41:09 +00:00
Peter Van der Beken
c55748ac0b
Bug 1773192 - Referrer header missing after calling history.replaceState and clicking back button. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D149176
2022-06-15 11:32:16 +00:00
Mark Banner
254a0dc016
Bug 1770727 - Fix remaining ESLint rules for sjs files. r=Gijs,necko-reviewers,kershaw
...
Depends on D147082
Differential Revision: https://phabricator.services.mozilla.com/D147083
2022-06-07 19:14:09 +00:00
Tooru Fujisawa
f7650958c8
Bug 1772313 - Part 7: Stop calling XPCOMUtils.defineLazyModuleGetters for Services. r=kmag,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148160
2022-06-06 04:42:06 +00:00
Molnar Sandor
77402a5caa
Backed out 15 changesets (bug 1772313, bug 1772351, bug 1772360) for causing xpc failures in telemetry/tests/unit/test_SocketScalars.js CLOSED TREE
...
Backed out changeset c8b0a2ed239e (bug 1772360)
Backed out changeset 1922adad6abe (bug 1772351)
Backed out changeset 6d3634cce489 (bug 1772351)
Backed out changeset f03968a9d053 (bug 1772351)
Backed out changeset e7a38ef90fe4 (bug 1772351)
Backed out changeset b389e7654771 (bug 1772313)
Backed out changeset 59a33598ff51 (bug 1772313)
Backed out changeset ab60885a8a93 (bug 1772313)
Backed out changeset aad8efac9d05 (bug 1772313)
Backed out changeset 4378e519a8e7 (bug 1772313)
Backed out changeset 302ac54741f8 (bug 1772313)
Backed out changeset 74c59f9fd51c (bug 1772313)
Backed out changeset 575fb877c56c (bug 1772313)
Backed out changeset 2eaa68f10b19 (bug 1772313)
Backed out changeset 4a8b3ba193dc (bug 1772313)
2022-06-06 07:04:25 +03:00
Tooru Fujisawa
fc45e50920
Bug 1772313 - Part 7: Stop calling XPCOMUtils.defineLazyModuleGetters for Services. r=kmag,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148160
2022-06-06 02:49:10 +00:00
Molnar Sandor
05e3775a6c
Backed out 4 changesets (bug 1770727) for causing mochitest failures in test_bug1180105/test_access_control. CLOSED TREE
...
Backed out changeset 6323b526b0ac (bug 1770727)
Backed out changeset fc7ea80aa2ff (bug 1770727)
Backed out changeset 2a358ba86652 (bug 1770727)
Backed out changeset 464d1af6523b (bug 1770727)
2022-05-24 17:24:40 +03:00
Mark Banner
5364458f47
Bug 1770727 - Fix remaining ESLint rules for sjs files. r=Gijs,necko-reviewers,kershaw
...
Depends on D147082
Differential Revision: https://phabricator.services.mozilla.com/D147083
2022-05-24 12:59:10 +00:00
Mark Banner
7c198e01fd
Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-18 08:13:19 +00:00
Mark Banner
3924c8914b
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Andrew McCreight
c8c5c819df
Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
...
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.
The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)
The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.
Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Sebastian Hengst
c552340e0c
Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
...
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner
5865f044db
Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-17 16:50:33 +00:00
Mark Banner
4acbb4ff59
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Tooru Fujisawa
2ee2b23f67
Bug 1765167 - Part 3: Stop using Cu.import in docshell/. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D144096
2022-05-03 06:32:30 +00:00
Mark Banner
d276554fa2
Bug 1766230 - Fix a couple of incorrect uses of Services.* properties in docshell tests. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144552
2022-04-27 11:41:10 +00:00
Mike Conley
eec700aee9
Bug 1764790 - Remove TopLevelNavigationDelegate tests. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D143926
2022-04-18 17:46:09 +00:00
Peter Van der Beken
3e9eedaad9
Bug 1763833 - Fixes for tests with SHIP without Fission and/or on Android. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D143303
2022-04-16 09:24:52 +00:00
Peter Van der Beken
f568cf2298
Bug 1763598 - Fixes for docshell/test/chrome tests with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D143160
2022-04-15 20:44:38 +00:00
Peter Van der Beken
926498605f
Bug 1763598 - Fix docshell_helpers.js for session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D143159
2022-04-15 20:44:38 +00:00
Mike Conley
b3f08bf9bd
Bug 1763672 - Introduce targetTopLevelLinkClicksToBlank on BrowsingContext. r=nika
...
This property defaults to false. When set to true, user-initiated link clicks in
the top-level BrowsingContext will default target to _blank. This is similar to what
we do for App Tabs, but is slightly more aggressive in that in will also occur for
same-origin navigations.
Differential Revision: https://phabricator.services.mozilla.com/D143374
2022-04-13 16:00:27 +00:00
criss
a1b5f9b20d
Backed out changeset 2e69a9d98234 (bug 1763672) for causing bustages on nsDocShell.cpp. CLOSED TREE
2022-04-13 18:03:11 +03:00
Mike Conley
91cacbd5ef
Bug 1763672 - Introduce targetTopLevelLinkClicksToBlank on BrowsingContext. r=nika
...
This property defaults to false. When set to true, user-initiated link clicks in
the top-level BrowsingContext will default target to _blank. This is similar to what
we do for App Tabs, but is slightly more aggressive in that in will also occur for
same-origin navigations.
Differential Revision: https://phabricator.services.mozilla.com/D143374
2022-04-13 13:16:38 +00:00
Frederik Braun
86ba751d18
Bug 1577122 - mozJSComponentLoader::Import() should only work for internal URLs, and update some tests r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D140058
2022-04-06 14:36:47 +00:00
Gijs Kruitbosch
8e67201171
Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay
acdd6851cd
Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
...
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch
27039e2946
Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
Edgar Chen
e475cac8cc
Bug 1752250 - Part 2: [SHIP] Don't restore form data when reload a page with a no-store header; r=peterv
...
Sync mSaveLayoutState to child process, so when the LayoutHistoryState is created
and add into SessionHistoryInfo in child process, we could update its
mScrollPositionOnly flag directly.
Differential Revision: https://phabricator.services.mozilla.com/D141365
2022-03-29 20:27:09 +00:00
Edgar Chen
87adb15d3b
Bug 1752250 - Part 1: Refactor form restoration test; r=peterv
...
to make adding new tests easier.
Differential Revision: https://phabricator.services.mozilla.com/D141364
2022-03-29 20:27:09 +00:00
Nika Layzell
c14c6bb509
Bug 1647892 - Improve the reliability of test_double_submit.html, r=farre
...
Unlike the previous implementation, this new version performs the
waiting before sending response headers, meaning that it delays
OnStartRequest rather than just delaying the response body. As the
double-submission prevention currently only waits for OnStartRequest,
this should improve the reliability of the test.
Because the test no longer requires large amounts of data for delay
purposes, it has also been simplified to not generate random large
payloads anymore.
Differential Revision: https://phabricator.services.mozilla.com/D141427
2022-03-21 20:19:45 +00:00
Mike Conley
7c2537851e
Bug 1759549 - Persist wireframes to Session Store when wireframe capturing is enabled. r=mossop,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D141001
2022-03-21 17:54:13 +00:00
Butkovits Atila
ff0c766132
Backed out changeset 583b98909672 (bug 1759549) for causing failures at browser_sessionHistory.js.
2022-03-21 19:34:29 +02:00
Mike Conley
3e72a94124
Bug 1759549 - Persist wireframes to Session Store when wireframe capturing is enabled. r=mossop,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D141001
2022-03-21 15:43:15 +00:00
Mike Conley
62eaba6817
Bug 1749575 - Add tests for nsISHEntry.wireframe capturing. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D140987
2022-03-15 15:24:59 +00:00
criss
cc323f558f
Backed out 2 changesets (bug 1577122) for causing xpcshell failures. CLOSED TREE
...
Backed out changeset d2ec4915e725 (bug 1577122)
Backed out changeset 63a236bcd713 (bug 1577122)
2022-03-14 17:19:01 +02:00
Gijs Kruitbosch
5022553169
Bug 1577122 - fix tests, r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D139861
2022-03-14 14:00:22 +00:00
Olli Pettay
e9e98dc88b
Bug 1757458, replace loading session history entry only right before redirecting load to real channel r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D140559
2022-03-10 10:41:20 +00:00
Olli Pettay
0b429bbbfc
Bug 1758664, don't try to recheck possible session history entry in the parent process if we're doing such check already, r=peterv
...
The code which this patch removes was clearly an oversight in the regressing patch.
Differential Revision: https://phabricator.services.mozilla.com/D140690
2022-03-10 10:19:57 +00:00
Andreea Pavel
2e2899b994
Bug 1721261 - disable browser_browsingContext-webProgress.js on linux64 debug r=intermittent-reviewers,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D140264
2022-03-03 22:57:42 +00:00
Sean Feng
f61ec1c3d7
Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
...
The changes only made it works in SHIP(session-history-in-parent) only.
Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-03-03 19:13:47 +00:00
Cristian Tuns
1a0b214ad9
Backed out 2 changesets (bug 1741671) for causing wpt failures on back-forward-cache/events.html CLOSED TREE
...
Backed out changeset 7fffe4e20ea8 (bug 1741671)
Backed out changeset fc9c97d475c2 (bug 1741671)
2022-03-01 14:44:53 -05:00
Sean Feng
3380a4df7d
Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
...
The changes only made it works in SHIP(session-history-in-parent) only.
Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-03-01 18:50:45 +00:00
Olli Pettay
a5eb1e68fd
Bug 1757005 - BrowsingContext.getCurrentTopByBrowserId returns null for a valid browserId, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D139665
2022-02-26 23:24:47 +00:00
Cristian Tuns
8871543441
Backed out 2 changesets (bug 1741671) for causing wpt and mochitest failures on events.html CLOSED TREE
...
Backed out changeset 782650de8717 (bug 1741671)
Backed out changeset 6928411c8730 (bug 1741671)
2022-02-24 14:06:28 -05:00
Sean Feng
1a229dabcd
Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
...
The changes only made it works in SHIP(session-history-in-parent) only.
Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-02-24 16:45:48 +00:00
Peter Van der Beken
61f7e59993
Bug 1747033 - "Back" does not work correctly for pages with multipart/x-mixed-replace and history.replaceState. r=smaug,necko-reviewers,valentin
...
multipart/x-mixed-replace loads don't start a new load for parts other than the first,
they just call OnStartRequest/OnStopRequest for every part. The nsDocShell code was
trying to set the active entry to the loading entry for these loads, but because we
never started a new load after the first part, the loading entry would be null and we'd
just clear the active entry. history.replaceState would then try to replace the active
entry, but finding none it would just add a new one.
Differential Revision: https://phabricator.services.mozilla.com/D138464
2022-02-19 08:30:35 +00:00
Narcis Beleuzu
23a25cba49
Backed out changeset aa8767c463fc (bug 1741671) for dt failures on browser_navigateEvents.js
2022-02-18 22:26:05 +02:00
Sean Feng
b83a6a038f
Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
...
The changes only made it works in SHIP(session-history-in-parent) only.
Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-02-18 19:28:07 +00:00
Nika Layzell
acaba2d6b2
Bug 1744352 - Part 2: Add test for sandboxing javascript uris in pop-ups, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D138211
2022-02-09 17:50:51 +00:00
Butkovits Atila
1d9c37d4a5
Backed out 2 changesets (bug 1744352) for causing failures at test_javascript_sandboxed_popup.html. CLOSED TREE
...
Backed out changeset 1a7d29ce984c (bug 1744352)
Backed out changeset b3a8f99f0044 (bug 1744352)
2022-02-09 17:53:32 +02:00
Nika Layzell
ea06f86339
Bug 1744352 - Part 2: Add test for sandboxing javascript uris in pop-ups, r=smaug
...
Depends on D138209
Differential Revision: https://phabricator.services.mozilla.com/D138211
2022-02-09 14:44:51 +00:00
Olli Pettay
90b2d9e86c
Bug 1750973, don't replace the nsILayoutHistoryState object when doing same document history navigations, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D137703
2022-02-04 11:37:14 +00:00
Peter Van der Beken
f1ed7fa59e
Bug 1750174 - Auto-refreshing pages reposition themselves to the top upon refresh. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D137383
2022-02-02 13:22:30 +00:00
Cristian Tuns
833a4b981c
Backed out changeset 1e505766ba35 (bug 1750174) for causing mochitest failures on test_bug1742865.html CLOSED TREE
2022-02-02 03:44:16 -05:00
Peter Van der Beken
632fde0caa
Bug 1750174 - Auto-refreshing pages reposition themselves to the top upon refresh. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D137383
2022-02-02 07:58:58 +00:00
Joel Maher
a261492460
Bug 1750839 - Enable fission browser-chrome for variants. r=mccr8,releng-reviewers,gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D136512
2022-02-01 19:30:34 +00:00
Olli Pettay
14f1eabde6
Bug 1745638, allow stopping session history load to an iframe, r=peterv
...
The previous version had two issues:
It revealed an issue in the old implementation which causes an assertion to fire.
There was also a problem with mDocumentRequest, so the new approach tries to be less clever
and just adds a new boolean member variable mCheckingSessionHistory,
which GetIsAttemptingToNavigate() then uses.
Differential Revision: https://phabricator.services.mozilla.com/D136041
2022-02-01 18:59:05 +00:00
Benjamin VanderSloot
dfb65118c5
Bug 1750002
- Make tests in docshell/test/ dFPI compatible, r=smaug,anti-tracking-reviewers,timhuang
...
We are fixing mochitests that fail when network.cookie.cookieBehavior = 5, i.e. when we enable Total Cookie Protection.
This is most often due to the test assuming that an origin will always have access to its storage state when embedded as
a third party.
In this case I mostly had to request storage access to allow an embedded iframe to use a BroadcastChannel to communicate with top-level pages of the same origin.
For test `docshell/test/mochitest/test_bug1121701.html`, I also had to reorder the code slightly to make sure the test didn't end prematurely. This caused some
tabbing that makes the diff harder to read.
Differential Revision: https://phabricator.services.mozilla.com/D136602
2022-01-31 14:37:53 +00:00
Iulian Moraru
a47757f1f9
Backed out changeset e15925b76a27 (bug 1745638) for causing mochitest failures on test_bug1745638.html.
2022-01-28 21:33:34 +02:00
Olli Pettay
96f10318be
Bug 1745638, allow stopping session history load to an iframe, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D136041
2022-01-28 18:21:28 +00:00
Olli Pettay
87ab534f34
Bug 1747019 - set cache key on session history entry, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D136979
2022-01-28 17:00:08 +00:00
Olli Pettay
3b790f6301
Bug 1719178 - test, r=peterv
...
Depends on D119114
Differential Revision: https://phabricator.services.mozilla.com/D119303
2022-01-25 11:13:12 +00:00
Henrik Skupin
91785ff3f3
Bug 1746332 - Expose replace bit for "browsing-context-attached" notification. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D135052
2022-01-04 18:16:19 +00:00
Olli Pettay
bc8d149fd3
Bug 1745730, disable bfcache when loading the current uri again, r=peterv
...
The idea is to get us to https://searchfox.org/mozilla-central/rev/25d26b0a62cc5bb4aa3bb90a11f3b0b7c52859c4/docshell/base/nsDocShell.cpp#10824,10829 so that
we can do a replace load.
It should be ok to disable bfcache in all the cases, not only in the cases nsDocShell checks for replace load.
Differential Revision: https://phabricator.services.mozilla.com/D134876
2021-12-31 12:14:36 +00:00
Masatoshi Kimura
3c84171152
Bug 1745730 - Test to make sure that same page naviations do not create a duplicate session history entry. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D134012
2021-12-28 21:22:07 +00:00
Karl Tomlinson
d4229451f9
Bug 1705532 wait for pagehide instead of polling on location.href r=annyG
...
waitForCondition() waits only 3 seconds, which can sometimes not be long
enough for slow builds such as TSan builds.
https://searchfox.org/mozilla-central/rev/468a65168dd0bc3c7d602211a566c16e66416cce/testing/mochitest/tests/SimpleTest/SimpleTest.js#1266,1269
Differential Revision: https://phabricator.services.mozilla.com/D134581
2021-12-25 22:47:11 +00:00
Karl Tomlinson
5ec86389c8
Bug 1705532 use async/await instead of callbacks r=annyG
...
Differential Revision: https://phabricator.services.mozilla.com/D134580
2021-12-25 22:47:11 +00:00
Anny Gakhokidze
47764bd683
Bug 1735613 - Part 1: Remove the requirement for SHIP with parent controlled loads, r=peterv,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D132092
2021-12-20 22:39:29 +00:00
Peter Van der Beken
b9b3a16001
Bug 1742865 - Handle meta refresh correctly with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132837
2021-12-16 15:31:56 +00:00
Butkovits Atila
196050d57d
Backed out changeset e55eb174b342 (bug 1742865) for causin failures at attr-meta-http-equiv-refresh/parsing.html?131
2021-12-16 12:15:59 +02:00
Peter Van der Beken
8f586038da
Bug 1742865 - Handle meta refresh correctly with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132837
2021-12-16 08:19:45 +00:00
Henri Sivonen
527882bab5
Bug 1736248 - Update the charset source if non-ASCII is seen after the first detector guess but the encoding does not change. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D133731
2021-12-14 15:01:21 +00:00
Norisz Fay
333caceb64
Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
...
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Peter Van der Beken
f1f36b16d4
Bug 1742865 - Handle meta refresh correctly with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132837
2021-12-14 10:13:58 +00:00
Frederik Braun
65f2fbb9ff
Bug 1744924 - Part 2: Adjust iframe sandbox test r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D133626
2021-12-13 12:57:10 +00:00
Mike Conley
4646b826a2
Bug 1745484 - Pass full nsIReferrerInfo through nsITopLevelNavigationDelegate. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D133511
2021-12-12 18:02:07 +00:00
Edgar Chen
34efede7e7
Bug 1744321
- Add IsInProcess() check while checking sandbox flags; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D133073
2021-12-10 18:56:42 +00:00
Joel Maher
6b02e865d7
Bug 1639850 - adjust xpcshell on windows to remove frequent failures. r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D133119
2021-12-07 19:55:03 +00:00
Joel Maher
63bf096aef
Bug 1743907 - Remove webrender annotation from manifestparser manifests. r=ahal,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D132682
2021-12-03 16:04:29 +00:00
Andreea Pavel
8290a5a7d9
Bug 1572299 - disable test_opener.html on win10_2004 and linux64 r=intermittent-reviewers,MasterWayZ DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D132304
2021-12-01 06:28:48 +00:00
Olli Pettay
a1708052cd
Bug 1742168, increase maxStateObjectSize to 16MB and make the pref a StaticPref, r=peterv
...
Keeping the pref as signed, since the existing code explicitly handles that case, so someone may have -1 as the pref value.
Differential Revision: https://phabricator.services.mozilla.com/D132020
2021-12-01 00:11:41 +00:00
Butkovits Atila
8e13e5203a
Backed out changeset 0de3705203a4 (bug 1742168) for causing failures at browser_multiple_pushState.js. CLOSED TREE
2021-11-30 16:31:10 +02:00
Olli Pettay
00560d8b6d
Bug 1742168, increase maxStateObjectSize to 16MB and make the pref a StaticPref, r=peterv
...
Keeping the pref as signed, since the existing code explicitly handles that case, so someone may have -1 as the pref value.
Differential Revision: https://phabricator.services.mozilla.com/D132020
2021-11-30 13:31:20 +00:00
Peter Van der Beken
d9015bc3ab
Bug 1743353 - Fire pageshow after pagehide/unload with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132354
2021-11-30 13:01:03 +00:00
Christoph Kerschbaumer
b4d3e55408
Bug 1742785: Update more tests within dom/ and docshell/ to work with https-first enabled r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132007
2021-11-30 09:21:45 +00:00
Csoregi Natalia
88c83e9a81
Backed out changeset 78307ccc4942 (bug 1742785) for causing permafailures on browser_ProcessPriorityManager.js. CLOSED TREE
2021-11-30 04:03:13 +02:00
Peter Van der Beken
049f910998
Bug 1741132 - Correctly evict entries with session history in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131894
2021-11-27 11:14:09 +00:00
Peter Van der Beken
9e05629b84
Bug 1741132 - Add a property for whether an entry is in the BFCache (holds a content viewer or a frame loader). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131893
2021-11-27 11:14:09 +00:00
Peter Van der Beken
c8b5d79509
Bug 1740517 - Don't restore form data when going back to a page with a no-store header with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131892
2021-11-27 11:14:08 +00:00
Peter Van der Beken
41778ca7b2
Bug 1740516 - Fire pageshow for an iframe before the pageshow for its parent window when coming out of BFCache with session history in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131891
2021-11-27 11:14:08 +00:00
Marian-Vasile Laza
4ec6cdf544
Backed out changeset a905fca36db2 (bug 1740516) for causing bc failures on browser_bug343515.js. CLOSED TREE
2021-11-25 22:55:43 +02:00
Peter Van der Beken
ee1558efd7
Bug 1740516 - Fire pageshow for an iframe before the pageshow for its parent window when coming out of BFCache with session history in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131891
2021-11-25 16:22:48 +00:00
Christoph Kerschbaumer
ca94879d3a
Bug 1742785: Update more tests within dom/ and docshell/ to work with https-first enabled r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132007
2021-11-25 08:19:22 +00:00
Csoregi Natalia
c60cb3391e
Backed out changeset dad850a374dd (bug 1742785) for causing failures on browser_ProcessPriorityManager.js. CLOSED TREE
2021-11-24 20:50:41 +02:00
Christoph Kerschbaumer
bd04b0ccdd
Bug 1742785: Update more tests within dom/ and docshell/ to work with https-first enabled r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132007
2021-11-24 12:45:05 +00:00
Butkovits Atila
ed15a00d3e
Backed out 2 changesets (bug 1740517, bug 1740516) for causing failures at browser_bug343515.js and browser_browsingContext-webProgress.js. CLOSED TREE
...
Backed out changeset e656dd82e48a (bug 1740517)
Backed out changeset 9eb7a39f39b7 (bug 1740516)
2021-11-23 23:28:54 +02:00
Peter Van der Beken
d7dd6f1294
Bug 1740517 - Don't restore form data when going back to a page with a no-store header with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131892
2021-11-23 20:04:36 +00:00
Peter Van der Beken
d8fcefcdde
Bug 1740516 - Fire pageshow for an iframe before the pageshow for its parent window when coming out of BFCache with session history in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131891
2021-11-23 20:04:35 +00:00
Marian-Vasile Laza
3c2ad74d5b
Backed out 4 changesets (bug 1741132, bug 1740516, bug 1740517) for causing mochitest failures on test_bug1741132.html.
...
Backed out changeset 9b91c4d469d7 (bug 1741132)
Backed out changeset 1ad268a75fec (bug 1741132)
Backed out changeset 6a6e91c8eeeb (bug 1740517)
Backed out changeset c8a789ba6dc7 (bug 1740516)
2021-11-23 19:07:58 +02:00
Peter Van der Beken
afd1bab71f
Bug 1741132 - Correctly evict entries with session history in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131894
2021-11-23 15:37:24 +00:00
Peter Van der Beken
00ffaf83c0
Bug 1741132 - Add a property for whether an entry is in the BFCache (holds a content viewer or a frame loader). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131893
2021-11-23 15:37:24 +00:00
Peter Van der Beken
b55325dab8
Bug 1740517 - Don't restore form data when going back to a page with a no-store header with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131892
2021-11-23 15:37:23 +00:00
Peter Van der Beken
700a2310d6
Bug 1740516 - Fire pageshow for an iframe before the pageshow for its parent window when coming out of BFCache with session history in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D131891
2021-11-23 15:37:23 +00:00
Andreea Pavel
bff4233958
Bug 1730593 - disable browser_bfcache_copycommand.js on linux64 r=intermittent-reviewers,MasterWayZ DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D131224
2021-11-18 23:15:35 +00:00
Evgenia Kotovich
5264bfd45a
Bug 1702240. Change nsDocShell's notification of keyword-search pass a string rather than an engine. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D130336
2021-11-17 09:28:06 +00:00
Olli Pettay
d0c5eae6ca
Bug 1583110, freeze/thaw in a separate step, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D129701
2021-11-01 14:43:31 +00:00
tanju brunostar
3eaed4ffa9
Bug 1724473 - Added an if statement at the bailout, enabling it to only work when the url starts with an alphanumeric. r=mak Bonardo <mbonardo@mozilla.com>
...
ran eslint to correct an error
compressed the if statements into 1 if using &&
wrote a test in the test_URIFixup_info.js file
fixed the test
Differential Revision: https://phabricator.services.mozilla.com/D129634
2021-11-01 13:15:15 +00:00
Evgenia Kotovich
228e38a58c
Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-25 11:12:41 +00:00
criss
152f71d4d3
Backed out changeset b60f98f26664 (bug 1576768) for causing mochitest failures. CLOSED TREE
2021-10-22 15:55:50 +03:00
Evgenia Kotovich
e29e29aa5a
Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-22 11:39:46 +00:00
Paul Zuehlcke
a6a4f92ea0
Bug 1720926 - Rate limit calls to location.reload. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D128636
2021-10-18 17:27:06 +00:00