Perma /html/semantics/scripting-1/the-script-element/json-module/charset-2.html | SyntaxError: import assertions are not currently supported when Gecko 132 merges to beta on 2024-09-30
Categories
(Core :: DOM: Events, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox130 | --- | unaffected |
| firefox131 | --- | unaffected |
| firefox132 | + | verified |
People
(Reporter: noemi_erli, Assigned: aryx)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
Central-as-beta simulation:
How to run these simulations:
Failure log
[task 2024-09-04T13:00:22.850Z] 13:00:22 INFO - TEST-START | /html/semantics/scripting-1/the-script-element/json-module/charset-2.html
[task 2024-09-04T13:00:22.862Z] 13:00:22 INFO - Setting pref javascript.options.experimental.import_attributes to true
[task 2024-09-04T13:00:23.168Z] 13:00:23 INFO - Closing window 0fb14a64-ad23-4493-8f57-d4b797ddc260
[task 2024-09-04T13:00:23.371Z] 13:00:23 INFO - PID 1076 | JavaScript error: http://web-platform.test:8000/html/semantics/scripting-1/the-script-element/json-module/charset-2.html, line 8: SyntaxError: import assertions are not currently supported
[task 2024-09-04T13:00:23.371Z] 13:00:23 INFO - PID 1076 | JavaScript error: http://web-platform.test:8000/html/semantics/scripting-1/the-script-element/json-module/charset-2.html, line 14: SyntaxError: import assertions are not currently supported
[task 2024-09-04T13:00:23.419Z] 13:00:23 INFO - TEST-UNEXPECTED-ERROR | /html/semantics/scripting-1/the-script-element/json-module/charset-2.html | SyntaxError: import assertions are not currently supported
[task 2024-09-04T13:00:23.419Z] 13:00:23 INFO - http://web-platform.test:8000/html/semantics/scripting-1/the-script-element/json-module/charset-2.html:14:121
[task 2024-09-04T13:00:23.419Z] 13:00:23 INFO - TEST-INFO took 580ms
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1916104
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
After this line in StaticPrefs.yaml, enabling to set the pref after startup similar to this one should be needed.
Jonatan, could you take care of this failure?
Comment 3•1 year ago
|
||
Ops, my bad. I forgot that this pref is nightly only when I updated the WPT metadata. I am traveling for the rest of the week, so I won't be able to submit a patch before early next week. So, in case this needs to be fixed ASAP, someone else needs to pick this up.
I think we need a release_or_beta check here to only set this flag in nightly:
https://searchfox.org/mozilla-central/rev/cc01f11adfacca9cd44a75fd140d2fdd8f9a48d4/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/__dir__.ini#1
We also need to update the test expectations for all tests here: testing/web-platform/tests/HTML/semantics/scripting-1/the-script-element/json-module/. So that we expect failures in beta and release builds.
Comment 4•1 year ago
|
||
It looks like we have until 30 september to fix this, so there's time, but if you'd prefer me to have a look a this, please let me know.
| Assignee | ||
Comment 5•1 year ago
|
||
Bug 1877792 sets javascript.options.experimental.import_attributes for a wpt
test which gets applied after startup. Change the preference to support this
need.
Updated•1 year ago
|
| Assignee | ||
Comment 6•1 year ago
|
||
A patch with the change suggested in comment 2 is available and will be tested by the code sheriffs tomorrow.
In the past (e.g. :bz), wpt expectations were set based on the default behavior of the branch, e.g. with feature enabled in central/Nightly as passing, failing for release and beta. Nowadays explicitly enabling the feature preference and setting the test expectations based on that is the default behavior. I did not get a definitive answer if this affects wpt overview sites which show features as implemented/shipping or not.
Comment 7•1 year ago
|
||
The patch is not working, still failing on today's beta sim with the patch imported.
| Comment hidden (Intermittent Failures Robot) |
Comment 9•1 year ago
|
||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
This patch stack should fix the beta sim failures.
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Patch is working in latest beta simulation
Comment 13•1 year ago
|
||
Comment 14•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3aab30167c79
https://hg.mozilla.org/mozilla-central/rev/f51b5125467a
| Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
Description
•