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

Unified Diff: Source/core/testing/PrivateScriptTest.js

Issue 553983007: Blink-in-JS: Allow a stackoverflow error thrown by private scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/testing/PrivateScriptTest.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/PrivateScriptTest.js
diff --git a/Source/core/testing/PrivateScriptTest.js b/Source/core/testing/PrivateScriptTest.js
index b2f71cae1da79f55ef44c98bce3e8e50b2f20bef..358ac89fea423f196ec7cef995c9074295fa8f65 100644
--- a/Source/core/testing/PrivateScriptTest.js
+++ b/Source/core/testing/PrivateScriptTest.js
@@ -143,6 +143,11 @@ installClass("PrivateScriptTest", function(PrivateScriptTestPrototype) {
throwException(PrivateScriptJSError.ReferenceError, "method threw ReferenceError");
}
+ PrivateScriptTestPrototype.voidMethodThrowsStackOverflowError = function() {
+ function f() { f(); }
+ f();
+ }
+
PrivateScriptTestPrototype.addIntegerForPrivateScriptOnly = function(value1, value2) {
return value1 + value2;
}
« no previous file with comments | « Source/core/testing/PrivateScriptTest.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698