Commit Graph

2668 Commits

Author SHA1 Message Date
Marian-Vasile Laza
88c0f2b93d Backed out changeset a045ce98e572 (bug 1738245) for causing xpcshell failures on test_MigrationUtils_timedRetry.js. CLOSED TREE 2021-11-03 17:17:12 +02:00
raquelvargas
92388a5506 Bug 1738245 - Remove OS.File usage from various browser/ tests. r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D129972
2021-11-03 08:05:31 +00:00
Alexandre Poirot
4362650ed8 Bug 1735825 - [devtools] Pass watcher context down to TargetActorRegistry. r=jdescottes,rpl
Differential Revision: https://phabricator.services.mozilla.com/D128897
2021-11-02 10:57:24 +00:00
Sebastian Hengst
837ed90df2 Bug 1737131 - skip browser_tabclose.js and browser_ext_browserAction_theme_icons.js on Linux DevEdition. r=emilio DONTBUILD
Failures started after bug 1736141 (prefers-color-scheme should not default to
dark for Elemental Balanced).

Differential Revision: https://phabricator.services.mozilla.com/D129844
2021-10-31 09:09:58 +00:00
Emilio Cobos Álvarez
4eafd34070 Bug 1738265 - Teach some popup tests to deal with popups having margins by default. r=NeilDeakin
For tests that actually test margin handling I've just removed the default
margin by adding:

  <?xml-stylesheet href="data:text/css,menupopup{margin: 0}" type="text/css"?>

The other tests I've just fixed by accounting for the margins.

Differential Revision: https://phabricator.services.mozilla.com/D129866
2021-10-29 19:26:37 +00:00
Mathew Hodson
19fb7d0c8f Bug 1531368 - Use ChromeUtils.import with one parameter in extensions code. r=robwu
Simplify some instances where modules were lazy loaded.

Differential Revision: https://phabricator.services.mozilla.com/D118569
2021-10-25 14:42:59 +00:00
Evgenia Kotovich
7448532331 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
a5fc03df24 Backed out changeset b60f98f26664 (bug 1576768) for causing mochitest failures. CLOSED TREE 2021-10-22 15:55:50 +03:00
Mathew Hodson
baaee0dd27 Bug 1733871 - Allow tests to use computeHash from ProductAddonChecker.jsm. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127387
2021-10-22 12:28:09 +00:00
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
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
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