-
- Downloads
Update and tests for %RegExpPrototype% methods
A recent web-compatability change to ECMA262 modified the semantics of the accessor methods on the %RegExpPrototype% intrinsic--the "get" accessors now include steps dedicated to the case where the "this" value is the %RegExpPrototype% object itself. Remove the tests that have been invalidated by this change, introduce tests asserting the new behavior, and extend coverage for other possible "this" values.
Showing
- test/built-ins/RegExp/prototype/unicode/this-val-invalid-obj.js 9 additions, 1 deletion...uilt-ins/RegExp/prototype/unicode/this-val-invalid-obj.js
- test/built-ins/RegExp/prototype/unicode/this-val-non-obj.js 0 additions, 0 deletionstest/built-ins/RegExp/prototype/unicode/this-val-non-obj.js
- test/built-ins/RegExp/prototype/unicode/this-val-regexp-prototype.js 17 additions, 0 deletions...ins/RegExp/prototype/unicode/this-val-regexp-prototype.js
- test/built-ins/RegExp/prototype/unicode/this-val-regexp.js 0 additions, 0 deletionstest/built-ins/RegExp/prototype/unicode/this-val-regexp.js
File moved
File moved
Please register or sign in to comment