OLD | NEW |
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 PASS reg.global === false is true | 107 PASS reg.global === false is true |
108 PASS reg.multiline === false is true | 108 PASS reg.multiline === false is true |
109 PASS reg.test('UGO') is true | 109 PASS reg.test('UGO') is true |
110 PASS reg.x = 1; reg.x is 1 | 110 PASS reg.x = 1; reg.x is 1 |
111 PASS var r2 = reg; r2.x = 2; reg.x is 2 | 111 PASS var r2 = reg; r2.x = 2; reg.x is 2 |
112 PASS str.match(re).toString() is 'Chapter 3.4.5.1,Chapter 3.4.5.1,.1' | 112 PASS str.match(re).toString() is 'Chapter 3.4.5.1,Chapter 3.4.5.1,.1' |
113 PASS str.match(/d/gi).toString() is 'D,d' | 113 PASS str.match(/d/gi).toString() is 'D,d' |
114 PASS /\u0061/.source is '\\u0061' | 114 PASS /\u0061/.source is '\\u0061' |
115 PASS 'abc'.match(/\u0062/).toString() is 'b' | 115 PASS 'abc'.match(/\u0062/).toString() is 'b' |
116 FAIL Object.prototype.toString.apply(RegExp.prototype) should be [object RegExp]
. Was [object Object]. | 116 FAIL Object.prototype.toString.apply(RegExp.prototype) should be [object RegExp]
. Was [object Object]. |
117 FAIL typeof RegExp.prototype.toString() should be string. Threw exception TypeEr
ror: Method RegExp.prototype.toString called on incompatible receiver [object Ob
ject] | 117 PASS typeof RegExp.prototype.toString() is 'string' |
118 PASS new RegExp().toString() is '/(?:)/' | 118 PASS new RegExp().toString() is '/(?:)/' |
119 PASS (new RegExp('(?:)')).source is '(?:)' | 119 PASS (new RegExp('(?:)')).source is '(?:)' |
120 PASS /(?:)/.toString() is '/(?:)/' | 120 PASS /(?:)/.toString() is '/(?:)/' |
121 PASS /(?:)/.source is '(?:)' | 121 PASS /(?:)/.source is '(?:)' |
122 Done. | 122 Done. |
123 PASS successfullyParsed is true | 123 PASS successfullyParsed is true |
124 | 124 |
125 TEST COMPLETE | 125 TEST COMPLETE |
126 | 126 |
OLD | NEW |