From cad810f21b803229eb11403f9209855525a25d57 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Fri, 6 May 2011 11:45:16 +0100 Subject: Merge WebKit at r75315: Initial merge by git. Change-Id: I570314b346ce101c935ed22a626b48c2af266b84 --- LayoutTests/storage/indexeddb/objectstore-basics-expected.txt | 2 +- LayoutTests/storage/indexeddb/objectstore-basics.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'LayoutTests/storage') 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; } -- cgit v1.1