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

378 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 6c63275a39 Bug 1861865 - Fix ESLint valid-jsdoc issues in various browser code and enable on directories where it is already passing. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D192163
2023-11-01 17:20:41 +00:00
Olli Pettay 7c6d5205f0 Bug 1856449 - Do not update chrome UI for iframe loads r=mconley
This is just Olli's patch unedited. Still in the process of double
checking on try, but it appears that this doesn't break any tests
and seems to work just fine. This patch just avoids showing the
status bar and updating the stop/reload button when loading iframe
content. This should not affect top level loads, and this matches
Chrome's behavior.

Differential Revision: https://phabricator.services.mozilla.com/D190616
2023-10-13 15:51:53 +00:00
Sylvestre Ledru 4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Tom Marble d596ebea8e Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Marco Bonardo 70fdad6676 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar 950a3c620d Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo 61f8ecc425 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Benjamin VanderSloot ef0c1ff6bd Bug 1830623, part 3 - Update DNT UI to match GPC UI - r=anti-tracking-reviewers,mconley,timhuang,emilio
Differential Revision: https://phabricator.services.mozilla.com/D184585
2023-08-23 16:52:48 +00:00
Narcis Beleuzu ef7ede76a2 Backed out 3 changesets (bug 1830623) for mochitest failures on test_navigator.html . CLOSED TREE
Backed out changeset e62ba02af50f (bug 1830623)
Backed out changeset 2667feba3922 (bug 1830623)
Backed out changeset 320a740f003c (bug 1830623)
2023-08-18 03:44:07 +03:00
Benjamin VanderSloot 4d67239ae8 Bug 1830623, part 3 - Update DNT UI to match GPC UI - r=anti-tracking-reviewers,mconley,timhuang,emilio
Differential Revision: https://phabricator.services.mozilla.com/D184585
2023-08-17 23:20:16 +00:00
Iulian Moraru 67a2ff8dcb Backed out 3 changesets (bug 1830623) for causing mochitest-plain failures on test_navigator_secureContext.html. CLOSED TREE
Backed out changeset 9ee80b5bdc57 (bug 1830623)
Backed out changeset 669560330b96 (bug 1830623)
Backed out changeset 5d5a5853a04e (bug 1830623)
2023-08-14 18:56:30 +03:00
Benjamin VanderSloot 69430942ea Bug 1830623, part 3 - Update DNT UI to match GPC UI - r=anti-tracking-reviewers,mconley,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D184585
2023-08-14 13:56:23 +00:00
Mark Banner 7fcaa859ad Bug 1846570 - Convert more jsm style imports to ES modules (misc). r=arai,credential-management-reviewers,sgalich
Depends on D185072

Differential Revision: https://phabricator.services.mozilla.com/D185073
2023-08-02 13:43:07 +00:00
Gregory Pappas 3eac12bbd7 Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Mark Banner 6725448902 Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-06-07 08:42:36 +00:00
Rob Wu 3c0c3a2676 Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski
This patch was generated as follows:

Run:
`./mach esmify --imports . --prefix=toolkit/mozapps/extensions/AddonManager`
In the output there are linter/prettifier errors due to unused
XPCOMUtils or separate importESModule calls. These have been fixed
manually and verified with `./mach lint --outgoing`.

The `esmify` script also inserts many unwanted newlines around imports
that are broken on two lines due to length. Due to the number of these,
I fixed them programatically.

1. Create patch from the changes so far.
2. From the patch, delete all lines that consist of "+" (i.e. added blank line).
3. Reset the working dir and apply the revised patch.
4. Verify that the diff between step 1 and 3 looks reasonable.
5. Verify that this patch as a whole looks reasonable.

Commands:

```
git diff > rename.diff
:%g/^+$/d
git commit -va -m WIP-rename
git revert HEAD
git apply --recount rename.diff
git diff HEAD^  # and verify that the removed lines are ok.
git commit -va  # one last review to verify correctness of whole patch.
git rebase -i HEAD~3  # drop the WIP + reverted commit, pick only the last.
```

