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

Unified Diff: test/mjsunit/mirror-script.js

Issue 2402363002: [Math] implement Math.random as TFJ builtin. (Closed)
Patch Set: fix golden file Created 4 years, 2 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
« test/mjsunit/debug-script.js ('K') | « test/mjsunit/debug-script.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/mirror-script.js
diff --git a/test/mjsunit/mirror-script.js b/test/mjsunit/mirror-script.js
index 635c658ac3c5c905deb5a17ef19bc003357b27cf..74f37f80bb810684864f41cc823c7faba7d991e7 100644
--- a/test/mjsunit/mirror-script.js
+++ b/test/mjsunit/mirror-script.js
@@ -83,7 +83,6 @@ function testScriptMirror(f, file_name, file_lines, type, compilation_type,
// Test the script mirror for different functions.
-testScriptMirror(function(){}, 'mirror-script.js', 90, 2, 0);
-testScriptMirror(Math.random, 'native math.js', -1, 0, 0);
-testScriptMirror(eval('(function(){})'), null, 1, 2, 1, '(function(){})', 87);
-testScriptMirror(eval('(function(){\n })'), null, 2, 2, 1, '(function(){\n })', 88);
+testScriptMirror(function(){}, 'mirror-script.js', 89, 2, 0);
+testScriptMirror(eval('(function(){})'), null, 1, 2, 1, '(function(){})', 86);
+testScriptMirror(eval('(function(){\n })'), null, 2, 2, 1, '(function(){\n })', 87);
« test/mjsunit/debug-script.js ('K') | « test/mjsunit/debug-script.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698