Commit Graph

540 Commits

Author SHA1 Message Date
Marco Bonardo
2eaf2ecf1a Bug 1880510 - Use console.createInstance instead of Log.sys.mjs in Urlbar. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D201985
2024-02-20 08:58:33 +00:00
Marco Bonardo
e7ff8da0d9 Bug 1862992 - Use console.createInstance for logging in SQLite JS Module. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D201981
2024-02-19 16:21:27 +00:00
Mark Banner
e610a51084 Bug 1877940 - Enable remaining ESLint rules on dom/messagechannel. r=dom-core,peterv
Differential Revision: https://phabricator.services.mozilla.com/D200280
2024-02-12 22:28:14 +00:00
Mark Banner
5a0f9d9b3a Bug 1877940 - Enable remaining ESLint rules on dom/jsurl. r=dom-core,peterv
Differential Revision: https://phabricator.services.mozilla.com/D200279
2024-02-12 22:28:14 +00:00
Mark Banner
7aa835f970 Bug 1877940 - Enable remaining ESLint rules on dom/fetch. r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D200278
2024-02-12 22:28:14 +00:00
Mike Conley
5ab28b68b9 Bug 1878731 - Convert ASRouterPreferences to an ESM. r=emcminn,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201134
2024-02-12 18:49:37 +00:00
Mark Banner
c689ddb4a2 Bug 1879811 - Replace deprecated ESLint rule no-new-object with no-object-constructor. r=Gijs,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D201362
2024-02-12 18:46:29 +00:00
Mark Banner
3b17329c5f Bug 1878553 - Define *.config.(m)js files as node based for ESLint. r=mossop,devtools-reviewers,omc-reviewers,nchevobbe,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D200582
2024-02-07 08:55:29 +00:00
Cristian Tuns
77f2a39423 Backed out 11 changesets (bug 1878554, bug 1878553, bug 1878556) for causing node failures in aboutwelcome CLOSED TREE
Backed out changeset 425f70fa7e5a (bug 1878556)
Backed out changeset 2ab3a28f5c04 (bug 1878556)
Backed out changeset fb2e02682c8c (bug 1878556)
Backed out changeset 2fc5e630568e (bug 1878554)
Backed out changeset 78839d5841b4 (bug 1878554)
Backed out changeset e0ab31d2de1b (bug 1878554)
Backed out changeset 4eb59e4ebafa (bug 1878554)
Backed out changeset ab1e077d3f84 (bug 1878554)
Backed out changeset ef999f293e3e (bug 1878553)
Backed out changeset cf49920cb1ad (bug 1878553)
Backed out changeset 95f0fce63726 (bug 1878553)
2024-02-07 01:26:39 -05:00
Mark Banner
239ead3884 Bug 1878553 - Define *.config.(m)js files as node based for ESLint. r=mossop,devtools-reviewers,omc-reviewers,nchevobbe,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D200582
2024-02-06 22:32:51 +00:00
Karandeep
f19bf97d24 Bug 1855958 - Remove the experimental urlbar API (first patch). r=mak,extension-reviewers,desktop-theme-reviewers,robwu
ext-urlbar.js is unused but will be removed in a separate
patch to avoid test failures in condprof tests. Condprof tests may use
an outdated profile directory that still references ext-urlbar.js in
startupcache files, which triggers a test-only test failure in
mozilla::net::CheckForBrokenChromeURL.

Differential Revision: https://phabricator.services.mozilla.com/D199769
2024-02-05 17:04:37 +00:00
Mark Banner
56cc7346e1 Bug 1878009 - Remove Babel integration from ESLint. r=mossop,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D200365
2024-02-02 18:45:08 +00:00
Mike Conley
36547c669d Bug 1868838 - Move CFRMessageProvider into browser/components/asrouter/modules. r=pdahiya
This requires a change to aboutwelcome's karma webpack packaging so that
resources loaded at "resource:///modules/asrouter/X.sys.mjs" get remapped
to "asroutermodules/X.sys.mjs".

