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

Unified Diff: test/webkit/fast/js/object-prototype-properties-expected.txt

Issue 20280003: Migrate more tests from blink repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: test/webkit/fast/js/object-prototype-properties-expected.txt
diff --git a/test/webkit/regexp-backreferences-expected.txt b/test/webkit/fast/js/object-prototype-properties-expected.txt
similarity index 65%
copy from test/webkit/regexp-backreferences-expected.txt
copy to test/webkit/fast/js/object-prototype-properties-expected.txt
index 451ac635f956ba3bab46cb008dc05ae9665b47ae..0d936f6c513a0c3f502bad04100bc23622d7603c 100644
--- a/test/webkit/regexp-backreferences-expected.txt
+++ b/test/webkit/fast/js/object-prototype-properties-expected.txt
@@ -21,23 +21,18 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Test to ensure correct behaviour when using backreferences in a RegExp
+This is a test case for bug 64678.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS /(...)\1$/.test('abcabc') is true
-PASS /(...)\1$/.test('abcdef') is false
-PASS /(...)\2$/.test('abcabc') is false
-PASS /(...)\2$/.test('abc') is false
-PASS /\1(...)$/.test('abcabc') is true
-PASS /\1(...)$/.test('abcdef') is true
-PASS /\2(...)$/.test('abcabc') is false
-PASS /\2(...)$/.test('abc') is false
-PASS /\1?(...)$/.test('abc') is true
-PASS /\1?(...)$/.test('abc') is true
-PASS re.test('axabcd') is false
-PASS re.test('axabcsz') is true
+PASS Object.prototype.toString.call(undefined) is "[object Undefined]"
+PASS Object.prototype.toString.call(null) is "[object Null]"
+PASS Object.prototype.toLocaleString.call(undefined) threw exception TypeError: Object.prototype.toLocaleString called on null or undefined.
+PASS Object.prototype.valueOf.call(undefined) threw exception TypeError: Cannot convert undefined or null to object.
+PASS Object.prototype.hasOwnProperty.call(undefined, 'hasOwnProperty') threw exception TypeError: Cannot convert undefined or null to object.
+PASS Object.prototype.propertyIsEnumerable.call(undefined, 'propertyIsEnumerable') threw exception TypeError: Cannot convert undefined or null to object.
+PASS Object.prototype.isPrototypeOf.call(undefined, this) threw exception TypeError: Object.prototype.isPrototypeOf called on null or undefined.
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « test/webkit/fast/js/object-prototype-properties.js ('k') | test/webkit/fast/js/object-prototype-toLocaleString.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698