diff --git a/test/built-ins/RegExp/prototype/dotAll/length.js b/test/built-ins/RegExp/prototype/dotAll/length.js index cc6fe552905bd37212a304011ecab6936364d4c8..e063b93f577aca85c7760c40b3e3565f4d13efa3 100644 --- a/test/built-ins/RegExp/prototype/dotAll/length.js +++ b/test/built-ins/RegExp/prototype/dotAll/length.js @@ -2,7 +2,7 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -esid: pending +esid: sec-get-regexp.prototype.dotall description: > get RegExp.prototype.dotAll.length is 0. info: > diff --git a/test/built-ins/RegExp/prototype/dotAll/name.js b/test/built-ins/RegExp/prototype/dotAll/name.js index 06d8f07a4ece59fa8ba04dcf0ce41b60253a911a..97fe7adc5822fc5d7c2fee9c0a7ffd8ff72ce8c1 100644 --- a/test/built-ins/RegExp/prototype/dotAll/name.js +++ b/test/built-ins/RegExp/prototype/dotAll/name.js @@ -1,7 +1,7 @@ // Copyright (C) 2017 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -esid: pending +esid: sec-get-regexp.prototype.dotall description: > RegExp.prototype.dotAll name info: > diff --git a/test/built-ins/RegExp/prototype/dotAll/prop-desc.js b/test/built-ins/RegExp/prototype/dotAll/prop-desc.js index babf99e28fb884328c26cae8e35414c0eb25f5c4..2e1833d21817a62578dc5e0c5379f9a3fec51ff9 100644 --- a/test/built-ins/RegExp/prototype/dotAll/prop-desc.js +++ b/test/built-ins/RegExp/prototype/dotAll/prop-desc.js @@ -1,7 +1,7 @@ // Copyright (C) 2017 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- -esid: pending +esid: sec-get-regexp.prototype.dotall description: > `pending` property descriptor info: > diff --git a/test/built-ins/RegExp/prototype/dotAll/this-val-invalid-obj.js b/test/built-ins/RegExp/prototype/dotAll/this-val-invalid-obj.js index 1557946b7fd9d016f06766b9995d0cf0f908f32f..48b2c75217952954380a7ab6be40507a142a8dd7 100644 --- a/test/built-ins/RegExp/prototype/dotAll/this-val-invalid-obj.js +++ b/test/built-ins/RegExp/prototype/dotAll/this-val-invalid-obj.js @@ -2,15 +2,16 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-get-regexp.prototype.dotall description: Invoked on an object without an [[OriginalFlags]] internal slot -esid: pending info: > get RegExp.prototype.dotAll 1. Let R be the this value. 2. If Type(R) is not Object, throw a TypeError exception. - 3. If R does not have an [[OriginalFlags]] internal slot, throw a TypeError - exception. + 3. If R does not have an [[OriginalFlags]] internal slot, then + a. If SameValue(R, %RegExpPrototype%) is true, return undefined. + b. Otherwise, throw a TypeError exception. features: [regexp-dotall] ---*/ diff --git a/test/built-ins/RegExp/prototype/dotAll/this-val-non-obj.js b/test/built-ins/RegExp/prototype/dotAll/this-val-non-obj.js index c9325a3cba7d648b470dafb6288953baf99d15e2..9525baa6fa8e586e72df4afa6481b3fa2965a42f 100644 --- a/test/built-ins/RegExp/prototype/dotAll/this-val-non-obj.js +++ b/test/built-ins/RegExp/prototype/dotAll/this-val-non-obj.js @@ -2,9 +2,9 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-get-regexp.prototype.dotall description: > `dotAll` accessor invoked on a non-object value -esid: pending info: > get RegExp.prototype.dotAll diff --git a/test/built-ins/RegExp/prototype/dotAll/this-val-regexp-prototype.js b/test/built-ins/RegExp/prototype/dotAll/this-val-regexp-prototype.js index 686bd0dfb71f05ce191c707bcff07cbb87e8a5ee..d8d12b52e53876909ee9ac0c48602367942eef89 100644 --- a/test/built-ins/RegExp/prototype/dotAll/this-val-regexp-prototype.js +++ b/test/built-ins/RegExp/prototype/dotAll/this-val-regexp-prototype.js @@ -1,7 +1,8 @@ // Copyright (C) 2017 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. + /*--- -esid: pending +esid: sec-get-regexp.prototype.dotall description: > Return value of `undefined` when the "this" value is the RegExp prototype object diff --git a/test/built-ins/RegExp/prototype/dotAll/this-val-regexp.js b/test/built-ins/RegExp/prototype/dotAll/this-val-regexp.js index 4d45bb49af8733d54e1e514bc4dcbc25121f2cbb..7ed60af6cb455af35dd4f3a545bd4e080b3cb40e 100644 --- a/test/built-ins/RegExp/prototype/dotAll/this-val-regexp.js +++ b/test/built-ins/RegExp/prototype/dotAll/this-val-regexp.js @@ -2,9 +2,9 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- +esid: sec-get-regexp.prototype.dotall description: > `dotAll` accessor function invoked on a RegExp instance -esid: pending info: > 21.2.5.12 get RegExp.prototype.dotAll