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

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
Index: Source/core/testing/PrivateScriptTest.js
diff --git a/Source/core/testing/PrivateScriptTest.js b/Source/core/testing/PrivateScriptTest.js
index b2f71cae1da79f55ef44c98bce3e8e50b2f20bef..153e2a0703639e46b993cea0529ee569aa03b81e 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.voidMethodThrowsReferenceError = function() {
vivekg 2014/09/09 02:04:04 voidMethodThrowsStackOverflowError ??
+ function f() { f(); }
+ f();
+ }
+
PrivateScriptTestPrototype.addIntegerForPrivateScriptOnly = function(value1, value2) {
return value1 + value2;
}

Powered by Google App Engine
This is Rietveld 408576698