commit | 856fc5567263cadd3edcfd56c1d8e6e6b6873f07 | [log] [tgz] |
---|---|---|
author | Yuki Yamada <yukiy@google.com> | Thu Aug 23 11:31:06 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 23 11:31:06 2018 |
tree | 8b4ff334a4de2c19b8f2f197162285fd847c3c0a | |
parent | ae9017a2c57f24368c95deaa7c4426ef2d1e9d97 [diff] |
Check script execution is forbidden or not only in MainWorld We should not forbid script execution in isolated worlds when dispatching events (it should be operated by disabling Chrome extension), so checking execution setting is necessary only in main world. V8EventListenerOrEventHandler::CallListenerFunction() already implements this, so this CL make GeneratedCodeHelper::IsCallbackRunnable() to do the same conditional check for other callbacks generated by IDL files. Test for this is already exists: https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/fast/events/events-in-isolated-world.html Bug: 872138, 608286, 608641 Change-Id: Ibc38e6033d6d0462362012f1c49271548c26a8ec Reviewed-on: https://chromium-review.googlesource.com/1186212 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Yuki Yamada <yukiy@google.com> Cr-Commit-Position: refs/heads/master@{#585449}
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 .