Title: [258768] trunk/LayoutTests
- Revision
- 258768
- Author
- [email protected]
- Date
- 2020-03-20 10:26:59 -0700 (Fri, 20 Mar 2020)
Log Message
REGRESSION (r258707): storage/indexeddb/cursor-leak.html is flaky timing out
https://bugs.webkit.org/show_bug.cgi?id=209318
<rdar://problem/60657081>
Reviewed by Ryosuke Niwa.
Open fewer cursors to make the test faster.
* storage/indexeddb/cursor-leak-expected.txt:
* storage/indexeddb/cursor-leak-private-expected.txt:
* storage/indexeddb/resources/cursor-leak.js:
(onOpen.tx.oncomplete):
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (258767 => 258768)
--- trunk/LayoutTests/ChangeLog 2020-03-20 17:02:11 UTC (rev 258767)
+++ trunk/LayoutTests/ChangeLog 2020-03-20 17:26:59 UTC (rev 258768)
@@ -1,3 +1,18 @@
+2020-03-20 Sihui Liu <[email protected]>
+
+ REGRESSION (r258707): storage/indexeddb/cursor-leak.html is flaky timing out
+ https://bugs.webkit.org/show_bug.cgi?id=209318
+ <rdar://problem/60657081>
+
+ Reviewed by Ryosuke Niwa.
+
+ Open fewer cursors to make the test faster.
+
+ * storage/indexeddb/cursor-leak-expected.txt:
+ * storage/indexeddb/cursor-leak-private-expected.txt:
+ * storage/indexeddb/resources/cursor-leak.js:
+ (onOpen.tx.oncomplete):
+
2020-03-20 Enrique Ocaña González <[email protected]>
[GTK] Layout Test media/track/track-legacyapi-with-automatic-mode.html is failing
Modified: trunk/LayoutTests/storage/indexeddb/cursor-leak-expected.txt (258767 => 258768)
--- trunk/LayoutTests/storage/indexeddb/cursor-leak-expected.txt 2020-03-20 17:02:11 UTC (rev 258767)
+++ trunk/LayoutTests/storage/indexeddb/cursor-leak-expected.txt 2020-03-20 17:26:59 UTC (rev 258768)
@@ -7,7 +7,7 @@
indexedDB.deleteDatabase(dbname)
indexedDB.open(dbname)
-PASS cursorObservers.length is 10000
+PASS cursorObservers.length is 1000
PASS anyCollected is true
PASS successfullyParsed is true
Modified: trunk/LayoutTests/storage/indexeddb/cursor-leak-private-expected.txt (258767 => 258768)
--- trunk/LayoutTests/storage/indexeddb/cursor-leak-private-expected.txt 2020-03-20 17:02:11 UTC (rev 258767)
+++ trunk/LayoutTests/storage/indexeddb/cursor-leak-private-expected.txt 2020-03-20 17:26:59 UTC (rev 258768)
@@ -7,7 +7,7 @@
indexedDB.deleteDatabase(dbname)
indexedDB.open(dbname)
-PASS cursorObservers.length is 10000
+PASS cursorObservers.length is 1000
PASS anyCollected is true
PASS successfullyParsed is true
Modified: trunk/LayoutTests/storage/indexeddb/resources/cursor-leak.js (258767 => 258768)
--- trunk/LayoutTests/storage/indexeddb/resources/cursor-leak.js 2020-03-20 17:02:11 UTC (rev 258767)
+++ trunk/LayoutTests/storage/indexeddb/resources/cursor-leak.js 2020-03-20 17:26:59 UTC (rev 258768)
@@ -27,7 +27,7 @@
tx = db.transaction('store', 'readonly');
store = tx.objectStore('store');
cursorObservers = [];
- for (let i = 0; i < 10000; ++i) {
+ for (let i = 0; i < 1000; ++i) {
store.openCursor()._onsuccess_ = (event) => {
cursor = event.target.result
cursor.key.cursor = cursor;
@@ -39,7 +39,7 @@
}
tx._oncomplete_ = function() {
db.close();
- shouldBe('cursorObservers.length', '10000');
+ shouldBe('cursorObservers.length', '1000');
gc();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes