Skip to content
Commit 7997dbe6 authored by Rakina Zata Amni's avatar Rakina Zata Amni Committed by Commit Bot
Browse files

Remove window.event support for V1 ShadowDOM

window.event should be undefined if an Event's target is in a shadow
tree, because it is leaking information from inside the shadow tree.

This change will remove window.event support for events targeted to
nodes within a V1 shadow tree.

Discussion link: https://github.com/whatwg/dom/issues/334

Bug: 779461
Change-Id: I310bc72463369befd693de9321a9949a97e83f5e
Reviewed-on: https://chromium-review.googlesource.com/773922


Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Reviewed-by: default avatarTakayoshi Kochi <kochi@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarYuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518317}
parent 977673c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment