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

Unified Diff: test/mjsunit/runtime-gen/liveeditreplacescript.js

Issue 250923002: Add test case generator for runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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: test/mjsunit/runtime-gen/liveeditreplacescript.js
diff --git a/test/mjsunit/runtime-gen/liveeditreplacescript.js b/test/mjsunit/runtime-gen/liveeditreplacescript.js
new file mode 100644
index 0000000000000000000000000000000000000000..486c9e3fb160d82b8c9c167d544307799f7e7bcb
--- /dev/null
+++ b/test/mjsunit/runtime-gen/liveeditreplacescript.js
@@ -0,0 +1,7 @@
+// Copyright 2014 the V8 project authors. All rights reserved.
+// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
+// Flags: --allow-natives-syntax --harmony
+var arg0 = %DebugGetLoadedScripts()[1];
+var _new_source = "foo";
+var _old_script_name = new Object();
+%LiveEditReplaceScript(arg0, _new_source, _old_script_name);

Powered by Google App Engine
This is Rietveld 408576698