commit | 756bea38c853ce40e3daba7f7fadf85b0920785f | [log] [tgz] |
---|---|---|
author | Yuki Shiino <yukishiino@chromium.org> | Tue Nov 20 10:52:50 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 20 10:52:50 2018 |
tree | fdf8f73813eeee07fbdf6e70a6f43d9c4ced69dc | |
parent | efdb15a83606d58bd03d836be326c3f749e12bfb [diff] |
v8binding: Do not hold a cross origin ScriptState in IDL callback function Make IDL callback function not hold a ScriptState of its creation context when it's cross origin from the incumbent realm. Not holding a cross origin ScriptState, there is much less risk to access a cross origin context. IDL callback interface will follow the same approach in a separate patch. Bug: 892755, 886588, 904218 Change-Id: Ie55b436fcc5f66f4ee053ef08ad98ea68fb3a2d6 Reviewed-on: https://chromium-review.googlesource.com/c/1314023 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#609662}
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 .