Closed Bug 2052184 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 61041 - net: Do not return svg rasterization if requested size is zero width/height

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Narfinger <Narfinger@users.noreply.github.com> wrote:

net: Do not return svg rasterization if requested size is zero width/height

This fixes the crash in https://github.com/servo/servo/issues/46153 on the image_cache side only. The problem of the layout still requesting a zero size rasterization still persist but this prevents the crash in image cache.

Testing: Tested on the provided testcase.
Fixes: https://github.com/servo/servo/issues/46153

Reviewed in servo/servo#46199

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Component: DOM: Core & HTML → SVG

CI Results

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

Total 27 tests

Status Summary

Firefox

OK : 2
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, GitHub] 7[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 29[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 2

Chrome

PASS: 1

Safari

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/eb7cefdc0649 https://hg.mozilla.org/integration/autoland/rev/1d8a6b49cd71 [wpt PR 61041] - net: Do not return svg rasterization if requested size is zero width/height, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.