commit | 45dedabecb98f1e92ea8cc409ecb68cd4574a7e9 | [log] [tgz] |
---|---|---|
author | Yuki Yamada <yukiy@google.com> | Thu Sep 13 11:26:44 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 13 11:26:44 2018 |
tree | a9c3de95a538bd56c150aa7c5d0f16d966672ba2 | |
parent | 5cad5bb98b6fbbb0d310a84a975b56b4a85abba4 [diff] |
Designate world on creating lazy listener This CL make V8LazyEventListener::Create() receive DOMWrapperWorld. Current V8LazyEventListener assumes that it is created only in main world, but Chrome extensions can also create lazy listener with Element.setAttribute(). It is safer to check if there are current context because current context should exist on executing Element.setAttribute(). We can get world from that current context. Bug: 872138 Change-Id: I684affc2937a5f79bf6c9a685761092ac4067df6 Reviewed-on: https://chromium-review.googlesource.com/1218244 Commit-Queue: Yuki Yamada <yukiy@google.com> Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#590972}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .