Commit Graph

3187 Commits

Author SHA1 Message Date
Anny Gakhokidze
7d238c3c4a Bug 1630908 - Part 2: Test that we include OriginAttributes in remoteType with Fission enabled, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D101074
2021-01-19 23:00:01 +00:00
Randell Jesup
9d2a5e9dd0 Bug 1687517: BrowserChangedProcess event is not longer sent r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D102331
2021-01-19 17:47:29 +00:00
Dorel Luca
ad68c55baa Backed out 3 changesets (bug 1673617) for Browser-chrome failures in docshell/test/browser/browser_bug1347823.js. CLOSED TREE
Backed out changeset f0ea749647d3 (bug 1673617)
Backed out changeset 533092a71225 (bug 1673617)
Backed out changeset 3ce0d9f55436 (bug 1673617)
2021-01-19 21:00:03 +02:00
Randell Jesup
fb8153a8f2 Bug 1673617 - Refactor how session restore works with SHIP, r=nika
With mods from kashav's last Try run

Differential Revision: https://phabricator.services.mozilla.com/D99461
2021-01-19 17:21:34 +00:00
Kashav Madan
be61dd2240 Bug 1673617 - Avoid registering multiple listeners on the same browser element, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D95227
2021-01-06 16:42:47 +00:00
Olli Pettay
fe70b06a1b Bug 1603734 - browser_frame_history.js triggers a bug in sessionstore when run in e10s, r=farre
SHIP starts IDs from 1, so non-SHIP could too.
I decided to change nsSHEntry and not SessionStore since that seems to be safer approach in case
one passes some explicit json data to the current SessionStore implementation and relies on the old
behavior.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=104f98e50e82359abc367f34551fa2f5100c578d
https://treeherder.mozilla.org/jobs?repo=try&selectedTaskRun=Xts2E_kXQ8Sf5sGQVXNK8g.0&revision=62bd27e89022195d102d830a8ff4d864d8bd85fb&test_paths=browser%2Fcomponents%2Fsessionstore%2Ftest

Try looks good, so perhaps we can also enable the test now in more places.

Differential Revision: https://phabricator.services.mozilla.com/D101830
2021-01-18 15:09:55 +00:00
Noemi Erli
df38f3c75c Backed out 5 changesets (bug 1667998) for breaking a11y checks CLOSED TREE
Backed out changeset 633dda979b22 (bug 1667998)
Backed out changeset c9838cdb1303 (bug 1667998)
Backed out changeset 501c54cf59be (bug 1667998)
Backed out changeset 615b74c822ec (bug 1667998)
Backed out changeset 6d187c01fcb3 (bug 1667998)
2021-01-15 20:16:06 +02:00
Yura Zenevich
0b56491817 Bug 1667998 - converted calls to EventUtils.sendMouseEvent to be async. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D97323
2021-01-15 16:53:43 +00:00
Narcis Beleuzu
2b5886c817 Backed out changeset 81be428b9df0 (bug 1580003) for bc failures on browser_multiselect_tabs_close_other_tabs.js. CLOSED TREE 2021-01-14 21:19:04 +02:00
Oriol Brufau
98b41b9fde Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-14 15:32:24 +00:00
Andreas Farre
f222165bee Bug 1679856 - Part 1: Don't wait for session restore for a browser load. r=peterv
With Fission it is no longer guaranteed that loading a document that
makes a browser remote will trigger an SSTabRestored event, which
makes this particular part of the test fail. Instead waiting for page
load to finish solves the issue.

