Commit Graph
728 Commits
Author SHA1 Message Date
Henri Sivonen 9ec57df41d Bug 2038800 - Check that the parser does not insert a node into its own descendant. r=dom-core,smaug
Differential Revision: https://phabricator.services.mozilla.com/D302716
2026-05-27 15:42:59 +00:00
Keith Cirkel 95d7a5a7b1 Bug 2028401 - Part 4 - Resync htmlparser to b09277d r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D299704
2026-05-22 19:34:29 +00:00
Keith Cirkel 6480e61671 Bug 2019979 - Clean up dom.lift_select_parser_restrictions.enabled r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D299703
2026-05-22 19:34:26 +00:00
rperta e9d08d36dd Revert "Bug 2028401, Bug 2019979 - Part 4 - Resync htmlparser to b09277d r=hsivonen" for causing wpt failures at html5lib_innerHTML_tests_innerHTML_1.html
This reverts commit 9c3f1a9500.

Revert "Bug 2019979 - Clean up dom.lift_select_parser_restrictions.enabled r=hsivonen"

This reverts commit 05ce1fb123.
2026-05-22 16:40:04 +00:00
Keith Cirkel 9c3f1a9500 Bug 2028401 - Part 4 - Resync htmlparser to b09277d r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D299704
2026-05-22 14:52:33 +00:00
Keith Cirkel 05ce1fb123 Bug 2019979 - Clean up dom.lift_select_parser_restrictions.enabled r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D299703
2026-05-22 14:52:30 +00:00
Alexandru Marc eef30b2ead Revert (Bug 2028401, Bug 2019979) for causing mochitest failures @ test_bug922681
This reverts commit 9cfeccd372.

Revert "Bug 2019979 - Clean up dom.lift_select_parser_restrictions.enabled r=hsivonen"

This reverts commit 7c2ee56e70.
2026-05-21 21:26:19 +00:00
Keith Cirkel 9cfeccd372 Bug 2028401 - Part 4 - Resync htmlparser to bd7f0f7 r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D299704
2026-05-21 20:15:23 +00:00
Keith Cirkel 7c2ee56e70 Bug 2019979 - Clean up dom.lift_select_parser_restrictions.enabled r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D299703
2026-05-21 20:15:20 +00:00
Alexandru Marc a74cb95f65 Revert (Bug 2028401, Bug 2019979) for causing mochitest failures @ test_html5_tree_construction_part2
This reverts commit 8cea467d1c.

Revert "Bug 2019979 - Clean up dom.lift_select_parser_restrictions.enabled r=hsivonen"

This reverts commit 03d82311a4.
2026-05-21 18:23:44 +00:00
Keith Cirkel 03d82311a4 Bug 2019979 - Clean up dom.lift_select_parser_restrictions.enabled r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D299703
2026-05-21 16:56:14 +00:00
Keith Cirkel 2f20af343b Bug 2036041 - Ensure select mochitests enable lift_select_parser_restrictons pref r=dom-core,jjaschke
Differential Revision: https://phabricator.services.mozilla.com/D297709
2026-04-30 18:25:31 +00:00
Keith Cirkel 437c1a4055 Bug 2031668 - Enable dom.lift_select_parser_restrictions.enabled in nightly r=dom-core,jjaschke
Differential Revision: https://phabricator.services.mozilla.com/D295501
2026-04-29 08:57:28 +00:00
Alexandru Marc c8d15cb1b3 Revert "Bug 2031668 - Enable dom.lift_select_parser_restrictions.enabled in nightly r=dom-core,jjaschke" for causing mochitest failures @ test_option_index_attribute
This reverts commit be1af89fc5.
2026-04-29 05:22:32 +00:00
Keith Cirkel be1af89fc5 Bug 2031668 - Enable dom.lift_select_parser_restrictions.enabled in nightly r=dom-core,jjaschke
Differential Revision: https://phabricator.services.mozilla.com/D295501
2026-04-28 22:37:21 +00:00
Edgar Chen 0aba0c9dc8 Bug 2030641 - Add test for parser foster-parent handling; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D293071
2026-04-24 07:08:39 +00:00
Sylvestre Ledru 49209e1b2f Bug 2023419 - Remove Emacs/Vim modelines from parser/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287864
2026-03-18 14:35:02 +00:00
Alexandru Marc a0233d91a7 Revert "Bug 2023419 - Remove Emacs/Vim modelines from python/ r=emilio" for causing py failures @ test_configure
This reverts commit 4d755fe4de.

