Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/extendable-event-async-waituntil.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/extendable-event-async-waituntil.https.html b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/extendable-event-async-waituntil.https.html |
index a5b643094e899debcf8eda3f70274ad227d8034a..be4efbbc34222f7087753c75920aee1eced998b0 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/extendable-event-async-waituntil.https.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/extendable-event-async-waituntil.https.html |
@@ -82,4 +82,20 @@ async_test(function(t) { |
} |
runTest(t, 'pending-respondwith-async-waituntil', testBody); |
}, 'Test calling waitUntil asynchronously with pending respondWith promise.'); |
+ |
+async_test(function(t) { |
+ var testBody = function(worker) { |
+ return with_iframe('./resources/respondwith-microtask-sync-waituntil/dummy.html'); |
+ } |
+ runTest(t, 'respondwith-microtask-sync-waituntil', testBody); |
+ }, 'Test calling waitUntil synchronously inside microtask of respondWith promise.'); |
+ |
+async_test(function(t) { |
+ var testBody = function(worker) { |
+ return with_iframe('./resources/respondwith-microtask-async-waituntil/dummy.html'); |
+ } |
+ runTest(t, 'respondwith-microtask-async-waituntil', testBody); |
+ }, 'Test calling waitUntil asynchronously inside microtask of respondWith promise.'); |
+ |
+ |
</script> |