Closed Bug 2041644 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 60093 - Make Document::ProcessBaseElement store strings rather than pointers to strings.

Categories

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

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Baron <dbaron@chromium.org> wrote:

Make Document::ProcessBaseElement store strings rather than pointers to strings.

This changes Document::ProcessBaseElement to use AtomicString rather
than using const AtomicString* that point into an element's attribute
storage (which could be modified in the middle of the function).

Fixed: 515155946
Change-Id: I56dba34c3df8e0b3752b4bfcc2ee6c248694bcc0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7868910
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: David Baron \<dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1634618}

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/216a6ece6752 https://hg.mozilla.org/integration/autoland/rev/735c842efa75 [wpt PR 60093] - Make Document::ProcessBaseElement store strings rather than pointers to strings., a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.