diff options
Diffstat (limited to 'deps/v8/test/webkit/fast/regex/lastIndex-expected.txt')
-rw-r--r-- | deps/v8/test/webkit/fast/regex/lastIndex-expected.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/webkit/fast/regex/lastIndex-expected.txt b/deps/v8/test/webkit/fast/regex/lastIndex-expected.txt index 1e0959c3f9..acceee2dd6 100644 --- a/deps/v8/test/webkit/fast/regex/lastIndex-expected.txt +++ b/deps/v8/test/webkit/fast/regex/lastIndex-expected.txt @@ -44,8 +44,8 @@ PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:fal PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:false}), 'lastIndex', {value:0}); true is true PASS Object.defineProperty(/x/, 'lastIndex', {writable:false}).exec('') is null PASS Object.defineProperty(/x/, 'lastIndex', {writable:false}).exec('x') is ["x"] -FAIL Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('') should throw an exception. Was null. -FAIL Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('x') should throw an exception. Was x. +PASS Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('') threw exception TypeError: Cannot assign to read only property 'lastIndex' of object '[object RegExp]'. +PASS Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('x') threw exception TypeError: Cannot assign to read only property 'lastIndex' of object '[object RegExp]'. PASS var re = /x/; Object.freeze(re); Object.isFrozen(re); is true PASS successfullyParsed is true |