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

1665 Коммитов

Автор SHA1 Сообщение Дата
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