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

Unified Diff: LayoutTests/inspector/console/console-object-preview-accessors.html

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/inspector/console/console-object-preview-accessors.html
diff --git a/LayoutTests/inspector/console/console-object-preview-accessors.html b/LayoutTests/inspector/console/console-object-preview-accessors.html
index d2e42634bcadf1d251ba356c2cfb14a358c791e2..64de7e2f15d6549e0c7e56926fc053b755dc8755 100644
--- a/LayoutTests/inspector/console/console-object-preview-accessors.html
+++ b/LayoutTests/inspector/console/console-object-preview-accessors.html
@@ -9,7 +9,7 @@ var arrayLikeWithAccessors = {
length: 10,
get 0() { foo.bar = 1; },
get 1() { throw new Error("arrayLikeWithAccessors"); },
- set 3() {},
+ set 3(_) {},
4: {foo: 1, bar: 2},
get 5() { return {afoo: 3, abar: 4}; },
6: [1, 2],
@@ -21,7 +21,7 @@ var arrayLikeWithAccessors = {
var objectWithAccessors = {
get 0() { baz.baz = 3; },
get 1() { throw new Error("objectWithAccessors"); },
- set 3() {},
+ set 3(_) {},
4: {foo: 1, bar: 2},
get 5() { return {afoo: 3, abar: 4}; },
6: [1, 2],

Powered by Google App Engine
This is Rietveld 408576698