Differential Revision: https://phabricator.services.mozilla.com/D198878
2024-01-29 18:52:21 +00:00
Mark Banner
0b91be9f19 Bug 1875244 - Enable ESlint rules no-unused-vars and no-undef for dom/xslt. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D198936
2024-01-29 18:23:53 +00:00
Mark Banner
cd561394de Bug 1875244 - Enable more rules on dom/xml, dom/xslt and dom/xul. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D198935
2024-01-29 18:23:52 +00:00
Mark Banner
30b1ef027d Bug 1876988 - Enable remaining ESLint rules on dom/file/ipc. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D199813
2024-01-29 11:23:59 +00:00
Mark Banner
2cdfd413a4 Bug 1876988 - Enable ESLint rules no-undef and no-unused-vars. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D199812
2024-01-29 11:23:59 +00:00
Mike Conley
c6a25b888c Bug 1874276 - Convert PlacesFeed into an ESM. r=thecount,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D199360
2024-01-26 00:29:59 +00:00
Daisuke Akatsuka
c051aa567d Bug 1849866: Rename moz-anno:favicon protocol to cached-favicon r=necko-reviewers,places-reviewers,valentin,mak
Differential Revision: https://phabricator.services.mozilla.com/D198130
2024-01-24 22:05:42 +00:00
Mark Banner
80ddb3d9c2 Bug 1875027 - Remove deprecated ESLint rule no-return-await. r=mossop
Eslint has now deprecated the rule.

Depends on D198777

