Closed Bug 1690927 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27496 - Prevent focused element from moving documents

Categories

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

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Joey Arhar <jarhar@chromium.org>' wrote:

Prevent focused element from moving documents

Without this patch, it would be possible for Document::FocusedElement to
return an element which isn't in the same document, which is very
problematic.

Fixed: 1172828
Change-Id: I1a9492b27e16067cda70e0a0c9cf94bb241a4c20
Reviewed-on: https://chromium-review.googlesource.com/2674404
WPT-Export-Revision: c20e038e49d9fede974d0f0c870c17269045d4b9

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

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1de3d76856ac
[wpt PR 27496] - Prevent focused element from moving documents, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.