summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorager@chromium.org <ager@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 08:53:46 +0000
committerager@chromium.org <ager@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 08:53:46 +0000
commit08b8c915fd94541540ce0ff47b56604e0b2187c2 (patch)
tree4e39c92f8232b1fe2090349eb409be7cd20ea319
parent315a6539a6228c6876d80c9bc2ac7189abc8cba6 (diff)
downloadchromium_src-08b8c915fd94541540ce0ff47b56604e0b2187c2.zip
chromium_src-08b8c915fd94541540ce0ff47b56604e0b2187c2.tar.gz
chromium_src-08b8c915fd94541540ce0ff47b56604e0b2187c2.tar.bz2
Update V8 to version 2.0.6.
This version contains a number of optimizations and a couple of ES5 additions. Updated layout test expectations: - date-toisostring: now passes, rebaseline for exception error message - xmlhttprequest-constructor...: rebaseline because of error line number in V8 source - xss-DENIED-defineProperty: fails instead of timing out BUG=14946 TEST=none Review URL: http://codereview.chromium.org/543076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36342 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--DEPS2
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt2
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/fast/js/date-toisostring-expected.txt17
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt2
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/fast/js/date-toisostring-expected.txt17
-rw-r--r--webkit/tools/layout_tests/test_expectations.txt5
6 files changed, 38 insertions, 7 deletions
diff --git a/DEPS b/DEPS
index 8c420b6..7d3ad81 100644
--- a/DEPS
+++ b/DEPS
@@ -39,7 +39,7 @@ deps = {
"http://gyp.googlecode.com/svn/trunk@770",
"src/v8":
- "http://v8.googlecode.com/svn/trunk@3539",
+ "http://v8.googlecode.com/svn/trunk@3608",
"src/native_client":
"http://nativeclient.googlecode.com/svn/trunk/src/native_client@1311",
diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt
index 7cd1342..136dddd 100644
--- a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt
+++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: line 410: Uncaught TypeError: undefined is not a function
+CONSOLE MESSAGE: line 413: Uncaught TypeError: undefined is not a function
Text for bug 25290: Crash when constructing XMLHttpRequest in a detached document.
PASS
diff --git a/webkit/data/layout_tests/platform/chromium-mac/fast/js/date-toisostring-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/fast/js/date-toisostring-expected.txt
new file mode 100644
index 0000000..ec9b8a4
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-mac/fast/js/date-toisostring-expected.txt
@@ -0,0 +1,17 @@
+Tests for Date.toISOString
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS Date.toISOString.call({}) threw exception TypeError: Cannot call method 'call' of undefined.
+PASS Date.toISOString.call(0) threw exception TypeError: Cannot call method 'call' of undefined.
+PASS new Date(0).toISOString() is '1970-01-01T00:00:00.000Z'
+PASS new Date('1 January 1500 UTC').toISOString() is '1500-01-01T00:00:00.000Z'
+PASS new Date('1 January 2000 UTC').toISOString() is '2000-01-01T00:00:00.000Z'
+PASS new Date('1 January 4000 UTC').toISOString() is '4000-01-01T00:00:00.000Z'
+PASS new Date('1 January 100000 UTC').toISOString() is '100000-01-01T00:00:00.000Z'
+PASS new Date('10 March 2000 UTC').toISOString() is '2000-03-10T00:00:00.000Z'
+PASS new Date(NaN).toISOString() is 'Invalid Date'
+PASS successfullyParsed is true
+
+TEST COMPLETE
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt
index 7cd1342..136dddd 100644
--- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: line 410: Uncaught TypeError: undefined is not a function
+CONSOLE MESSAGE: line 413: Uncaught TypeError: undefined is not a function
Text for bug 25290: Crash when constructing XMLHttpRequest in a detached document.
PASS
diff --git a/webkit/data/layout_tests/platform/chromium-win/fast/js/date-toisostring-expected.txt b/webkit/data/layout_tests/platform/chromium-win/fast/js/date-toisostring-expected.txt
new file mode 100644
index 0000000..ec9b8a4
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/fast/js/date-toisostring-expected.txt
@@ -0,0 +1,17 @@
+Tests for Date.toISOString
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS Date.toISOString.call({}) threw exception TypeError: Cannot call method 'call' of undefined.
+PASS Date.toISOString.call(0) threw exception TypeError: Cannot call method 'call' of undefined.
+PASS new Date(0).toISOString() is '1970-01-01T00:00:00.000Z'
+PASS new Date('1 January 1500 UTC').toISOString() is '1500-01-01T00:00:00.000Z'
+PASS new Date('1 January 2000 UTC').toISOString() is '2000-01-01T00:00:00.000Z'
+PASS new Date('1 January 4000 UTC').toISOString() is '4000-01-01T00:00:00.000Z'
+PASS new Date('1 January 100000 UTC').toISOString() is '100000-01-01T00:00:00.000Z'
+PASS new Date('10 March 2000 UTC').toISOString() is '2000-03-10T00:00:00.000Z'
+PASS new Date(NaN).toISOString() is 'Invalid Date'
+PASS successfullyParsed is true
+
+TEST COMPLETE
diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt
index 79fb822..7f0130ad 100644
--- a/webkit/tools/layout_tests/test_expectations.txt
+++ b/webkit/tools/layout_tests/test_expectations.txt
@@ -2411,9 +2411,6 @@ BUG18733 LINUX DEBUG : http/tests/xmlhttprequest/cross-origin-no-authorization.h
BUG14832 : editing/selection/user-drag-element-and-user-select-none.html = FAIL
-// WebKit 44928:44943
-BUG14946 : fast/js/date-toisostring.html = FAIL
-
// WebKit 45017:45086
BUG15217 : fast/js/dictionary-no-cache.html = FAIL
BUG15217 MAC : fast/js/switch-behaviour.html = FAIL
@@ -2532,7 +2529,7 @@ BUG21958 MAC : svg/hixie/error/012.xml = FAIL
BUG22526 : fast/js/Object-create.html = FAIL
BUG22526 : fast/js/Object-defineProperties.html = FAIL
BUG22526 : fast/js/Object-defineProperty.html = FAIL
-BUG22526 : http/tests/security/xss-DENIED-defineProperty.html = TIMEOUT
+BUG22526 : http/tests/security/xss-DENIED-defineProperty.html = FAIL
// WebKit merge 48500:48585, due to newly added support for MathML.
BUG22554 SKIP : mathml = FAIL