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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js

Issue 1138223002: Layout Tests for client attribute of Fetchvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/resources/fetch-event-client-attribute-test-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js b/LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..3f324bd9e1127fa2880e2ede52c56edaaccc4225
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js
@@ -0,0 +1,3 @@
+self.addEventListener('fetch', function(event) {
+ event.respondWith(new Response(event.client.frameType));
+ });

Powered by Google App Engine
This is Rietveld 408576698