Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: LayoutTests/storage/indexeddb/pending-version-change-stuck.html

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/shared.js"></script> 4 <script src="resources/shared.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 8
9 description("Implicitly terminating worker with blocked setVersion call should a llow later open calls to proceed"); 9 description("Implicitly terminating worker with blocked setVersion call should a llow later open calls to proceed");
10 10
11 function test() 11 function test()
12 { 12 {
13 removeVendorPrefixes();
14 dbname = self.location.pathname.substring(1 + self.location.pathname.lastInd exOf("/")); 13 dbname = self.location.pathname.substring(1 + self.location.pathname.lastInd exOf("/"));
15 evalAndLog("request = indexedDB.open(\"" + dbname + "\")"); 14 evalAndLog("request = indexedDB.open(\"" + dbname + "\")");
16 request.onblocked = unexpectedBlockedCallback; 15 request.onblocked = unexpectedBlockedCallback;
17 request.onerror = unexpectedErrorCallback; 16 request.onerror = unexpectedErrorCallback;
18 if (self.location.search == "?second") { 17 if (self.location.search == "?second") {
19 request.onsuccess = function() { 18 request.onsuccess = function() {
20 testPassed("Open worked after page reload."); 19 testPassed("Open worked after page reload.");
21 finishJSTest(); 20 finishJSTest();
22 }; 21 };
23 } else { 22 } else {
(...skipping 15 matching lines...) Expand all
39 else 38 else
40 originalOnMessage(event); 39 originalOnMessage(event);
41 }; 40 };
42 } 41 }
43 42
44 test(); 43 test();
45 44
46 </script> 45 </script>
47 </body> 46 </body>
48 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698