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

Unified Diff: test/webkit/fast/js/function-apply.js

Issue 1533803002: Revert of [es6] Correct Function.prototype.apply, Reflect.construct and Reflect.apply. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/messages.js ('k') | test/webkit/fast/js/function-apply-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/function-apply.js
diff --git a/test/webkit/fast/js/function-apply.js b/test/webkit/fast/js/function-apply.js
index 14a65646b3c7134d346c09971a304b5dd954bc73..537dc2431e80fb1fd21cc797242306352de079a8 100644
--- a/test/webkit/fast/js/function-apply.js
+++ b/test/webkit/fast/js/function-apply.js
@@ -310,7 +310,7 @@
shouldBe("var a = []; a.length = 0xFFFE; [].constructor.apply('', a).length", "0xFFFE");
shouldBe("var a = []; a.length = 0xFFFF; [].constructor.apply('', a).length", "0xFFFF");
shouldBe("var a = []; a.length = 0x10000; [].constructor.apply('', a).length", "0x10000");
-shouldBe("var a = []; a.length = 0x10001; [].constructor.apply('', a).length", "0x10001");
+shouldThrow("var a = []; a.length = 0x10001; [].constructor.apply('', a).length");
shouldThrow("var a = []; a.length = 0xFFFFFFFE; [].constructor.apply('', a).length");
shouldThrow("var a = []; a.length = 0xFFFFFFFF; [].constructor.apply('', a).length");
« no previous file with comments | « test/mjsunit/messages.js ('k') | test/webkit/fast/js/function-apply-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698