Differential Revision: https://phabricator.services.mozilla.com/D100674
2021-01-11 12:04:23 +00:00
Bogdan Tara
bd2e8192a5 Backed out changeset 35518cae413a (bug 1649605) for test_Promise.js & test_compression.js xpc failures CLOSED TREE 2021-01-07 05:56:19 +02:00
Emma Malysz
357bdcf0c8 Bug 1649605: remove OS.File import from SessionWorker.jsm and replace OS.File usage in SessionWorker.js r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100352
2021-01-06 23:27:43 +00:00
Jonathan Kew
059e23dfe9 Bug 1676966 - Don't block layout on global font fallback; load character maps asynchronously, and then reflow when available. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98904
2020-12-31 00:33:48 +00:00
Cosmin Sabou
0d1ba237df Backed out changeset 345d6be71db1 (bug 1676966) for mochitest without e10s failures. CLOSED TREE 2020-12-30 15:36:10 +02:00
Jonathan Kew
215f3efad2 Bug 1676966 - Don't block layout on global font fallback; load character maps asynchronously, and then reflow when available. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98904
2020-12-30 12:34:49 +00:00
Mihai Alexandru Michis
025708f8f2 Backed out changeset 52eb1fa54b88 (bug 1676966) for causing mochitest failures in AsyncCompositionManager.cpp 2020-12-30 00:16:44 +02:00
Jonathan Kew
867e9fd9ab Bug 1676966 - Don't block layout on global font fallback; load character maps asynchronously, and then reflow when available. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98904
2020-12-29 16:03:45 +00:00
Mihai Alexandru Michis
497e4e7179 Backed out changeset 453811f08638 (bug 1649599) for causing performance regressions seen in Bug 1683885.
CLOSED TREE
2020-12-22 19:15:23 +02:00
Michael Goossens
912b925976 Bug 1649599 - Convert SessionFile.jsm to use IOUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99570
2020-12-17 19:42:09 +00:00
Marco Bonardo
2cce82871d Bug 1665049 - Remove browser.urlbar.update2.oneOffsRefresh. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99793
2020-12-18 09:58:17 +00:00
smolnar
7b08899f40 Backed out 4 changesets (bug 1665049) for causing bustages in browser.ini CLOSED TREE
Backed out changeset fd06f6552ad0 (bug 1665049)
Backed out changeset 156a323cd31a (bug 1665049)
Backed out changeset 011f54945acb (bug 1665049)
Backed out changeset 028644c366d5 (bug 1665049)
2020-12-18 11:45:30 +02:00
Marco Bonardo
4ae1ce08db Bug 1665049 - Remove browser.urlbar.update2.oneOffsRefresh. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99793
2020-12-18 09:26:35 +00:00
Gijs Kruitbosch
1613604e08 Bug 1671271 - add telemetry for showing about:sessionrestore to establish if it's being shown too often, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99688
2020-12-17 17:08:17 +00:00
Tom Tung
6c412bf266 Bug 1665942 - A test to verify COOP+COEP site should have the same userContextId after restoring; r=nika
Test that succeeds with `--enable-fission` but fails with the COOP+COEP case in
without enbling fission.

Differential Revision: https://phabricator.services.mozilla.com/D98296
2020-12-17 08:59:33 +00:00
Peter Van der Beken
35b22d6b7d Bug 1668658 - Change tests which fail when fission and session-history-in-parent are enabled from skip-if to fail-if. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92181
2020-12-15 15:21:48 +00:00
Peter Van der Beken
98e09d370e Bug 1668658 - Switch annotations for tests failing with session history in parent from fission.autoStart to fission.sessionHistoryInParent. r=smaug,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D99667
2020-12-15 15:21:40 +00:00
Kartik Gautam
cb9c278e67 Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Butkovits Atila
df76b2f12d Backed out changeset 17448bde9d5d (bug 1649599) for turning Bug 1579683 into permafail. CLOSED TREE 2020-12-15 10:01:22 +02:00
Michael Goossens
79ea589fa4 Bug 1649599 - Convert SessionFile.jsm to use IOUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99570
2020-12-11 23:46:35 +00:00
Dorel Luca
7f1605c133 Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam
2908b96137 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Andrei Oprea
d1e6addd62 Bug 1639292 - Update max_concurrent_tab_pinned_count probe to record restored pinned tab count r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98906
2020-12-08 12:17:13 +00:00
Christian Holler
d2b020d497 Bug 1677049 - Skip problematic mochitest-bc tests in TSan. r=Gankro,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D98365
2020-12-01 20:21:20 +00:00
Drew Willcoxon
8868f343fc Bug 1657790 - Allow local search mode buttons to be toggled separately from engines. r=mak,ntim
* Add prefs for each local search shortcut
* Remove the `update2.localOneOffs` pref since it's not necessary with the three
  new prefs
