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

Unified Diff: LayoutTests/http/tests/serviceworker/indexeddb.html

Issue 354953002: Promisify Service Worker test unregister_and_register helper function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/indexeddb.html
diff --git a/LayoutTests/http/tests/serviceworker/indexeddb.html b/LayoutTests/http/tests/serviceworker/indexeddb.html
index a9ff03666aff89169245b7275ff02ce87eba0edd..50aacaf9a31aadc38e8ccf1add7be2749faf484e 100644
--- a/LayoutTests/http/tests/serviceworker/indexeddb.html
+++ b/LayoutTests/http/tests/serviceworker/indexeddb.html
@@ -8,7 +8,7 @@ var test = async_test('Verify Indexed DB operation in a Service Worker');
test.step(function() {
var scope = 'resources/blank.html';
service_worker_unregister_and_register(
- test, 'resources/indexeddb-worker.js', scope, onRegister);
+ test, 'resources/indexeddb-worker.js', scope).then(test.step_func(onRegister));
function onRegister(worker) {
var messageChannel = new MessageChannel();
« no previous file with comments | « LayoutTests/http/tests/serviceworker/fetch-event.html ('k') | LayoutTests/http/tests/serviceworker/postmessage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698