Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: test/webkit/fast/regex/lastIndex-expected.txt

Issue 2112713003: Revert of Put RegExp js code in strict mode (patchset #2 id:20001 of https://codereview.chromium.or… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add more test262 failures Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/test262/test262.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions 5 # modification, are permitted provided that the following conditions
6 # are met: 6 # are met:
7 # 1. Redistributions of source code must retain the above copyright 7 # 1. Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright 9 # 2. Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the 10 # notice, this list of conditions and the following disclaimer in the
(...skipping 24 matching lines...) Expand all
35 PASS Object.defineProperty(/x/, 'lastIndex', {enumerable:true}); true threw exce ption TypeError: Cannot redefine property: lastIndex. 35 PASS Object.defineProperty(/x/, 'lastIndex', {enumerable:true}); true threw exce ption TypeError: Cannot redefine property: lastIndex.
36 PASS Object.defineProperty(/x/, 'lastIndex', {enumerable:false}); true is true 36 PASS Object.defineProperty(/x/, 'lastIndex', {enumerable:false}); true is true
37 PASS Object.defineProperty(/x/, 'lastIndex', {configurable:true}); true threw ex ception TypeError: Cannot redefine property: lastIndex. 37 PASS Object.defineProperty(/x/, 'lastIndex', {configurable:true}); true threw ex ception TypeError: Cannot redefine property: lastIndex.
38 PASS Object.defineProperty(/x/, 'lastIndex', {configurable:false}); true is true 38 PASS Object.defineProperty(/x/, 'lastIndex', {configurable:false}); true is true
39 PASS var re = Object.defineProperty(/x/, 'lastIndex', {writable:true}); re.lastI ndex = 42; re.lastIndex is 42 39 PASS var re = Object.defineProperty(/x/, 'lastIndex', {writable:true}); re.lastI ndex = 42; re.lastIndex is 42
40 PASS var re = Object.defineProperty(/x/, 'lastIndex', {writable:false}); re.last Index = 42; re.lastIndex is 0 40 PASS var re = Object.defineProperty(/x/, 'lastIndex', {writable:false}); re.last Index = 42; re.lastIndex is 0
41 PASS var re = Object.defineProperty(/x/, 'lastIndex', {value:42}); re.lastIndex is 42 41 PASS var re = Object.defineProperty(/x/, 'lastIndex', {value:42}); re.lastIndex is 42
42 PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:fal se}), 'lastIndex', {writable:true}); true threw exception TypeError: Cannot rede fine property: lastIndex. 42 PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:fal se}), 'lastIndex', {writable:true}); true threw exception TypeError: Cannot rede fine property: lastIndex.
43 PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:fal se}), 'lastIndex', {value:42}); true threw exception TypeError: Cannot redefine property: lastIndex. 43 PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:fal se}), 'lastIndex', {value:42}); true threw exception TypeError: Cannot redefine property: lastIndex.
44 PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:fal se}), 'lastIndex', {value:0}); true is true 44 PASS Object.defineProperty(Object.defineProperty(/x/, 'lastIndex', {writable:fal se}), 'lastIndex', {value:0}); true is true
45 FAIL Object.defineProperty(/x/, 'lastIndex', {writable:false}).exec('') should b e null. Threw exception TypeError: Cannot assign to read only property 'lastInde x' of object '[object RegExp]' 45 PASS Object.defineProperty(/x/, 'lastIndex', {writable:false}).exec('') is null
46 PASS Object.defineProperty(/x/, 'lastIndex', {writable:false}).exec('x') is ["x" ] 46 PASS Object.defineProperty(/x/, 'lastIndex', {writable:false}).exec('x') is ["x" ]
47 PASS Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('') threw e xception TypeError: Cannot assign to read only property 'lastIndex' of object '[ object RegExp]'. 47 FAIL Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('') should throw an exception. Was null.
48 PASS Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('x') threw exception TypeError: Cannot assign to read only property 'lastIndex' of object ' [object RegExp]'. 48 FAIL Object.defineProperty(/x/g, 'lastIndex', {writable:false}).exec('x') should throw an exception. Was x.
49 PASS var re = /x/; Object.freeze(re); Object.isFrozen(re); is true 49 PASS var re = /x/; Object.freeze(re); Object.isFrozen(re); is true
50 PASS successfullyParsed is true 50 PASS successfullyParsed is true
51 51
52 TEST COMPLETE 52 TEST COMPLETE
53 53
OLDNEW
« no previous file with comments | « test/test262/test262.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698