Closed Bug 1593889 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 20080 - [AOM] Remove validation upon getting element refs

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Meredith Lane <meredithl@chromium.org> wrote:

[AOM] Remove validation upon getting element refs

In order to comply with the current version of the spec, elements are
no longer validated on retrieval or getting. This means that explicitly
set elements are still able to be the attr-associated-element, even if
they have been moved into an invalid scope, such as a deeper shadow
root, or a different tree scope or removed entirely.

This is likely to change in future, but as the spec is still being
actively discussed it is better to comply with the current version.

BUG=981423

Change-Id: I496c06cfad5f056c49dedb3e9821781c755538b5
Reviewed-on: https://chromium-review.googlesource.com/1898889
WPT-Export-Revision: 56201c7c8365bb1b749409f95c7dfc670324e342

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
PR 20080 applied with additional changes from upstream: c3ca81129eb610fffe607d6fda3bf2b06bfaeded
There were infrastructure failures for the Try push (https://treeherder.mozilla.org/#/jobs?repo=try&revision=ce6522055de40f394c2963ffbffc39d6e69bef4d): build-win64/opt build-win64/debug build-win32/debug build-win32/opt
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/887502d04d1c [wpt PR 20080] - [AOM] Remove validation upon getting element refs, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.