[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e
hans at chromium.org
hans at chromium.org
Fri Jan 21 14:59:04 UTC 2011
The following commit has been merged in the debian/experimental branch:
commit a61b08a8883e67769780915dbc99f9a1862d43f0
Author: hans at chromium.org <hans at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Jan 5 23:18:05 2011 +0000
2011-01-05 Hans Wennborg <hans at chromium.org>
Reviewed by Jeremy Orlow.
[Chromium] storage/indexeddb/objectstore-basics.html is flaky after r74266
https://bugs.webkit.org/show_bug.cgi?id=51731
Fix the layout test by using a known-good date value rather than
new Date(), which sometimes causes the test to fail.
(The underlying reason for failing to store certain Date values
should of course be fixed too, but that will come in a later patch.)
* platform/chromium/test_expectations.txt:
* storage/indexeddb/objectstore-basics-expected.txt:
* storage/indexeddb/objectstore-basics.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 9b0bc4b..29295ee 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,20 @@
+2011-01-05 Hans Wennborg <hans at chromium.org>
+
+ Reviewed by Jeremy Orlow.
+
+ [Chromium] storage/indexeddb/objectstore-basics.html is flaky after r74266
+ https://bugs.webkit.org/show_bug.cgi?id=51731
+
+ Fix the layout test by using a known-good date value rather than
+ new Date(), which sometimes causes the test to fail.
+
+ (The underlying reason for failing to store certain Date values
+ should of course be fixed too, but that will come in a later patch.)
+
+ * platform/chromium/test_expectations.txt:
+ * storage/indexeddb/objectstore-basics-expected.txt:
+ * storage/indexeddb/objectstore-basics.html:
+
2011-01-05 Stephen White <senorblanco at chromium.org>
Unreviewed; test expectations update..
diff --git a/LayoutTests/platform/chromium/test_expectations.txt b/LayoutTests/platform/chromium/test_expectations.txt
index 4e3e848..d6e3985 100644
--- a/LayoutTests/platform/chromium/test_expectations.txt
+++ b/LayoutTests/platform/chromium/test_expectations.txt
@@ -3048,7 +3048,6 @@ BUGWK51720 DEBUG : http/tests/incremental/split-hex-entities.pl = CRASH PASS
BUGCR64371 WIN RELEASE : http/tests/appcache/online-whitelist.html = TEXT
BUGWK51721 DEBUG SLOW: fast/encoding/parser-tests.html = PASS
BUGCR67463 MAC : editing/selection/caret-mode-paragraph-keys-navigation.html = TEXT
-BUGWK51731 : storage/indexeddb/objectstore-basics.html = PASS TEXT
BUGCR68436 LINUX MAC DEBUG : fast/dom/DOMImplementation/createDocument-with-used-doctype.html = PASS TIMEOUT
BUGCR68436 WIN DEBUG : fast/dom/DOMImplementation/createDocument-with-used-doctype.html = PASS TEXT TIMEOUT
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;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list