`git apply` has the `--recount` option to force it to ignore mismatches
in line counts, which happens because we deleted added lines (^+$)
without fixing up the line counts in the file headers.

Differential Revision: https://phabricator.services.mozilla.com/D179874
2023-06-04 13:44:45 +00:00
Kris Maglione e94ae217e5 Bug 1648545: Part 1 - Move most of SpecialPowers to testing-common. r=ahal,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D119448
2023-05-27 03:46:44 +00:00
Noemi Erli 06b68d0d45 Backed out 4 changesets (bug 1648545) for causing mass failures
Backed out changeset ac3d639547fa (bug 1648545)
Backed out changeset f63760c845f3 (bug 1648545)
Backed out changeset 652b48b10d37 (bug 1648545)
Backed out changeset 1ca7abd873d1 (bug 1648545)
2023-05-26 02:12:58 +03:00
Kris Maglione d648a1f5fe Bug 1648545: Part 1 - Move most of SpecialPowers to testing-common. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D119448
2023-05-25 22:04:31 +00:00
Katherine Patenio 9dd38d03ab Bug 1830418 - Convert browser/components/customizableui/CustomizableUI.jsm to ESM r=Standard8,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D177423
2023-05-24 15:52:34 +00:00
Natalia Csoregi e87ecf485e Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner fbc15bdb60 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli aa2f146d78 Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner e3e9a991b8 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Mark Banner 2a53076d43 Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177938
2023-05-20 12:26:56 +00:00
Mark Banner 130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner 8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Pushpanjali 235f25ea9c Bug 1822010 - Convert toolkit/components/url-classifier to ES modules. r=perftest-reviewers,webcompat-reviewers,geckoview-reviewers,devtools-reviewers,twisniewski,valentin,m_kato,anti-tracking-reviewers,timhuang,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173390
2023-05-18 12:21:12 +00:00
Abhishek Madan ba1d4a0dfc Bug 1831363 - Converted SitePermissions.jsm to ES modules and all of its corresponding references. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D177380
2023-05-17 14:45:26 +00:00
Katherine Patenio 6ca3f42793 Bug 1830816 - Convert JSMs in browser/tools/mozscreenshots/mozscreenshots/extension to ESMs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D177101
2023-05-08 20:11:13 +00:00
Iulian Moraru e54270ef63 Backed out changeset 73b7fefcfc45 (bug 1830816) for causing mochitest failures on browser_controlCenter.js. CLOSED TREE 2023-05-08 20:18:25 +03:00
Katherine Patenio d9858a3be8 Bug 1830816 - Convert JSMs in browser/tools/mozscreenshots/mozscreenshots/extension to ESMs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D177101
2023-05-08 16:28:38 +00:00
anwar a7126d2057 Bug 1830075 - Put all mochitests under browser/extensions, browser/modules and browser/tools into alphabetical order. r=mconley,webcompat-reviewers,credential-management-reviewers,twisniewski,dimi
Differential Revision: https://phabricator.services.mozilla.com/D176839
2023-05-02 20:26:16 +00:00
Bob Owen c06ee8016f Bug 1772089 p3: Remove content temp dir from PathUtils. r=barret
This changes tempDir to be the OS temp to prevent churn, because it has many
more uses than osTempDir.

Differential Revision: https://phabricator.services.mozilla.com/D168594
2023-02-24 08:44:41 +00:00
Emilio Cobos Álvarez 79d36cc9bc Bug 1817232 - Remove broken -moz-image-region and image reference from mozscreenshots. r=Gijs
This image doesn't exist (anymore?) and -moz-image-region is going away.

See bug 1817063 about whether this code should be removed altogether.

