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

Side by Side Diff: src/js/v8natives.js

Issue 1506933003: JSON.parse: properly deal with reviver result (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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 unified diff | Download patch
« no previous file with comments | « src/js/json.js ('k') | test/mjsunit/json.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils) { 5 (function(global, utils) {
6 6
7 %CheckIsBootstrapping(); 7 %CheckIsBootstrapping();
8 8
9 // ---------------------------------------------------------------------------- 9 // ----------------------------------------------------------------------------
10 // Imports 10 // Imports
(...skipping 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 to.IsFinite = GlobalIsFinite; 1507 to.IsFinite = GlobalIsFinite;
1508 to.IsNaN = GlobalIsNaN; 1508 to.IsNaN = GlobalIsNaN;
1509 to.NewFunctionString = NewFunctionString; 1509 to.NewFunctionString = NewFunctionString;
1510 to.NumberIsNaN = NumberIsNaN; 1510 to.NumberIsNaN = NumberIsNaN;
1511 to.ObjectDefineProperties = ObjectDefineProperties; 1511 to.ObjectDefineProperties = ObjectDefineProperties;
1512 to.ObjectDefineProperty = ObjectDefineProperty; 1512 to.ObjectDefineProperty = ObjectDefineProperty;
1513 to.ObjectFreeze = ObjectFreezeJS; 1513 to.ObjectFreeze = ObjectFreezeJS;
1514 to.ObjectHasOwnProperty = ObjectHasOwnProperty; 1514 to.ObjectHasOwnProperty = ObjectHasOwnProperty;
1515 to.ObjectIsFrozen = ObjectIsFrozen; 1515 to.ObjectIsFrozen = ObjectIsFrozen;
1516 to.ObjectIsSealed = ObjectIsSealed; 1516 to.ObjectIsSealed = ObjectIsSealed;
1517 to.ObjectKeys = ObjectKeys;
1517 to.ObjectToString = ObjectToString; 1518 to.ObjectToString = ObjectToString;
1518 }); 1519 });
1519 1520
1520 %InstallToContext([ 1521 %InstallToContext([
1521 "global_eval_fun", GlobalEval, 1522 "global_eval_fun", GlobalEval,
1522 "object_value_of", ObjectValueOf, 1523 "object_value_of", ObjectValueOf,
1523 "object_to_string", ObjectToString, 1524 "object_to_string", ObjectToString,
1524 ]); 1525 ]);
1525 1526
1526 }) 1527 })
OLDNEW
« no previous file with comments | « src/js/json.js ('k') | test/mjsunit/json.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698