Revert "Bug 2023419 - Remove Emacs/Vim modelines from parser/ r=emilio"

This reverts commit e2035c4a10.

Revert "Bug 2023419 - Remove Emacs/Vim modelines from other-licenses/ r=emilio"

This reverts commit 1f7da58772.
2026-03-17 12:43:27 +00:00
Sylvestre Ledru e2035c4a10 Bug 2023419 - Remove Emacs/Vim modelines from parser/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287864
2026-03-17 12:08:44 +00:00
Tom Marble 3b3efde701 Bug 2009254 - Test manifest cleanup January 2026 r=ahal,necko-reviewers,webcompat-reviewers,credential-management-reviewers,devtools-reviewers,tabbrowser-reviewers,profiler-reviewers,dom-storage-reviewers,toolkit-telemetry-reviewers,layout-reviewers,dom-worker-reviewers,whimboo,hjones,sthompson,twisniewski,valentin,asuth,dholbert,dimi,ochameau
Updates Test Manifests to new conventions for the upcoming
linter patch in Bug 2004444. These conventions are documented in
   docs/code-quality/lint/linters/test-manifest-toml.rst
which will get published to
  https://firefox-source-docs.mozilla.org/code-quality/lint/linters/test-manifest-toml.html

Summary of changes:
- The order of comparisons/variables is now important in conditional
  expressions. Certain expressions have been edited to reflect this
  order (with no semantic changes).
- The variables which are tested for equality as well as all the flags
  are constrained to a known set (i.e. typos in variable/flag names
  will be caught by the linter)
- Older platforms which are no longer present in the CI infrastructure
  have been deprecated, for example:
   * ``"os == 'linux' && os_version == '18.04'
- Combinations of platforms and flags which are no longer present in
  the CI infrastructure will be removed, for example:
   * ``"os == 'linux' && os_version == '22.04' && asan"``
   * ``"os == 'linux' && os_version == '22.04' && tsan"``
   * ``"os == 'win' && tsan``
- Old platform combination flags and isLinux style flags have been
  deprecated in favor of explicitly checking os, os_version, etc.

NOTE: code changes in this patch are simply to maintain self tests
and do not reflect the updated linter changes.

Signed-off-by: Tom Marble <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D278535
2026-01-21 13:53:31 +00:00
Tom Marble 5ce09d7446 Bug 1995583 - test manifest cleanup for idiomatic usage r=jmaher,necko-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,sessionstore-reviewers,tabbrowser-reviewers,translations-reviewers,omc-reviewers,browser-installer-reviewers,twisniewski,masayuki,dom-core,smaug,nalexander,emcminn,sthompson,alwu,ai-ondevice-reviewers,valentin
For TOML manifests:

1. Change processor -> arch
2. Use arch instead of bits bits == '64' =>
   aarch64 (default on mac 15.30) or x86_64 bits == '32' => x86
3. Replace android_version with corresponding os_version
4. Remove conditions with linux os_version=="18.04"
   (unless they contain verify or verify-standalone)
5. Remove conditions with mac os_version=='11.20',
   (unless they contain verify or verify-standalone)
6. Remove conditions with win os_version=='11.2009' or win11_2009,
   (unless they contain verify or verify-standalone)
7. Linux conditions should have os_version, arch and display
   (simple "os == 'linux'" will get expanded to these two)
   "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'"
   "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'"
8. Mac conditions should have os_version and arch
   (simple "os == 'mac'" will get expanded to these three)
   "os == 'mac' && os_version == '10.15' && arch == 'x86_64'",
   "os == 'mac' && os_version == '14.70' && arch == 'x86_64'",
   "os == 'mac' && os_version == '15.30' && arch == 'aarch64'",
