Closed Bug 1828473 Opened 1 years ago Closed 1 years ago

[wpt-sync] Sync PR 39571 - Handle detached documents in SVGLengthContext

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Handle detached documents in SVGLengthContext

The StyleResolver gets torn down when the Document it is associated to
is detached/shutdown.

Check for this in ComputedStyleForLengthResolving(), and return null if
so. Restore null-checks in callers.

Bug: 1433491
Change-Id: I1f6b934e20f52aba1ebd486a1030e6ec1a34e0bb
Reviewed-on: https://chromium-review.googlesource.com/4432192
WPT-Export-Revision: 39e6caeae877e03f243c229edf57404dd49a8bf1

Component: web-platform-tests → SVG
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS : 1

Chrome

CRASH: 1

Safari

PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2c24a975606d [wpt PR 39571] - Handle detached documents in SVGLengthContext, a=testonly
Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.