Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: extensions/renderer/safe_builtins.cc

Issue 1938123002: Ensure that privates are private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/safe_builtins.cc
diff --git a/extensions/renderer/safe_builtins.cc b/extensions/renderer/safe_builtins.cc
index 2933e4dbd6f48884a8df81d108ec6495b107173d..7669a2107ba66af9f7f929cf7376d9233e8d8ef9 100644
--- a/extensions/renderer/safe_builtins.cc
+++ b/extensions/renderer/safe_builtins.cc
@@ -71,7 +71,7 @@ const char kScript[] =
" ['hasOwnProperty'],\n"
" ['create', 'defineProperty', 'freeze',\n"
" 'getOwnPropertyDescriptor', 'getPrototypeOf', 'keys',\n"
- " 'assign']);\n"
+ " 'assign', 'setPrototypeOf']);\n"
"saveBuiltin(Function,\n"
" ['apply', 'bind', 'call']);\n"
"saveBuiltin(Array,\n"
« no previous file with comments | « extensions/renderer/resources/web_request_internal_custom_bindings.js ('k') | extensions/renderer/utils_native_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698