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

Side by Side Diff: test/webkit/fast/js/kde/RegExp-expected.txt

Issue 1543723002: Add web compat workarounds for ES2015 RegExp semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test expectations for new workaround Created 5 years 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698