commit | 2f2d97b775634dcb3f099162f926af93924d29ab | [log] [tgz] |
---|---|---|
author | Yuki Shiino <yukishiino@chromium.org> | Fri Nov 09 13:46:44 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 09 13:46:44 2018 |
tree | a29df225a3aaa7e9286e05080a0ee8f74c21b2e8 | |
parent | 496cd36004b1f6d845e66930bbbd939de4e4f5bb [diff] |
v8binding: Use explicitly-typed callback functions in custom elements We're planning to not use cross origin ScriptStates everywhere, especially in IDL callback function and callback interface. Given that, we'd like to minimize use of ScriptState of callbacks, which will be nullptr in case of cross origin, so that the call sites of callbacks do not need to handle a SecurityError. This patch is a preparation of https://crrev.com/c/1314023 and removes the use of the ScriptState from custom elements. Bug: 886588, 892755 Change-Id: I52068920b659efe119496ec092448cdc107e0631 Reviewed-on: https://chromium-review.googlesource.com/c/1325585 Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#606819}
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 .