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

Unified Diff: content/test/data/service_worker/fetch_event_respond_with_fetch.js

Issue 1859313002: Save-Data should not be added to CORS Access-Control-Request-Headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed kinuko comments Created 4 years, 8 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: content/test/data/service_worker/fetch_event_respond_with_fetch.js
diff --git a/mojo/shell/background/tests/test.mojom b/content/test/data/service_worker/fetch_event_respond_with_fetch.js
similarity index 68%
copy from mojo/shell/background/tests/test.mojom
copy to content/test/data/service_worker/fetch_event_respond_with_fetch.js
index a021d707cab44c0de225c26f85f8d07474bdea89..df76d0a094fd0d876c78cc9f327df6e213e056c2 100644
--- a/mojo/shell/background/tests/test.mojom
+++ b/content/test/data/service_worker/fetch_event_respond_with_fetch.js
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module mojo.shell.mojom;
-
-interface TestService {
- Test() => ();
+this.onfetch = function(event) {
+ event.respondWith(fetch(event.request));
};
« no previous file with comments | « content/test/data/service_worker/fetch_cross_origin.html ('k') | net/test/embedded_test_server/http_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698