diff --git a/test/built-ins/Proxy/ownKeys/return-duplicate-entries-throws.js b/test/built-ins/Proxy/ownKeys/return-duplicate-entries-throws.js index 60ea647aa9eff7badb3fe6073acee06a089dfc45..0585a0a40508059068056293149eea866d6144c7 100644 --- a/test/built-ins/Proxy/ownKeys/return-duplicate-entries-throws.js +++ b/test/built-ins/Proxy/ownKeys/return-duplicate-entries-throws.js @@ -12,7 +12,7 @@ info: | ---*/ var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return ["a", "a"]; } }); diff --git a/test/built-ins/Proxy/ownKeys/return-duplicate-symbol-entries-throws.js b/test/built-ins/Proxy/ownKeys/return-duplicate-symbol-entries-throws.js index b3cddcc078fadc280ce79a88795445ac2cf7e77f..d264c94520df2659392c7ab96c806b29ab1764d4 100644 --- a/test/built-ins/Proxy/ownKeys/return-duplicate-symbol-entries-throws.js +++ b/test/built-ins/Proxy/ownKeys/return-duplicate-symbol-entries-throws.js @@ -14,7 +14,7 @@ features: [Symbol] var s = Symbol(); var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return [s, s]; } }); diff --git a/test/built-ins/Proxy/ownKeys/return-type-throws-array.js b/test/built-ins/Proxy/ownKeys/return-type-throws-array.js index 78cc7335f9c61a5003ca88e1bd098b7d1e8b376a..1e74a418cc4ef3e4344ccf9e6dd4f3e27a3696b4 100644 --- a/test/built-ins/Proxy/ownKeys/return-type-throws-array.js +++ b/test/built-ins/Proxy/ownKeys/return-type-throws-array.js @@ -24,7 +24,7 @@ info: | ---*/ var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return [ [] ]; diff --git a/test/built-ins/Proxy/ownKeys/return-type-throws-boolean.js b/test/built-ins/Proxy/ownKeys/return-type-throws-boolean.js index bf1aaa859f17d62da95bdce3ad347f792c545d92..bdc89b941eb23d62a0333944581adfdbbc539918 100644 --- a/test/built-ins/Proxy/ownKeys/return-type-throws-boolean.js +++ b/test/built-ins/Proxy/ownKeys/return-type-throws-boolean.js @@ -24,7 +24,7 @@ info: | ---*/ var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return [true]; } }); diff --git a/test/built-ins/Proxy/ownKeys/return-type-throws-null.js b/test/built-ins/Proxy/ownKeys/return-type-throws-null.js index c458d1590c771c1285fb6907636ac24f95c3d963..34abf804cb78c3ea3a0a0ef87909b9d6d3362361 100644 --- a/test/built-ins/Proxy/ownKeys/return-type-throws-null.js +++ b/test/built-ins/Proxy/ownKeys/return-type-throws-null.js @@ -24,7 +24,7 @@ info: | ---*/ var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return [null]; } }); diff --git a/test/built-ins/Proxy/ownKeys/return-type-throws-number.js b/test/built-ins/Proxy/ownKeys/return-type-throws-number.js index 499da844c01039cecd5a32452b52425003872a69..ffc6440f81474d318bd32cf1cf4e4d1015456147 100644 --- a/test/built-ins/Proxy/ownKeys/return-type-throws-number.js +++ b/test/built-ins/Proxy/ownKeys/return-type-throws-number.js @@ -24,7 +24,7 @@ info: | ---*/ var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return [1]; } }); diff --git a/test/built-ins/Proxy/ownKeys/return-type-throws-object.js b/test/built-ins/Proxy/ownKeys/return-type-throws-object.js index f7e9ca84868059f6a415b52155ffe58cf5000eed..221d777df342ac5b80348d836fbba35f48b984bb 100644 --- a/test/built-ins/Proxy/ownKeys/return-type-throws-object.js +++ b/test/built-ins/Proxy/ownKeys/return-type-throws-object.js @@ -24,7 +24,7 @@ info: | ---*/ var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return [{}]; } }); diff --git a/test/built-ins/Proxy/ownKeys/return-type-throws-undefined.js b/test/built-ins/Proxy/ownKeys/return-type-throws-undefined.js index 3d24ae1294bd2e86a9aae5035de0415fcf68da3b..aa3924d529d6b0170e08891dfd907cd7a3f2b2b1 100644 --- a/test/built-ins/Proxy/ownKeys/return-type-throws-undefined.js +++ b/test/built-ins/Proxy/ownKeys/return-type-throws-undefined.js @@ -24,7 +24,7 @@ info: | ---*/ var p = new Proxy({}, { - ownKeys() { + ownKeys: function() { return [undefined]; } });