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

Unified Diff: chrome/test/data/ssl/unsafe_fetching_worker.js

Issue 2888333002: Send certificate errors from worker fetch context for off-main-thread-fetch. (Closed)
Patch Set: incorporated kinuko's comment Created 3 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
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/test/data/ssl/unsafe_importing_worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/ssl/unsafe_fetching_worker.js
diff --git a/chrome/test/data/ssl/unsafe_fetching_worker.js b/chrome/test/data/ssl/unsafe_fetching_worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..36589840ee1da5565c1842a29cbaacbb6be2e6a4
--- /dev/null
+++ b/chrome/test/data/ssl/unsafe_fetching_worker.js
@@ -0,0 +1,5 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+fetch("REPLACE_WITH_TEST_FILE_URL", {mode: 'no-cors'})
+ .then(_ => postMessage("loaded"), _ => postMessage("failed"));
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/test/data/ssl/unsafe_importing_worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698