Changeset 258768 in webkit


Ignore:
Timestamp:
Mar 20, 2020 10:26:59 AM (4 years ago)
Author:
sihui_liu@apple.com
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):

Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r258764 r258768  
     12020-03-20  Sihui Liu  <sihui_liu@apple.com>
     2
     3        REGRESSION (r258707): storage/indexeddb/cursor-leak.html is flaky timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=209318
     5        <rdar://problem/60657081>
     6
     7        Reviewed by Ryosuke Niwa.
     8
     9        Open fewer cursors to make the test faster.
     10
     11        * storage/indexeddb/cursor-leak-expected.txt:
     12        * storage/indexeddb/cursor-leak-private-expected.txt:
     13        * storage/indexeddb/resources/cursor-leak.js:
     14        (onOpen.tx.oncomplete):
     15
    1162020-03-20  Enrique Ocaña González  <eocanha@igalia.com>
    217
  • trunk/LayoutTests/storage/indexeddb/cursor-leak-expected.txt

    r258707 r258768  
    88indexedDB.deleteDatabase(dbname)
    99indexedDB.open(dbname)
    10 PASS cursorObservers.length is 10000
     10PASS cursorObservers.length is 1000
    1111PASS anyCollected is true
    1212PASS successfullyParsed is true
  • trunk/LayoutTests/storage/indexeddb/cursor-leak-private-expected.txt

    r258707 r258768  
    88indexedDB.deleteDatabase(dbname)
    99indexedDB.open(dbname)
    10 PASS cursorObservers.length is 10000
     10PASS cursorObservers.length is 1000
    1111PASS anyCollected is true
    1212PASS successfullyParsed is true
  • trunk/LayoutTests/storage/indexeddb/resources/cursor-leak.js

    r258707 r258768  
    2828    store = tx.objectStore('store');
    2929    cursorObservers = [];
    30     for (let i = 0; i < 10000; ++i) {
     30    for (let i = 0; i < 1000; ++i) {
    3131        store.openCursor().onsuccess = (event) => {
    3232            cursor = event.target.result
     
    4040    tx.oncomplete = function() {
    4141        db.close();
    42         shouldBe('cursorObservers.length', '10000');
     42        shouldBe('cursorObservers.length', '1000');
    4343
    4444        gc();
Note: See TracChangeset for help on using the changeset viewer.