Description[Extensions] Don't allow gin::Define to be overridden
Use DefineOwnProperty instead of Set in for gin, including gin::Define.
Replace Set in v8_helpers as well, to avoid the same problem.
Also update callsites from JS to CHECK expected arguments, rather
than DCHECK (since receiving unexpected arguments likely means
executing untrusted code).
BUG=549986
Committed: https://crrev.com/415b73b1a400a994a86e6f29709aa0271e895dd5
Cr-Commit-Position: refs/heads/master@{#359460}
Patch Set 1 #
Total comments: 3
Patch Set 2 : #
Messages
Total messages: 10 (3 generated)
|