From f2db2b6829af485564189dbe2169027d5fb7bda8 Mon Sep 17 00:00:00 2001 From: Leo Balter <leonardo.balter@gmail.com> Date: Thu, 27 Apr 2017 18:24:48 -0400 Subject: [PATCH] fix metadata for regexp.prototype.dotall --- test/built-ins/RegExp/prototype/dotAll/length.js | 2 +- test/built-ins/RegExp/prototype/dotAll/name.js | 2 +- test/built-ins/RegExp/prototype/dotAll/prop-desc.js | 2 +- .../RegExp/prototype/dotAll/this-val-invalid-obj.js | 7 ++++--- test/built-ins/RegExp/prototype/dotAll/this-val-non-obj.js | 2 +- .../RegExp/prototype/dotAll/this-val-regexp-prototype.js | 3 ++- test/built-ins/RegExp/prototype/dotAll/this-val-regexp.js | 2 +- 7 files changed, 11 insertions(+), 9 deletions(-) diff --git a/test/built-ins/RegExp/prototype/dotAll/length.js b/test/built-ins/RegExp/prototype/dotAll/length.js index cc6fe55290..e063b93f57 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 06d8f07a4e..97fe7adc58 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 babf99e28f..2e1833d218 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 1557946b7f..48b2c75217 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 c9325a3cba..9525baa6fa 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 686bd0dfb7..d8d12b52e5 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 4d45bb49af..7ed60af6cb 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 -- GitLab