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

Unified Diff: src/json.js

Issue 7799027: Lock the prototype of internal classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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: src/json.js
diff --git a/src/json.js b/src/json.js
index 8fd410fa4d90a945d67b59fc93df80129993a337..90cc6a4b9a3da9aea89c62c8cc463e54cbe1f5a3 100644
--- a/src/json.js
+++ b/src/json.js
@@ -338,6 +338,7 @@ function JSONStringify(value, replacer, space) {
}
function SetupJSON() {
Erik Corry 2011/08/31 05:46:04 SetUpJSON
+ %AssertIsBootstrapping();
InstallFunctions($JSON, DONT_ENUM, $Array(
"parse", JSONParse,
"stringify", JSONStringify

Powered by Google App Engine
This is Rietveld 408576698