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

Unified Diff: LayoutTests/fast/js/script-tests/implicit-call-with-global-reentry.js

Issue 339363002: Fix invalid syntax for JS setters in tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: LayoutTests/fast/js/script-tests/implicit-call-with-global-reentry.js
diff --git a/LayoutTests/fast/js/script-tests/implicit-call-with-global-reentry.js b/LayoutTests/fast/js/script-tests/implicit-call-with-global-reentry.js
index adeddcc266fba039e1d604e708ed09b2df764d2c..79f78e62c9a156cb9e7319fa3ea0971796d78848 100644
--- a/LayoutTests/fast/js/script-tests/implicit-call-with-global-reentry.js
+++ b/LayoutTests/fast/js/script-tests/implicit-call-with-global-reentry.js
@@ -8,7 +8,7 @@ function testGlobalCode(test) {
}
var testObject = {
get getterTest(){ testGlobalCode("var a, b, c, d; testVar = 'PASS';"); },
- set setterTest(){ testGlobalCode("var e, f, g, h; testVar = 'PASS';"); },
+ set setterTest(_){ testGlobalCode("var e, f, g, h; testVar = 'PASS';"); },
toString: function() { testGlobalCode("var i, j, k, l; testVar = 'PASS';"); return ''; },
valueOf: function() { testGlobalCode("var m, n, o, p; testVar = 'PASS';"); return 0; },
toStringTest: function() { "" + this; },

Powered by Google App Engine
This is Rietveld 408576698