Differential Revision: https://phabricator.services.mozilla.com/D198778
2024-01-17 09:51:30 +00:00
Mark Banner
a8abfad9b0 Bug 1875026 - Enable ESLint rules on more dom/ directories where the rules are already passing. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D198777
2024-01-17 09:51:29 +00:00
Mark Banner
e7a36c96d7 Bug 1866589 - Enable ESLint rule consistent-return on all of dom/*. r=dom-core,jgilbert,dom-worker-reviewers,mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D194664
2024-01-16 20:45:42 +00:00
Mark Banner
81d120bb5a Bug 1866589 - Enable ESLint rule no-useless-call on all of dom/*. r=dom-core,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D194663
2024-01-16 20:45:41 +00:00
Mark Banner
d60c2ab7a2 Bug 1866589 - Enable ESLint rule no-unreachable for dom/*. r=dom-core,dom-worker-reviewers,mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D194662
2024-01-16 20:45:41 +00:00
Mark Banner
7ee25543fe Bug 1866589 - Enable ESLint rule no-cond-assign on all of dom/*. r=dom-core,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D194661
2024-01-16 20:45:41 +00:00
Mark Banner
63f984510a Bug 1866589 - Enable ESLint rules no-self-assign and no-self-compare on dom/*. r=dom-core,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D194660
2024-01-16 20:45:40 +00:00
Mark Banner
b73606ba0e Bug 1866589 - Enable ESLint rule no-sequences on all of dom/. r=dom-core,webrtc-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D194659
2024-01-16 20:45:40 +00:00
Mark Banner
c7947b6868 Bug 1872674 - Add an ESLint rule to reject new uses of Console.sys.mjs/Log.sys.mjs. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D197504
2024-01-16 13:37:07 +00:00
Oliver Medhurst
465206f92c Bug 1793560 - Remove navigate-to CSP directive r=tschuster
It has never shipped after being implemented years ago,
and was removed from spec in September 2022:
https://github.com/w3c/webappsec-csp/pull/564

Now skipping navigate-to WPT tests. Filed issue upstream for their future removal:
https://github.com/w3c/webappsec-csp/issues/608
Consensus seems to agree to remove, will do in follow up bug once landed.

Also removed our own tests.

Added a hack in StartDocumentLoad as just removing the navigate-to check call
breaks some inhertiance, see comment for more info.

Differential Revision: https://phabricator.services.mozilla.com/D181630
2024-01-03 16:43:12 +00:00
Mike Conley
9415a9f13d Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.

This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.

Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-14 18:46:55 +00:00
Butkovits Atila
8582db0ea5 Backed out 5 changesets (bug 1866802) for causing failures at test_TopSitesFeed.js. CLOSED TREE
Backed out changeset af9fbbc9ae50 (bug 1866802)
Backed out changeset 81d5b7de7178 (bug 1866802)
Backed out changeset e4d0863ed222 (bug 1866802)
Backed out changeset c0deb681b193 (bug 1866802)
Backed out changeset dda3e5e39f8c (bug 1866802)
2023-12-14 03:22:48 +02:00
Mike Conley
4b9f3545e2 Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.

This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.

Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-13 23:29:48 +00:00
Mike Conley
059b8a1cb7 Bug 1868488 - Add aboutwelcome to the same ESLint directory overrides as newtab. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D196056
2023-12-11 18:02:41 +00:00
Mike Conley
37abcde317 Bug 1863400 - Part 8: Update stylelint, eslint, prettierignore, hgignore, gitignore and Generated.txt rules for aboutwelcome to match newtab. r=pdahiya
This also re-runs npm install on browser/components/aboutwelcome to make sure everything in
package-lock.json is up-to-date.

Depends on D193122

Differential Revision: https://phabricator.services.mozilla.com/D193228
2023-11-28 01:37:38 +00:00
Jonas Jenwald
c3e7ecd99f Bug 1863716 - Remove the remnants of the unused PDF Viewer notification bar. r=pdfjs-reviewers,calixte
The PDF Viewer notification bar became unused in bug 1705327, which is well over two years ago, hence it seems reasonable to stop shipping this code when it's not being used.

Differential Revision: https://phabricator.services.mozilla.com/D193056
2023-11-08 19:34:52 +00:00
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
Mark Banner
de2cac32f4 Bug 1861865 - Fix ESLint valid-jsdoc issues in pictureinpicture code. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D192162
2023-11-01 17:20:41 +00:00
Mark Banner
1d0eba9d9f Bug 1861865 - Fix ESLint valid-jsdoc issues in UITour code. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D192161
2023-11-01 17:20:41 +00:00
Mark Banner
f846e0c0c6 Bug 1861865 - Fix ESLint valid-jsdoc issues in textrecognition.mjs. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D192160
2023-11-01 17:20:40 +00:00
Mark Banner
772ab6e788 Bug 1861865 - Fix ESLint valid-jsdoc issues in syncedtabs code. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D192159
2023-11-01 17:20:40 +00:00
Mark Banner
af66712370 Bug 1861865 - Fix ESLint valid-jsdoc issues in protections code. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D192158
2023-11-01 17:20:39 +00:00
Mark Banner
c271e63264 Bug 1861865 - Fix ESLint valid-jsdoc issues in ion.js. r=rhelmer,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D192157
2023-11-01 17:20:39 +00:00
Mark Banner
a82253732a Bug 1861865 - Fix ESLint valid-jsdoc issues in enterprise policy code. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D192156
2023-11-01 17:20:39 +00:00
Mark Banner
a505a80fe2 Bug 1861865 - Fix ESLint valid-jsdoc issues in Firefox view code. r=sclements,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D192155
2023-11-01 17:20:38 +00:00
Mark Banner
0088c604ff Bug 1844125 - Remove more bits of old translations code. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D192154
2023-10-30 16:20:55 +00:00
Gijs Kruitbosch
ffeedb34d2 Bug 1790354 - warn about using browser/ code from toolkit, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D191976
2023-10-30 15:29:47 +00:00
Cristian Tuns
7d2d3c884f Backed out changeset c66fc23f71d5 (bug 1790354) for causing doc-generate failures. CLOSED TREE 2023-10-27 13:06:04 -04:00
Gijs Kruitbosch
0825ad24e1 Bug 1790354 - warn about using browser/ code from toolkit, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D191976
2023-10-27 15:02:09 +00:00
Mark Banner
833fc90714 Bug 1860988 - Enable all ESLint rules on the rest of dom/**/*.xhtml files that were renamed from xul. r=dom-core,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D191850
2023-10-27 12:43:04 +00:00
Mark Banner
21e52b9399 Bug 1860988 - Enable ESLint rule object-shorthand on remaining parts of dom/*. r=dom-core,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D191849
2023-10-27 12:43:04 +00:00