Differential Revision: https://phabricator.services.mozilla.com/D170079
2023-02-16 15:25:57 +00:00
Gijs Kruitbosch 387cf24ca0 Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
Depends on D168396

Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 23:50:41 +00:00
Cristina Horotan 5f4356e527 Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch ff1cc20bd7 Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
Depends on D168396

Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 12:55:26 +00:00
Mark Banner 6c1ef05bb8 Bug 1816182 - Stop applying ESLint test configuration to module files. r=Gijs,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D169513
2023-02-13 12:26:46 +00:00
Gijs Kruitbosch 129735a58b Bug 1811854 - switch remaining tests to BrowserTestUtils.loadURIString from BrowserTestUtils.loadURI, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167558
2023-01-24 13:19:11 +00:00
William Durand 6cbcad5461 Bug 1797777 - Use `browser_specific_settings` instead of `applications` in extension manifests. r=rpl,twisniewski,markh,webcompat-reviewers,credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D167018
2023-01-18 15:57:30 +00:00
Oriol Brufau 849bfbb19b Bug 1808661 - Remove beforehovered and afterhovered. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D166094
2023-01-06 21:48:02 +00:00
Sandor Molnar 24b08f1f9f Backed out 5 changesets (bug 1808661) for causing bc failures in browser/base/content/test/tabs/browser_positional_attributes.js CLOSED TREE
Backed out changeset 16871d37b859 (bug 1808661)
Backed out changeset 607a282e25f5 (bug 1808661)
Backed out changeset c2ad604be361 (bug 1808661)
Backed out changeset b22c7589a7bb (bug 1808661)
Backed out changeset b0c1ee751b7a (bug 1808661)
2023-01-06 22:21:10 +02:00
Oriol Brufau 14f328f107 Bug 1808661 - Remove beforehovered and afterhovered. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D166094
2023-01-06 19:38:54 +00:00
Barret Rennie 2578434663 Bug 1541508 - Use Services.env in browser/ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D160136
2022-11-25 19:09:06 +00:00
Dan Robertson 68a440975b Bug 1796690 - Use instant scrolls in test setup. r=dao
Do not wait for scrollend after a scroll that will not trigger a change in scroll
position. A scrollend event will not be fired for a programatic scroll that will
not change the scroll position.

Differential Revision: https://phabricator.services.mozilla.com/D162341
2022-11-18 15:12:11 +00:00
Mark Banner c1837954be Bug 1799314 - Convert consumers of testing modules to import ES modules direct (browser/). r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161914
2022-11-17 12:00:30 +00:00
Cristian Tuns 4d37cf70f1 Backed out 19 changesets (bug 1541508) for causing xpcshell failures on test_notHeadlessByDefault.js CLOSED TREE
Backed out changeset 08476fa2bc27 (bug 1541508)
Backed out changeset 0bf7514845db (bug 1541508)
Backed out changeset aa612a5e9ef7 (bug 1541508)
Backed out changeset 6bb9360473f7 (bug 1541508)
Backed out changeset b3d8e92f50c2 (bug 1541508)
Backed out changeset fa40dded133e (bug 1541508)
Backed out changeset 2e7db4aa8d4f (bug 1541508)
Backed out changeset 6098e2eb62ea (bug 1541508)
Backed out changeset 2c599ee639c4 (bug 1541508)
Backed out changeset 7d44f6e2644c (bug 1541508)
Backed out changeset c1279c3d674c (bug 1541508)
Backed out changeset 8bd08a62a590 (bug 1541508)
Backed out changeset 740010cb005c (bug 1541508)
Backed out changeset 0bfc7dd85c62 (bug 1541508)
Backed out changeset c4374a351356 (bug 1541508)
Backed out changeset 44ccfeca7364 (bug 1541508)
Backed out changeset e944e706a523 (bug 1541508)
Backed out changeset 2c59d66f43e4 (bug 1541508)
Backed out changeset a1896eacb6f1 (bug 1541508)
2022-11-01 22:38:52 -04:00
Barret Rennie 9290133923 Bug 1541508 - Use Services.env in browser/ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D160136
2022-11-02 02:08:53 +00:00
Sebastian Hengst b1de2a15c2 Bug 1797454 - update meta data which links Firefox Settings UI files to their Bugzilla component. r=Gijs,preferences-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160335
2022-10-26 09:30:07 +00:00