Closed Bug 1751006 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 32455 - Fix srcdoc attribute reset.

Categories

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

task

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

W. James MacLean <wjmaclean@chromium.org> wrote:

Fix srcdoc attribute reset.

Currently, resetting the srcdoc attribute on an iframe in chromium fails
to clear the current content. The existing test fails since it doesn't
synchronize with the page's onload event to confirm the srcdoc content
was there before clearing the attribute and checking that the content is
cleared too.

This CL fixes both the behavior and the test, and converts the test to
be a WPT test.

Bug: 1233143
Change-Id: I006ee39e4525c7cd015f1c2483c429a93cdd0ca6
Reviewed-on: https://chromium-review.googlesource.com/3400984
WPT-Export-Revision: 6ed42a5a2701d77e9b112867efc5184dd35acecb

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS : 1

Chrome

TIMEOUT: 2

Safari

TIMEOUT: 2

Links

GitHub PR Head
GitHub PR Base

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