Commit Graph

3085 Commits

Author SHA1 Message Date
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
Tomislav Jovanovic
f3de0ca755 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 18:48:17 +00:00
Olli Pettay
dd2c5fd294 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-08-31 18:10:00 +00:00
Csoregi Natalia
042ea59c67 Backed out changeset f966b7898d9f (bug 1708243) for geckoview failures. CLOSED TREE 2021-08-31 18:40:20 +03:00
Tomislav Jovanovic
03e6dbf364 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 11:46:11 +00:00
Marian-Vasile Laza
59ce1ed270 Backed out changeset 1395c54325a7 (bug 1708243) for causing gv-junit failures. CLOSED TREE 2021-08-31 06:53:43 +03:00
Tomislav Jovanovic
2fd100c9da 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 00:21:38 +00:00
Marian-Vasile Laza
98586de04c Backed out changeset 38cfb452cecf (bug 1708243) for causing mochitest failures on test_ext_tabs_sendMessage.html. CLOSED TREE 2021-08-31 02:40:51 +03:00
Tomislav Jovanovic
17daa8e5d9 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-30 22:54:47 +00:00
Narcis Beleuzu
123fc4c3ae Backed out changeset e49874b751fa (bug 1708243) for bc failures on browser_shims.js . CLOSED TREE 2021-08-25 19:23:32 +03:00
Tomislav Jovanovic
f9181cbf8a 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-25 12:00:34 +00:00
Tomislav Jovanovic
d325696b9f Bug 1708243 - Part 1: Stop using FrameData for windowId in the child process r=robwu
Also remove windowId getters from Context classes, as they're largely unused.

Differential Revision: https://phabricator.services.mozilla.com/D123220
2021-08-23 19:50:37 +00:00
Michelle Goossens
cde15eb082 Bug 1723574 - Enable mochitest-browser-chrome tests that no longer fail r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123247
2021-08-23 12:45:31 +00:00
Michelle Goossens
015f8eeba2 Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Sebastian Hengst
87b9b73032 Bug 1726309 - don't skip tests on macOS 11 which actually pass. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122938
2021-08-18 13:40:32 +00:00