commit | f49769b26714a44e7cf5a17ba4124cd918cd1b2e | [log] [tgz] |
---|---|---|
author | Yuki Shiino <yukishiino@chromium.org> | Thu Feb 21 08:07:52 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 21 08:07:52 2019 |
tree | ad89936662c6c3ac7be4438e086e79eda053535d | |
parent | 11ec2a7144f9dba72fa160f85ff6236686654e66 [diff] |
v8binding: Support mixture of [SecureContext] and inherited interface member Inherited IDL interface member shouldn't be affected by [SecureContext] applied on an inheriting IDL interface. This patch fixes it. Example interface Base { [Unforgeable] attribute T attr; }; [SecureContext] interface Derived : Base { attribute T attr2; }; When an instance of |Derived| is created in non-secure context, the instance does not have |attr2| due to [SecureContext], however, the instance must have |attr| because Base's attr is not specified with [SecureContext] although |attr| is inherited to Derived. Bug: 933731 Change-Id: I1ffb8acb0ead8d6e378c6f51a131b5779ddd293c Reviewed-on: https://chromium-review.googlesource.com/c/1478668 Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#634122}
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 .