Changeset 240312 in webkit
- Timestamp:
- Jan 22, 2019 5:11:29 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r240309 r240312 1 2019-01-22 Sihui Liu <sihui_liu@apple.com> 2 3 Layout test storage/indexeddb/open-during-transaction-private.html is failing 4 https://bugs.webkit.org/show_bug.cgi?id=193600 5 6 Reviewed by Brady Eidson. 7 8 Make sure the second request is finished before the third one so that test ends properly. 9 10 * storage/indexeddb/open-during-transaction-expected.txt: 11 * storage/indexeddb/open-during-transaction-private-expected.txt: 12 * storage/indexeddb/resources/open-during-transaction.js: 13 (tryOpens.openreq3.onsuccess): 14 (tryOpens.openreq2.onsuccess): 15 (tryOpens): 16 1 17 2019-01-22 Devin Rousso <drousso@apple.com> 2 18 -
trunk/LayoutTests/storage/indexeddb/open-during-transaction-expected.txt
r195181 r240312 18 18 trying to open the same database 19 19 openreq2 = indexedDB.open(dbname) 20 21 trying to open a different database22 openreq3 = indexedDB.open(dbname + '2')23 24 20 openreq2.onsuccess 25 21 PASS state is "starting" 26 22 state = 'open2complete' 27 23 24 trying to open a different database 25 openreq3 = indexedDB.open(dbname + '2') 28 26 openreq3.onsuccess 29 27 PASS state is "open2complete" -
trunk/LayoutTests/storage/indexeddb/open-during-transaction-private-expected.txt
r195247 r240312 18 18 trying to open the same database 19 19 openreq2 = indexedDB.open(dbname) 20 21 trying to open a different database22 openreq3 = indexedDB.open(dbname + '2')23 24 20 openreq2.onsuccess 25 21 PASS state is "starting" 26 22 state = 'open2complete' 27 23 24 trying to open a different database 25 openreq3 = indexedDB.open(dbname + '2') 28 26 openreq3.onsuccess 29 27 PASS state is "open2complete" -
trunk/LayoutTests/storage/indexeddb/resources/open-during-transaction.js
r163963 r240312 56 56 evalAndLog("state = 'open2complete'"); 57 57 debug(""); 58 59 debug("trying to open a different database"); 60 evalAndLog("openreq3 = indexedDB.open(dbname + '2')"); 61 openreq3.onerror = unexpectedErrorCallback; 62 openreq3.onsuccess = function (e) { 63 debug("openreq3.onsuccess"); 64 shouldBeEqualToString("state", "open2complete"); 65 evalAndLog("state = 'open3complete'"); 66 debug(""); 67 }; 58 68 }; 59 debug("");60 61 debug("trying to open a different database");62 evalAndLog("openreq3 = indexedDB.open(dbname + '2')");63 openreq3.onerror = unexpectedErrorCallback;64 openreq3.onsuccess = function (e) {65 debug("openreq3.onsuccess");66 shouldBeEqualToString("state", "open2complete");67 evalAndLog("state = 'open3complete'");68 debug("");69 };70 debug("");71 69 }
Note: See TracChangeset
for help on using the changeset viewer.