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

24 Коммитов

Автор SHA1 Сообщение Дата
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
Chun-Min Chang b16ca46e89 Bug 1875941 - Remove webcodecs crashtests from extraMochitestTestPaths r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D199377
2024-01-26 01:20:04 +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
Mark Banner 6cb634d207 Bug 1860428 - Enable ESLint rules no-undef and no-unused-vars on dom/media/webaudio/. r=karlt
Depends on D191582

Differential Revision: https://phabricator.services.mozilla.com/D191583
2023-10-24 08:10:11 +00:00
Paul Adenot 001148d1c8 Bug 1849271 - Flip test when checking for the presence of optional colorspace members on a VideoDecoderConfig. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D186530
2023-08-22 14:33:21 +00:00
DJ 309d17d096 Bug 1846583 - remove pocket button and bookmarks bar from PBM. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D186145
2023-08-17 20:21:20 +00:00
Frederic Wang 3ca3383228 Bug 1847201 - Reorganize and tweak tests for mathml.disabled=true. r=emilio
After bug 1847177, the only remaining tests in layout/mathml/tests are
for testing the effect of mathml.disabled=true.

test_disabled.html is a plain mochitest, rename it
dynamic-math-tree-001.html and move it into
testing/web-platform/mozilla/tests/mathml/disabled. The iframe added in
bug 1470163 is no longer necessary since the preference is enabled in
the __dir__ini manifest.

test_disabled_chrome.html is a chrome mochitest checking that MathML
is still laid out in Chrome document when mathml.disabled is true. It
is a bit complex and non-obvious so try to rewrite it in a more
straightforward way. Also use test_disabled_chrome_iframe.html as
a file name for the the iframe content to make clear it's associated
to this test. Probably this test could be rewritten as a browser
mochitest (see bug 1847206).

math-parse01.html is copied from the the upstream WPT repo but runs
with mathml.disabled=true. Move it into the same directory as other
WPT tests testing support when MathML is disabled.

Finally, also enable linting for layout/mathml/tests.

Differential Revision: https://phabricator.services.mozilla.com/D185426
2023-08-16 09:06:01 +00:00
Barret Rennie a645de723e Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-05-12 18:34:28 +00:00
Sandor Molnar 924826ccad Backed out changeset 987d013caf11 (bug 1776480) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_downloads_download.js CLOSED TREE 2023-05-11 22:36:59 +03:00
Barret Rennie 6149948e68 Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-05-11 17:49:27 +00:00
Norisz Fay bf5ea8f459 Backed out changeset 3d766d94945d (bug 1776480) for causing multiple xpcshell and bc failures CLOSED TREE 2023-04-28 06:55:03 +03:00
Barret Rennie 7bae7d5d70 Bug 1776480 - Remove OS.File et al. r=Gijs
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-04-28 02:35:13 +00:00
Butkovits Atila 608af74b62 Backed out changeset fc8a2b80e9f6 (bug 1776480) for causing Gecko Decision bustage. CLOSED TREE 2023-04-28 04:31:36 +03:00
Barret Rennie b2b98d70e4 Bug 1776480 - Remove OS.File et al. r=Gijs
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-04-28 01:10:56 +00:00
Alexandre Poirot b642d61aff Bug 1693495 - [devtools] Implement a beginning of "Network" commands, starting with sendHTTPRequest. r=devtools-reviewers,nchevobbe
Use new "commands" thunk argument.
We were passing connector as argument whereas we could have fetched it from thunk arguments.

This will help slowly convert Connector/NetMonitorAPI to a command.

Differential Revision: https://phabricator.services.mozilla.com/D166055
2023-01-09 13:09:43 +00:00
Chun-Min Chang c608970241 Bug 1774300 - Implement VideoColorSpace r=padenot,jgilbert
This patch implements the VideoColorSpace created in D144771.

Depends on D144772

Differential Revision: https://phabricator.services.mozilla.com/D145395
2022-10-06 00:37:20 +00:00
Butkovits Atila dd8f948670 Backed out 19 changesets (bug 1793497, bug 1774300) for causing lint failure. CLOSED TREE
Backed out changeset f5460317d244 (bug 1793497)
Backed out changeset 5af8771526a1 (bug 1774300)
Backed out changeset 3ab7aead37b5 (bug 1774300)
Backed out changeset 5f837d7e621b (bug 1774300)
Backed out changeset 56bfa6480cb5 (bug 1774300)
Backed out changeset db37fffc8519 (bug 1774300)
Backed out changeset d5d263cedbc9 (bug 1774300)
Backed out changeset 52fdd5a613f4 (bug 1774300)
Backed out changeset 6ce76e0d6fd2 (bug 1774300)
Backed out changeset c5f67f22597e (bug 1774300)
Backed out changeset 4a7dca31703e (bug 1774300)
Backed out changeset e56596b91a86 (bug 1774300)
Backed out changeset 825ae6e7be9b (bug 1774300)
Backed out changeset 19f750d86a73 (bug 1774300)
Backed out changeset 50995e55c546 (bug 1774300)
Backed out changeset 33b150b4c911 (bug 1774300)
Backed out changeset 2bc06d0e8808 (bug 1774300)
Backed out changeset ba9bc5c631b0 (bug 1774300)
Backed out changeset 4a145bdd6b86 (bug 1774300)
2022-10-05 01:05:57 +03:00
Chun-Min Chang 81e9c60777 Bug 1774300 - Implement VideoColorSpace r=padenot,jgilbert
This patch implements the VideoColorSpace created in D144771.

Depends on D144772

Differential Revision: https://phabricator.services.mozilla.com/D145395
2022-10-04 21:38:23 +00:00
Mark Banner 860b0acba4 Bug 1792694 - Set up ESLint on the dom/ directory for enabling no-unused-vars and no-undef in more places across the dom tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D158254
2022-09-28 17:23:12 +00:00
Ted Campbell 7a57865285 Bug 1790912 - Migrate js/ductwork/debugger to devtools/platform. r=ochameau
This gecko integration code is better managed with the other devtools platform
hook code. To simplify resolving the JSM and avoiding issues around restricted
use of eval in chrome, I also reset the DIST_SUBDIR config and run the xpcshell
tests without a firefox-appdir. The test works on Android these days, so
re-enable it on that platform.

Differential Revision: https://phabricator.services.mozilla.com/D157522
2022-09-25 09:03:34 +00:00
Ted Campbell 410e8dff3f Bug 1790912 - Fix lint issues in js/ductwork/debugger. r=ochameau
When we move this out of the js/ directory, a number of lint exceptions stop
applying so we should just fix the issues now.

Differential Revision: https://phabricator.services.mozilla.com/D157521
2022-09-25 09:03:33 +00:00
Olivier Tilloy 1bf47c9302 Bug 1789310 - Add an "Ubuntu" token to the UA string when running as a snap on an Ubuntu host r=mkaply,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156492
2022-09-22 18:52:44 +00:00
Mark Banner 4ed899ee38 Bug 1782008 - Add existing test directories to the ESLint test path definition file. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D152735
2022-08-03 11:16:19 +00:00
Mark Banner 06e59b0866 Bug 1782008 - Move ESLint test paths definitions to a separate file. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D152734
2022-08-03 11:16:19 +00:00