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

Unified Diff: extensions/renderer/safe_builtins.cc

Issue 1903303002: Ensure that privates are private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for failing tests 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 1b87bc74272072c5d3f349f62a138c03e0f3511f..f86d92f8583802ce0113820e25168b93eb9d36b9 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