Commit Graph

51 Commits

Author SHA1 Message Date
Nika Layzell
8ae5b9e858 Bug 1958350 - Part 2: Add test for subframe content area clicks, r=Gijs,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D244445
2025-05-15 19:18:28 +00:00
Emma Zuehlcke
6ffe780cd1 Bug 1965038 - Add performance test for nsIUrlClassifierExceptionList. r=anti-tracking-reviewers,timhuang,perftest-reviewers,frontend-codestyle-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D247791
2025-05-08 12:01:06 +00:00
Thomas Wisniewski
fa66860cf8 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-24 11:55:09 +00:00
Sandor Molnar
b9feeb9be6 Backed out changeset 12fe213a5acf (bug 1952334) for causing bc failures @ browser_webcompat.com_fallback.js CLOSED TREE 2025-03-23 11:50:49 +02:00
Thomas Wisniewski
7d89ae3c11 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-23 03:38:50 +00:00
Cosmin Sabou
834872dfb3 Backed out changeset 5113567c1ced (bug 1952334) for bc failures on browser_webcompat.com_fallback.js. CLOSED TREE 2025-03-21 22:14:18 +02:00
Thomas Wisniewski
702cd76018 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-21 13:00:34 +00:00
Sandor Molnar
0fb14f0eb0 Backed out changeset aff0571a4a46 (bug 1952334) for causing build bustages. CLOSED TREE 2025-03-20 03:12:29 +02:00
Thomas Wisniewski
6ac129706e Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-20 00:14:00 +00:00
Goloman Adrian
2297602064 Backed out changeset 0f21091f77ec (bug 1952334) for causing bc failures @browser_all_files_referenced.js. CLOSED TREE 2025-03-14 08:05:34 +02:00
Thomas Wisniewski
0c35bb4f68 Bug 1952334 - Remove the old Report Site Issue fallback and its system addon, and have Report Broken Site perform its function; r=Gijs,mossop,webcompat-reviewers,zeid,frontend-codestyle-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D240671
2025-03-13 20:37:14 +00:00
Jared Hirsch
c132e723ae Bug 1926145 - Add profiles menu to menubar. r=niklas,fluent-reviewers,desktop-theme-reviewers,dao,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D226412
2024-11-13 02:46:30 +00:00
Sandor Molnar
882c106d21 Backed out 2 changesets (bug 1926145, bug 1924850) for causing bc failures @ browser_menubar_profiles CLOSED TREE
Backed out changeset ce1ce2a8cacd (bug 1924850)
Backed out changeset 387976dca835 (bug 1926145)
2024-11-06 01:15:56 +02:00
Jared Hirsch
a6726bdfef Bug 1926145 - Add profiles menu to menubar. r=niklas,fluent-reviewers,desktop-theme-reviewers,dao,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D226412
2024-11-05 21:02:14 +00:00
Dão Gottwald
23219d1d28 Bug 1924532 - Move tabMediaIndicator tests to browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,dwalker,mossop
Differential Revision: https://phabricator.services.mozilla.com/D225516
2024-10-15 16:04:13 +00:00
Mark Banner
3dcecced2a Bug 1917530 - Fix ESLint no-shadow issues in devtools code. r=devtools-reviewers,profiler-reviewers,frontend-codestyle-reviewers,nchevobbe,julienw,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221442
2024-09-12 21:08:43 +00:00
Sandor Molnar
b59809ee6a Backed out 8 changesets (bug 1917532, bug 1575506, bug 1917530) for causing node newtab failures CLOSED TREE
Backed out changeset 8d6f7bc74d08 (bug 1917532)
Backed out changeset 7c963e72cf06 (bug 1575506)
Backed out changeset d5e110187781 (bug 1917530)
Backed out changeset 1d2325ffded6 (bug 1917530)
Backed out changeset 8a361e37e32c (bug 1917530)
Backed out changeset c4011d92c7f7 (bug 1917530)
Backed out changeset 1a45047dfb3c (bug 1917530)
Backed out changeset ed6b35444c45 (bug 1917530)
2024-09-12 20:45:28 +03:00
Mark Banner
0f1740d7e9 Bug 1917530 - Fix ESLint no-shadow issues in devtools code. r=devtools-reviewers,profiler-reviewers,frontend-codestyle-reviewers,nchevobbe,julienw,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221442
2024-09-12 16:41:57 +00:00
Mark Banner
b37a740d80 Bug 1906047 - Move toolkit/profile/ tests into a test sub-directory. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D215736
2024-07-08 08:51:18 +00:00
Mark Banner
6e160ecd7b Bug 1906047 - Move intl/benchmarks/ to be in a test sub-directory. r=hsivonen,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D215735
2024-07-08 08:51:17 +00:00
Mark Banner
2ee1b2dba8 Bug 1905957 - Rename testing/xpcshell/example/unit to testing/xpcshell/test/unit to better reflect the standard test directory naming. r=jmaher,frontend-codestyle-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D215539
2024-07-03 11:41:29 +00:00
Jan-Niklas Jaeschke
d4ee399d4e Bug 1904773 - Text Fragments: Implemented makeshift user involvement check. r=edgar,dom-core,frontend-codestyle-reviewers
User involvement as defined in the spec is not implemented in Gecko yet.
Therefore, the changes introduced in Bug 1888756 disallowed scrolling to text directives if the load was triggered by the user, eg. by pasting a link with a text fragment into the url bar.

This patch checks if the triggering principal of the load is the system principal.
This is equivalent to the "browser UI" value of user involvement.

Differential Revision: https://phabricator.services.mozilla.com/D214409
2024-07-01 11:24:08 +00:00
Dão Gottwald
5d53c6acf7 Bug 1900002 - Move tabbrowser tests into a browser/ folder. r=frontend-codestyle-reviewers,dwalker
See https://phabricator.services.mozilla.com/D211509#inline-1171035

Differential Revision: https://phabricator.services.mozilla.com/D212250
2024-06-04 13:20:52 +00:00
Dão Gottwald
8c53278f3d Bug 1898690 - Move statuspanel tests into browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D211509
2024-05-28 17:00:44 +00:00
Dão Gottwald
c4167a3cc6 Bug 1898197 - Move tabs tests into browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D211190
2024-05-23 12:54:24 +00:00
Mark Banner
94a2472342 Bug 1897898 - Separate out ESLint rule rollouts configurations to a separate module. r=frontend-codestyle-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D210992
2024-05-21 13:38:01 +00:00
Irene Ni
ea6c87d4f9 Bug 1876432 - Added support for custom themes as its own menu in Reader View. r=reader-mode-reviewers,fluent-reviewers,desktop-theme-reviewers,hjones,accessibility-frontend-reviewers,bolsson,devtools-reviewers,sfoster,cmkm,jules,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D204519
2024-04-02 00:08:46 +00:00
Mark Banner
56afd4fb72 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
fd3085c41f 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
49a88d8bb7 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
a28be6317f 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
a837dd1655 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
cff3198b49 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
3e1f759a6b 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
54cd87cca0 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
f257c0e512 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
2d861190b5 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
7c0cf07847 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
947671cb5a 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
90be13a92b Backed out changeset fc8a2b80e9f6 (bug 1776480) for causing Gecko Decision bustage. CLOSED TREE 2023-04-28 04:31:36 +03:00
Barret Rennie
a3f5bdb54c 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
a3e1f8fb52 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
4fb53b6bf3 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
e0ff314b94 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
de6953bcd9 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
9b51be85f2 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
ff455a75f3 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
b88c12d932 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
226de3fd72 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
ea37559b35 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