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

Unified Diff: extensions/renderer/safe_builtins.cc

Issue 1915753002: Sanitize inheritance in callers of utils.expose (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit: space after ':' 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
« no previous file with comments | « extensions/renderer/resources/web_request_internal_custom_bindings.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/safe_builtins.cc
diff --git a/extensions/renderer/safe_builtins.cc b/extensions/renderer/safe_builtins.cc
index f86d92f8583802ce0113820e25168b93eb9d36b9..c079b4038ec285673a4c44e3df1cb7a2aa1ab1d7 100644
--- a/extensions/renderer/safe_builtins.cc
+++ b/extensions/renderer/safe_builtins.cc
@@ -76,7 +76,7 @@ const char kScript[] =
" ['apply', 'bind', 'call']);\n"
"saveBuiltin(Array,\n"
" ['concat', 'forEach', 'indexOf', 'join', 'push', 'slice',\n"
- " 'splice', 'map', 'filter', 'unshift'],\n"
+ " 'splice', 'map', 'filter', 'unshift', 'pop', 'reverse'],\n"
" ['isArray']);\n"
"saveBuiltin(String,\n"
" ['indexOf', 'slice', 'split', 'substr', 'toUpperCase',\n"
« no previous file with comments | « extensions/renderer/resources/web_request_internal_custom_bindings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698