Closed Bug 2083611 Opened 1 month ago Closed 29 days ago

[wpt-sync] Sync PR 63857 - script: use encoding-parse algorithm in HTMLImageElement

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Siddhi sahu <himanisahu739@gmail.com> wrote:

script: use encoding-parse algorithm in HTMLImageElement

HTMLImageElement used to join base_url with with source, which always encoded with utf-8.

Now it uses encoding-parse a URL algorithm.

tested locally, everthing works as expected.

Testing: tests/wpt/tests/html/semantics/embedded-content/the-img-element/img-src-encoding-parse.html
Fixes: #<!-- nolink -->49010

Reviewed in servo/servo#49020

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 148 tests and 17 subtests

Status Summary

Firefox

OK : 1[GitHub] 120[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1814[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1833[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1837[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 50[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 51[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 53[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3497b22cc457 https://hg.mozilla.org/integration/autoland/rev/6a8bd062d06c [wpt PR 63857] - script: use encoding-parse algorithm in HTMLImageElement, a=testonly
Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.