diff options
author | Steve Block <steveblock@google.com> | 2011-05-06 11:45:16 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-05-12 13:44:10 +0100 |
commit | cad810f21b803229eb11403f9209855525a25d57 (patch) | |
tree | 29a6fd0279be608e0fe9ffe9841f722f0f4e4269 /LayoutTests/storage | |
parent | 121b0cf4517156d0ac5111caf9830c51b69bae8f (diff) | |
download | external_webkit-cad810f21b803229eb11403f9209855525a25d57.zip external_webkit-cad810f21b803229eb11403f9209855525a25d57.tar.gz external_webkit-cad810f21b803229eb11403f9209855525a25d57.tar.bz2 |
Merge WebKit at r75315: Initial merge by git.
Change-Id: I570314b346ce101c935ed22a626b48c2af266b84
Diffstat (limited to 'LayoutTests/storage')
-rw-r--r-- | LayoutTests/storage/indexeddb/objectstore-basics-expected.txt | 2 | ||||
-rw-r--r-- | LayoutTests/storage/indexeddb/objectstore-basics.html | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt b/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt index 17746d3..6e74165 100644 --- a/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt +++ b/LayoutTests/storage/indexeddb/objectstore-basics-expected.txt @@ -104,7 +104,7 @@ store.add({x: 'bar', y: document.getElementById('console')}, 'bar') PASS Exception thrown PASS code is DOMException.NOT_SUPPORTED_ERR Try to insert data where key path yields a Date key: -store.add({x: new Date(), y: 'value'}, 'key') +store.add({x: testDateB, y: 'value'}, 'key') addSuccess(): Success event fired: PASS 'result' in event is true diff --git a/LayoutTests/storage/indexeddb/objectstore-basics.html b/LayoutTests/storage/indexeddb/objectstore-basics.html index a368c01..144e296 100644 --- a/LayoutTests/storage/indexeddb/objectstore-basics.html +++ b/LayoutTests/storage/indexeddb/objectstore-basics.html @@ -137,6 +137,7 @@ function checkMetadata() } var testDate = new Date("August 25, 1991 20:57:08"); +var testDateB = new Date("Wed Jan 05 2011 15:54:49"); function addData() { @@ -164,7 +165,7 @@ function addDateSuccess() } debug("Try to insert data where key path yields a Date key:"); - result = evalAndLog("store.add({x: new Date(), y: 'value'}, 'key')"); + result = evalAndLog("store.add({x: testDateB, y: 'value'}, 'key')"); result.onsuccess = addSuccess; result.onerror = unexpectedErrorCallback; } |