* Modify preferences UI by adding a new row in the engines tree for each local
  shortcut
* Add `UrlbarUtils.LOCAL_SEARCH_MODES` so we have a single place where local
  search modes and their properties are defined
* Add a new test file for the preferences UI
* Modify browser_oneOffs.js to test the three new preferences

Differential Revision: https://phabricator.services.mozilla.com/D97376
2020-11-20 22:35:08 +00:00
Johann Hofmann
5fd944c021 Bug 1650095 - Part 1 - Collect current entry when partially updating session history. r=kashav,Gijs
This will ensure we reflect changes that were made to that entry after it was added, see
https://phabricator.services.mozilla.com/D93346#inline-535006 for more context.

Differential Revision: https://phabricator.services.mozilla.com/D95133
2020-11-18 11:47:49 +00:00
Peter Van der Beken
12ddb64ce4 Bug 1677483 - Reenable some tests that are now succeeding with Fission. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97267
2020-11-17 10:25:51 +00:00
Mihai Alexandru Michis
2e85173876 Backed out changeset e4b67fc1f101 (bug 1677483) for causing multiple mochitest plain failures.
CLOSED TREE
2020-11-17 19:29:26 +02:00
Peter Van der Beken
3994b64e11 Bug 1677483 - Reenable some tests that are now succeeding with Fission. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97267
2020-11-17 10:25:51 +00:00
Nika Layzell
5456e84b77 Bug 1675334 - Part 3: Remove InChild suffix from promiseOnHistoryReplaceEntry, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D96615
2020-11-16 14:13:27 +00:00
Nika Layzell
0ed640c654 Bug 1675334 - Part 2: Remove SSHistoryReplaceEntry, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D96614
2020-11-16 14:13:20 +00:00
Nika Layzell
28e7c9feae Bug 1675334 - Part 1: Fix browser_async_remove_tab with SHIP, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D95895
2020-11-16 15:28:58 +00:00
Nika Layzell
ed9e85fc9a Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Nika Layzell
265c9eff50 Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-12 18:00:55 +00:00
Andrew Halberstadt
6a55bfd07d Bug 1675319 - [manifestparser] Properly support multiline skip-if statements, r=jmaher,extension-reviewers,zombie
This supports one manifestparser expression per line in the 'skip-if',
'fail-if' and 'run-if' keys. As a side effect the:

    skip-if = foo ||
        bar

syntax is no longer supported. Instead it can be:

    skip-if =
        foo  # bug 123
        bar  # bug 456

Differential Revision: https://phabricator.services.mozilla.com/D95927
2020-11-05 19:55:08 +00:00
Razvan Maries
beb7584870 Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
f6849f1603 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Nika Layzell
9c22d73e60 Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-04 00:55:23 +00:00
Csoregi Natalia
65fb84213f Bug 1673878 - Fix eslint. r=lint-fix CLOSED TREE 2020-10-30 18:21:44 +02:00
Andreas Farre
0d06aea979 Bug 1673878 - Collect all session history entries for SHIP when needed. r=peterv
When seeing DOMTitleChanged in mozilla::dom::TabListener::HandleEvent
or mozilla::dom::ContentSessionStore::{nDocumentStart/OnDocumentEnd}
we should do a full collect of all session history entries in the
parent.

Differential Revision: https://phabricator.services.mozilla.com/D95140
2020-10-30 15:16:51 +00:00