Changeset 231880 in webkit


Ignore:
Timestamp:
May 16, 2018 5:33:34 PM (6 years ago)
Author:
beidson@apple.com
Message:

LayoutTest storage/indexeddb/dont-wedge-private.html is a flaky failure
<rdar://problem/38975304> and https://bugs.webkit.org/show_bug.cgi?id=184058

Reviewed by Andy Estes.

Make the asynchronous IDB part of this test take way, way longer to always give the location change a chance to happen.

  • TestExpectations:
  • storage/indexeddb/dont-wedge-expected.txt:
  • storage/indexeddb/dont-wedge-private-expected.txt:
  • storage/indexeddb/resources/dont-wedge.js:

(openDatabase1.request.onupgradeneeded.openOnUpgradeNeeded1.putter):
(openDatabase1.request.onupgradeneeded):

Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r231877 r231880  
     12018-05-16  Brady Eidson  <beidson@apple.com>
     2
     3        LayoutTest storage/indexeddb/dont-wedge-private.html is a flaky failure
     4        <rdar://problem/38975304> and https://bugs.webkit.org/show_bug.cgi?id=184058
     5
     6        Reviewed by Andy Estes.
     7
     8        Make the asynchronous IDB part of this test take way, way longer to always give the location change a chance to happen.
     9
     10        * TestExpectations:
     11        * storage/indexeddb/dont-wedge-expected.txt:
     12        * storage/indexeddb/dont-wedge-private-expected.txt:
     13        * storage/indexeddb/resources/dont-wedge.js:
     14        (openDatabase1.request.onupgradeneeded.openOnUpgradeNeeded1.putter):
     15        (openDatabase1.request.onupgradeneeded):
     16
    1172018-05-16  Ross Kirsling  <ross.kirsling@sony.com>
    218
  • trunk/LayoutTests/TestExpectations

    r231813 r231880  
    18971897webkit.org/b/184198 imported/w3c/web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker.html [ Pass Failure ]
    18981898
    1899 webkit.org/b/184058 storage/indexeddb/dont-wedge-private.html [ Pass Failure ]
    1900 
    19011899webkit.org/b/184061 http/tests/appcache/interrupted-update.html [ Pass Failure ]
    19021900
  • trunk/LayoutTests/storage/indexeddb/dont-wedge-expected.txt

    r195181 r231880  
    2020
    2121openOnUpgradeNeeded1():
    22 db1 = event.target.result
    23 store1 = db1.createObjectStore('store')
    24 store1.put(0, 0)
    2522
    2623openOnSuccess1():
  • trunk/LayoutTests/storage/indexeddb/dont-wedge-private-expected.txt

    r195247 r231880  
    2020
    2121openOnUpgradeNeeded1():
    22 db1 = event.target.result
    23 store1 = db1.createObjectStore('store')
    24 store1.put(0, 0)
    2522
    2623openOnSuccess1():
  • trunk/LayoutTests/storage/indexeddb/resources/dont-wedge.js

    r163963 r231880  
    5555    request.onupgradeneeded = function openOnUpgradeNeeded1(evt) {
    5656        preamble(evt);
    57         evalAndLog("db1 = event.target.result");
    58         evalAndLog("store1 = db1.createObjectStore('store')");
    59         evalAndLog("store1.put(0, 0)");
     57        db1 = event.target.result;
     58                store1 = db1.createObjectStore('store');
     59        var count = 0;
     60        function putter() {
     61                        ++count;
     62                        if (count == 50)
     63                                return;
     64            store1.put(0, 0).onsuccess = putter;
     65        }
     66        putter();
    6067    };
    6168    request.onsuccess = function openOnSuccess1(evt) {
Note: See TracChangeset for help on using the changeset viewer.