Closed Bug 2092844 Opened 16 days ago Closed 12 days ago

[wpt-sync] Sync PR 64630 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=306605

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64630 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64630
Details from upstream follow.

Yoav Weiss <yoav.weiss@shopify.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=306605

WebKit export from bug: Speculation Rules JSON with no charset is not processed

<pre>
SpeculationRules - JSON rules with no charset interpreted as UTF-8

This PR aligns the implementation with the spec and enforces UTF-8 encoding on external JSON rules.
This resolves the issue, as resources without explicit encoding will now be properly processed.

No new test files, but added new test cases.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=306605">https://bugs.webkit.org/show_bug.cgi?id=306605</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/306513@main">https://commits.webkit.org/306513@main</a>
</pre>

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 16 tests and 1 subtests

Status Summary

Firefox

OK : 16
PASS: 16

Chrome

OK : 16
PASS: 16

Safari

OK : 16
PASS: 16

Links

GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.