Mathew Hodson
5fa92fa901
Bug 1733886 - Don't import DocumentManager in extensions tests. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D127389
2021-10-22 12:28:08 +00:00
Evgenia Kotovich
c1afa649ca
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
Emilio Cobos Álvarez
c71035c8a0
Bug 1736141 - Derive a content theme from newtab page background, and use it for non-chrome docshells. r=mstange,dao
...
We use "is-in-chrome-docshell" rather than "is a chrome doc" so that about:
pages that are loaded in the content area (like about:addons etc) follow the
general content theme as well.
Cache the relevant color schemes since having that many branches on the default
system theme made me a bit uncomfortable, and this code can be called quite a
lot... Though it probably isn't such a huge deal. This makes us initialize the
theme right away, so make sure subclasses do the right thing. This in practice
was only an issue for GTK, which does cache the "system theme is dark" bit.
Differential Revision: https://phabricator.services.mozilla.com/D128674
2021-10-20 08:25:57 +00:00
Joel Maher
f72bcee13e
Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
...
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Luca Greco
c7346084b3
Bug 1681049 - Fix browser_ext_persistent_storage_permission_indication.js intermittent failures. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D128889
2021-10-19 18:49:52 +00:00
Tomislav Jovanovic
0b90e9cfa6
Bug 1734984 - Use WindowGlobalParent.documentURI for sender.url r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D128536
2021-10-19 18:35:27 +00:00
Narcis Beleuzu
95a3d8e33e
Backed out changeset 6961dc913ccb (bug 1734984) for bc failures on browser_ext_contentscript_sender_url.js . CLOSED TREE
2021-10-19 19:19:07 +03:00
Andrei Oprea
b23ab630d2
Bug 1731796 - Add ability to support extraParams via search Nimbus Feature r=k88hudson,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D127580
2021-10-19 15:40:54 +00:00
Tomislav Jovanovic
41ccec890e
Bug 1734984 - Use WindowGlobalParent.documentURI for sender.url r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D128536
2021-10-19 14:50:04 +00:00
criss
956c31b69f
Backed out changeset 6353bdbe1604 (bug 1731796) for causing failures on browser_search_nimbus_reload.js. CLOSED TREE
2021-10-19 16:49:45 +03:00
Andrei Oprea
acb9bc5ff2
Bug 1731796 - Add ability to support extraParams via search Nimbus Feature r=k88hudson,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D127580
2021-10-19 12:57:32 +00:00
Luca Greco
10bc94e1b5
Bug 1705244 - Fix browser_ext_incognito_popup.js intermittent failures. r=mixedpuppy
...
Depends on D128729
Differential Revision: https://phabricator.services.mozilla.com/D128730
2021-10-18 18:26:33 +00:00
Luca Greco
35f48fa0bb
Bug 1580875 - Fix browser_ext_sidebarAction_contextMenu.js intermittent failures. r=mixedpuppy
...
Depends on D128728
Differential Revision: https://phabricator.services.mozilla.com/D128729
2021-10-18 18:26:33 +00:00
Luca Greco
57995a9236
Bug 1706194 - Fix browser_ext_sidebarAction_click.js intermittent failures. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D128728
2021-10-18 18:26:33 +00:00
Evgenia Kotovich
685e68c48b
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli
b1ebbba564
Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE
2021-10-18 02:05:57 +03:00
Evgenia Kotovich
59d14912a7
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Emilio Cobos Álvarez
455031d5a1
Bug 1736038 - Fix browser_toolbar_prefers_color_scheme.js.
...
prefers-color-scheme doesn't follow the OS anymore in chrome docs.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2021-10-15 20:06:29 +02:00
Emilio Cobos Álvarez
2119007c36
Bug 1736038 - Remove -moz-toolbar-prefers-color-scheme. r=dao
...
By making prefers-color-scheme return the ColorSchemeForChrome(), which
accounts for the Firefox theme.
Differential Revision: https://phabricator.services.mozilla.com/D128611
2021-10-15 16:53:08 +00:00
Alexandru Michis
ece8739c23
Backed out changeset ded3930cc57d (bug 1734984) for causing bc failures in browser_ext_contentscript_sender_url.js
...
CLOSED TREE
2021-10-15 19:02:45 +03:00
Tomislav Jovanovic
117967fad7
Bug 1734984 - Use WindowGlobalParent.documentURI for sender.url r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D128536
2021-10-15 15:14:07 +00:00
Alexandru Michis
fdd29e992c
Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
...
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich
8d5d1cda5f
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Claudia
b76124608e
Bug 1733425 - Change SessionStore.getClosedTabData to always return an object insteaf of a string. r=Standard8,extension-reviewers,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D128272
2021-10-14 07:01:30 +00:00
Emilio Cobos Álvarez
300e13da3f
Bug 1732829 - Propagate popup position / size change after widget moves, not before. r=hiro
...
Bug 1696718 landed a fix to propagate the position change from layout.
However that's not correct, because the widget isn't resized until
nsView::ProcessPendingUpdatesForView is resized (and even that in some
platforms it might be async).
So the right place to propagate the position change is in
nsXULPopupManager (which we call into from the view system which listens
itself to the widget).
Let's try to enable the test for that bug everywhere with this fixed.
Differential Revision: https://phabricator.services.mozilla.com/D127801
2021-10-10 18:53:07 +00:00
Rob Wu
12eb0a9f99
Bug 1659155 - Use pre-redirect URL as srcUrl in contextMenus API r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D127786
2021-10-07 10:34:24 +00:00
Daisuke Akatsuka
48273c63f4
Bug 1678624: Apply bookmark-url-changed event. r=mak
...
Depends on D103883
Differential Revision: https://phabricator.services.mozilla.com/D103884
2021-10-05 00:53:45 +00:00
Rob Wu
35eb99f9c6
Bug 1733322 - Fix test expectations in browser_ext_tabs_cookieStoreId.js r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D127065
2021-10-04 14:34:02 +00:00
Daisuke Akatsuka
d879fcb087
Bug 1678623: Apply bookmark-title-changed event. r=mak
...
Depends on D103147
Differential Revision: https://phabricator.services.mozilla.com/D103148
2021-10-01 12:01:29 +00:00
Tomislav Jovanovic
e9f6c7f260
Bug 1708243 - Part 3: Use actor messaging for tabs.detectLanguage, stop loading MessageChannel.jsm, r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D126623
2021-09-29 16:52:59 +00:00
Michelle Goossens
575ccf89a0
Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Rob Wu
9fb09f313d
Bug 1641735 - Code cleanup of some extension tests r=geckoview-reviewers,agi,mixedpuppy
...
In the past, add_task was generator-based, and tests were automatically
rewritten to use Promises. Some tests have weird constructs such as the
use of Promise.all+await or still using generators. These have been
fixed.
Some tests request the tabs permission without actually needing it.
This patch does not affect the behavior of the tests.
Differential Revision: https://phabricator.services.mozilla.com/D124089
2021-09-27 13:34:55 +00:00
Csoregi Natalia
ed55ae4490
Backed out changeset 5523334143d9 (bug 1719938) for failures on browser_parsable_css.js. CLOSED TREE
2021-09-21 02:39:55 +03:00
lamoure6
0e1d13f89f
Bug 1719938 - Removed remaining (non-negated) -moz-proton media queries. r=mhowell,mtigley,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125328
2021-09-20 22:40:42 +00:00
Csoregi Natalia
72233967b0
Backed out changeset 0711ae54877b (bug 1719938) for bustages on media_features.rs. CLOSED TREE
2021-09-20 23:29:05 +03:00
lamoure6
590baedef8
Bug 1719938 - Removed remaining (non-negated) -moz-proton media queries. r=mhowell,mtigley,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125328
2021-09-20 19:21:50 +00:00
Nika Layzell
48c148ffc8
Bug 1727158 - Part 1: Fix tests which will fail when processCount.webIsolated is set to 4, r=annyG,extension-reviewers,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D125292
2021-09-14 00:55:04 +00:00
Geoff Brown
a00c449c2d
Bug 1730213 - Explicitly skip tests under browser/ on android; r=ahal
...
These tests are excluded from android test runs in moz.build. Including
an explicit annotation in each manifest avoids scheduling confusion.
browser-chrome and plain-chrome tests in browser/ are of no concern,
since those test types are never scheduled on android.
Differential Revision: https://phabricator.services.mozilla.com/D125266
2021-09-13 15:22:27 +00:00
Tomislav Jovanovic
83c86daa9f
Bug 1729395 - Regression test for sendMessage after a popup is closed! r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125203
2021-09-11 17:44:42 +00:00
Mark Banner
f321dfd6b1
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 12:09:49 +00:00
Michelle Goossens
5137ce4f5f
Bug 1727925 - Part 3: Migrate six more windows10-32 test suites from AWS to Azure r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D124192
2021-09-10 11:51:00 +00:00
Noemi Erli
20dee875a7
Backed out 2 changesets (bug 1729460) for causing newtab failures CLOSED TREE
...
Backed out changeset 5617839462be (bug 1729460)
Backed out changeset 6d52fde3ee0e (bug 1729460)
2021-09-10 13:14:12 +03:00
Mark Banner
6a5ffbcc55
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 09:38:42 +00:00
Olli Pettay
fa2a63a0b8
Bug 1718532, don't try to create tabId if the relevant window is already closing, r=rpl
...
The leak I can reproduce locally somewhat often is coming from
https://searchfox.org/mozilla-central/rev/08c493902519265d570250c8e7ce575c8cd6f5b5/browser/components/extensions/test/browser/browser_ext_windows_create_cookieStoreId.js#308,319-321
When adopting a tab to a new window, there is internally a frameloader swap.
The initial frameloader is loading about:blank and after the old window has started to close
https://searchfox.org/mozilla-central/rev/08c493902519265d570250c8e7ce575c8cd6f5b5/browser/actors/AboutReaderParent.jsm#156 triggers a call to
extension code where getId is called. The failure becomes almost perma-fail with bug 1727829.
Will push this with bug 1727829 to tryserver.
Differential Revision: https://phabricator.services.mozilla.com/D124958
2021-09-08 21:29:54 +00:00
Olli Pettay
2ccb7442f9
Bug 1728371 - browser/components/extensions/test/browser/browser_ext_tabs_onUpdated_filter.js should load a proper article when testing isArticle handling, r=rpl
...
It seems like the test relies on somewhat unexpected behavior which changes in https://bugzilla.mozilla.org/show_bug.cgi?id=1727829
Depends on D123827
Differential Revision: https://phabricator.services.mozilla.com/D124091
2021-09-08 21:29:54 +00:00
Ben Hearsum
c2bc0a1657
Bug 1714200: annotate tests that fail in regular suites but pass when run in isolation. r=jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D124907
2021-09-08 18:14:00 +00:00
Tomislav Jovanovic
007d45809d
Bug 1708243 - Part 2: stop using sender data from the child process r=robwu,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D123351
2021-08-31 23:15:17 +00:00
Alexandru Michis
0e6553bcce
Backed out 2 changesets (bug 1727829, bug 1728371) for causing bc failures in browser_ext_windows_create_tabId.js
...
Backed out changeset d92b9e0fba90 (bug 1728371)
Backed out changeset 91cd14a39722 (bug 1727829)
2021-09-01 01:31:05 +03:00
criss
952851eac2
Backed out changeset a269440d7e21 (bug 1708243) for causing failures on mochitest/test_ext_tabs_create.html. CLOSED TREE
2021-08-31 23:22:19 +03:00
Luca Greco
a6564fdf2f
Bug 1707305 - Fix intermittent browser_ext_incognito_views.js failures due to a race in the test case. r=mixedpuppy
...
browser_ext_incognito_views.js is failing intermittently in optimized builds due to a race between
a browserAction popup being opened as part of the test task and the related window being closed at the
end of the same test task.
This patch moves the responsability of closing the browserAction popup and the window to the chrome-privileged
part of the test, and makes sure that we are explicitly waiting for the browserAction popup to be opened and
loaded and then completely closed before removing the related Firefox window.
Differential Revision: https://phabricator.services.mozilla.com/D124047
2021-08-31 18:48:47 +00:00