9. Replace apple_catalina with
   os == 'mac' && os_version == '10.15' && arch == 'x86_64'
10. Replace apple_silicon with
   os == 'mac' && os_version = '15.30' && arch == 'aarch64'
11. Replace win10_2009 with
   os == 'win' && os_version = '10.2009' && arch == 'x86_64'
12. Replace "!debug" with three conditions "asan", "opt", or "tsan"
13. Replace literal boolean comparison with variables
    (e.g. "debug == false" => "!debug)

Resolves 2000285

Signed-off-by: Tom Marble <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D272815
2025-11-22 00:30:39 +00:00
Mark Banner e73114dd2b Bug 1996350 - Automatic fixes for ESLint rule jsdoc/no-multi-asterisks (remainder). r=frontend-codestyle-reviewers,mtigley,mossop
Differential Revision: https://phabricator.services.mozilla.com/D270035
2025-10-29 11:35:08 +00:00
Henri Sivonen 9a02c45f05 Bug 1982148 - Avoid parsing HTML after termination has started. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D264065
2025-09-11 12:00:36 +00:00
Masayuki Nakano ac0474c864 Bug 769207 - part 14: Get rid of the pref to enable the legacy DOM mutation events and delete tests checking or depending on mutation events r=smaug,dom-core
Differential Revision: https://phabricator.services.mozilla.com/D263065
2025-09-08 00:28:24 +00:00
Rob Wu 62248a8bcc Bug 1953004 - Run test-manifest-toml --fix on all toml files in the trees r=credential-management-reviewers,places-reviewers,desktop-theme-reviewers,Standard8,devtools-reviewers,hjones,jmaher,jdescottes,dimi,necko-reviewers,sidebar-reviewers,jsudiaman,kershaw
This diff was generated as follows:

List all toml files in the tree:

`find * -name '*.toml' > /tmp/toml`

Manually edited /tmp/toml to drop non-relevant entries (objdir).

Ran the toml linter for all files:

`cat /tmp/toml | xargs ./mach lint -l test-manifest-toml --fix`

Differential Revision: https://phabricator.services.mozilla.com/D240948
2025-04-14 08:30:13 +00:00
Emilio Cobos Álvarez 95c7af0629 Bug 1939619 - Add comment class at comment start unconditionally. r=hsivonen
The regressing bug splits the span per line, so if there's no data state
within the comment, then we'd only add the class to the last comment
line.

Differential Revision: https://phabricator.services.mozilla.com/D233164
2025-01-07 10:35:18 +00:00
Emilio Cobos Álvarez fe3e608841 Bug 1927404 - Fix reftests. r=hsivonen
The tests don't change rendering but the references need adjusting to match the
new css.

Differential Revision: https://phabricator.services.mozilla.com/D227062
2024-11-05 09:54:42 +00:00
Iulian Moraru 56fb832d6b Backed out 4 changesets (bug 1927404) - for causing dt failures on browser_command_line_urls.js.
Backed out changeset 57e3626aa048 (bug 1927404)
Backed out changeset 0ee04fe4a1bc (bug 1927404)
Backed out changeset 1e68482cff47 (bug 1927404)
Backed out changeset 8b5961223d94 (bug 1927404)
2024-11-05 01:44:00 +02:00
Emilio Cobos Álvarez b04609b9c9 Bug 1927404 - Fix reftests. r=hsivonen
The tests don't change rendering but the references need adjusting to match the
new css.

Differential Revision: https://phabricator.services.mozilla.com/D227062
2024-11-04 12:18:31 +00:00
Chris H-C 724b00c304 Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D223833
2024-10-08 20:14:42 +00:00
Sandor Molnar 92076e16a7 Backed out 5 changesets (bug 1920562) for causing xpc assertion failures. CLOSED TREE
Backed out changeset 8f085ab589a8 (bug 1920562)
Backed out changeset 4405387ae770 (bug 1920562)
Backed out changeset a68fd13a33ae (bug 1920562)
Backed out changeset cd3672fc08ed (bug 1920562)
Backed out changeset 62ab18879eea (bug 1920562)
2024-10-08 00:16:13 +03:00
Chris H-C e944bfe7a2 Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D223833
2024-10-07 17:29:57 +00:00
Gregory Pappas acaafe91a3 Bug 1920268 - Remove unnecessary MochiKit.js includes in tests (parser/htmlparser/) r=dom-core,masayuki
Depends on D223035

Differential Revision: https://phabricator.services.mozilla.com/D223036
2024-09-23 22:35:41 +00:00
Olli Pettay 25c3ef03e5 Bug 1914513 - Add a pref to disable mutation events, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D219934
2024-09-02 13:29:57 +00:00
Henri Sivonen 01544e8429 Bug 1910951 - Avoid incorrect use of nsParser when meta refresh is added to about:blank. r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D218926
2024-08-13 15:15:03 +00:00
Emilio Cobos Álvarez 86deda3694 Bug 1910600 - Minor clean-ups to test_img_picture_preload.html. r=smaug
This doesn't change behavior, but I wrote them while debugging my patch
for bug 1076583. We no longer have the picture prefs and so on, and this
made it reasoning about it slightly easier.

Differential Revision: https://phabricator.services.mozilla.com/D218062
2024-07-30 21:22:15 +00:00
Emilio Cobos Álvarez 6285ef40d2 Bug 1901414 - Skip 1747514.html in tsan too since it's too slow.
Before my patch we deferred the layout one event loop tick which was
enough for the load event to fire.

MANUAL PUSH: Trivial orange fix CLOSED TREE
2024-06-14 13:53:23 +02:00
Emilio Cobos Álvarez ecd7552d93 Bug 1901414 - Flush layout before firing SVG image doc load. r=dshin
(barely tested, and would need a test written, but it seems easy to do
based on the test case on the bug)

Differential Revision: https://phabricator.services.mozilla.com/D213430
2024-06-14 07:33:45 +00:00
Dave Townsend e597ae94f8 Bug 1864896: Autofix unused function arguments (parser). r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D202976
2024-03-02 15:26:01 +00:00
Joel Maher 5742640e64 Bug 1879538 - cleanup unnecessary and redundant reftest conditions. r=aryx,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D201794
2024-02-22 23:04:45 +00:00
Tooru Fujisawa a3e0542fb8 Bug 1874595 - Use LF in toml file consistently. r=jmaher,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198505
2024-01-15 15:21:53 +00:00
Joel Maher ee1703a992 Bug 1865385 - remove win7/win-aarch64 annotations from reftest manifests. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D193995
2023-12-05 21:49:04 +00:00
Daniel Holbert 0461d54cd1 Bug 1861332: Add a body element to crashtest 1747514.html so that its document.body.appendChild invocation can succeed instead of throwing a JS TypeError. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D191929
2023-10-26 16:55:41 +00:00
Mark Banner cc2be2ea34 Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot
Differential Revision: https://phabricator.services.mozilla.com/D190985
2023-10-24 08:48:41 +00:00
Edgar Chen aee4e15796 Bug 1686012 - Make Headless clipboard support the HTML type; r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D191195
2023-10-18 08:15:27 +00:00
Tom Marble 35fe0c835f Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu
Differential Revision: https://phabricator.services.mozilla.com/D190515
2023-10-13 02:32:24 +00:00
Henri Sivonen 856c1701fc Bug 1854907 - Make document.write-related operations on the creator parser no-ops on scripts whose type does not allow document.write. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D189110
2023-09-28 12:21:39 +00:00
Joel Maher bb9d0a0e79 Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Kershaw Chang 8c73084fff Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-28 13:21:00 +00:00
Norisz Fay a17cc174f1 Backed out 2 changesets (bug 1838829) for causing perma mochitest failure with dom/websocket/tests being skipped CLOSED TREE
Backed out changeset 19a5d4f1850a (bug 1838829)
Backed out changeset 97cd8a256954 (bug 1838829)
2023-06-27 02:52:52 +03:00