Revision: 7573
Author: [email protected]
Date: Mon Apr 11 06:54:30 2011
Log: Bring test262 expectations up-to-date.
Add missing *.js files into Xcode project.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6826036
http://code.google.com/p/v8/source/detail?r=7573
Modified:
/branches/bleeding_edge/test/test262/harness-adapt.js
/branches/bleeding_edge/test/test262/test262.status
/branches/bleeding_edge/tools/v8.xcodeproj/project.pbxproj
=======================================
--- /branches/bleeding_edge/test/test262/harness-adapt.js Wed Mar 23
14:36:42 2011
+++ /branches/bleeding_edge/test/test262/harness-adapt.js Mon Apr 11
06:54:30 2011
@@ -43,7 +43,7 @@
}
Test262Error.prototype.toString = function() {
- return this.result;
+ return this.result + " " + error;
}
function registerTest(test) {
@@ -52,22 +52,24 @@
try {
var res = test.test.call($this);
} catch(e) {
- print(e);
- res = 'fail'; error = e;
+ res = 'fail';
+ error = e;
}
var retVal = /^s/i.test(test.id)
? (res === true || typeof res == 'undefined' ? 'pass' : 'fail')
: (res === true ? 'pass' : 'fail');
if (retVal != 'pass') {
+ var precondition = (test.precondition !== undefined)
+ ? test.precondition.toString()
+ : '';
+
throw new Test262Error(
test.id,
test.path,
test.description,
test.test.toString(),
- (test.precondition !== undefined)
- ? test.precondition.toString()
- : '',
+ precondition,
retVal,
error);
}
=======================================
--- /branches/bleeding_edge/test/test262/test262.status Wed Mar 23 14:36:42
2011
+++ /branches/bleeding_edge/test/test262/test262.status Mon Apr 11 06:54:30
2011
@@ -32,6 +32,20 @@
prefix ietestcenter
+
+#
+# Deliberate differences for compatibility with other browsers
+#
+# 15.9.5.43-0-9 and 15.9.5.43-0-10. V8 doesn't throw RangeError
+# from Date.prototype.toISOString when string is not a finite number.
+# This is compatible with Firefox and Safari.
+15.9.5.43-0-9: PASS || FAIL
+15.9.5.43-0-10: PASS || FAIL
+
+#
+# Unanalyzed failures which may be bugs or deliberate differences
+#
+
# BUG: 7.6 - SyntaxError expected: reserved words used as Identifier
# Names in UTF8: class (class)
7.6-30: FAIL
@@ -913,66 +927,6 @@
# of 'O', and 'desc' is accessor descriptor, test updating multiple
# attribute values of 'P' (10.6 [[DefineOwnProperty]] step 3)
15.2.3.7-6-a-292: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into
the
-# returned object
-15.2.3.10-3-2: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into a
-# Function object
-15.2.3.10-3-3: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into
an
-# Array object
-15.2.3.10-3-4: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into a
-# String object
-15.2.3.10-3-5-1: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into a
-# Boolean object
-15.2.3.10-3-6: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into a
-# Number object
-15.2.3.10-3-7: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into
a Date
-# object
-15.2.3.10-3-8: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into a
-# RegExp object
-15.2.3.10-3-9: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into
an
-# Error object
-15.2.3.10-3-10: FAIL
-# Bug? Object.preventExtensions - indexed properties cannot be added into
an
-# Arguments object
-15.2.3.10-3-11: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into the
-# returned object
-15.2.3.10-3-12: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into a
-# Function object
-15.2.3.10-3-13: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into an
Array
-# object
-15.2.3.10-3-14: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into a
String
-# object
-15.2.3.10-3-15: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into a
-# Boolean object
-15.2.3.10-3-16: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into a
Number
-# object
-15.2.3.10-3-17: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into a
Date
-# object
-15.2.3.10-3-18: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into a
RegExp
-# object
-15.2.3.10-3-19: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into an
Error
-# object
-15.2.3.10-3-20: FAIL
-# Bug? Object.preventExtensions - named properties cannot be added into an
-# Arguments object
-15.2.3.10-3-21: FAIL
# Bug? Object.prototype.toString - '[object Undefined]' will be returned
when
# 'this' value is undefined
15.2.4.2-1-1: FAIL
=======================================
--- /branches/bleeding_edge/tools/v8.xcodeproj/project.pbxproj Fri Apr 8
05:22:43 2011
+++ /branches/bleeding_edge/tools/v8.xcodeproj/project.pbxproj Mon Apr 11
06:54:30 2011
@@ -856,6 +856,11 @@
89F3605A12DCDF6400ACF8A6 /* lithium-codegen-x64.cc */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
name = "lithium-codegen-x64.cc"; path = "x64/lithium-codegen-x64.cc";
sourceTree = "<group>"; };
89FB0E360F8E531900B04B3C /* d8-posix.cc */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name
= "d8-posix.cc"; path = "../src/d8-posix.cc"; sourceTree = "<group>"; };
89FB0E370F8E531900B04B3C /* d8-windows.cc */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name
= "d8-windows.cc"; path = "../src/d8-windows.cc"; sourceTree = "<group>"; };
+ 89FE7C0513532165008662BD /* date.js */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path =
date.js; sourceTree = "<group>"; };
+ 89FE7C0613532165008662BD /* debug-debugger.js */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.javascript; path = "debug-debugger.js"; sourceTree = "<group>";
};
+ 89FE7C0713532165008662BD /* liveedit-debugger.js */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.javascript; path = "liveedit-debugger.js"; sourceTree
= "<group>"; };
+ 89FE7C0813532165008662BD /* mirror-debugger.js */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.javascript; path = "mirror-debugger.js"; sourceTree = "<group>";
};
+ 89FE7C0913532165008662BD /* regexp.js */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path =
regexp.js; sourceTree = "<group>"; };
9C1F8E1D133906180068B362 /* small-pointer-list.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h;
path = "small-pointer-list.h"; sourceTree = "<group>"; };
9C76176D133FB7740057370B /* platform-tls-mac.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h;
path = "platform-tls-mac.h"; sourceTree = "<group>"; };
9C8E8061133CF772004058A5 /* platform-tls.h */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path
= "platform-tls.h"; sourceTree = "<group>"; };
@@ -1298,6 +1303,11 @@
897FF0D80E719ABA00D62E90 /* js */ = {
isa = PBXGroup;
children = (
+ 89FE7C0513532165008662BD /* date.js */,
+ 89FE7C0613532165008662BD /* debug-debugger.js
*/,
+ 89FE7C0713532165008662BD /*
liveedit-debugger.js */,
+ 89FE7C0813532165008662BD /* mirror-debugger.js
*/,
+ 89FE7C0913532165008662BD /* regexp.js */,
897FF1A60E719BC100D62E90 /* apinatives.js */,
897FF1A70E719BC100D62E90 /* array.js */,
897FF1AA0E719BC100D62E90 /* math.js */,
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev