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

Unified Diff: chrome/test/data/ssl/unsafe_importing_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/test/data/ssl/unsafe_fetching_worker.js ('k') | chrome/test/data/ssl/unsafe_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_importing_worker.js
diff --git a/chrome/test/data/ssl/unsafe_importing_worker.js b/chrome/test/data/ssl/unsafe_importing_worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..3423ab300e4d93310793f4d1b24926798e448986
--- /dev/null
+++ b/chrome/test/data/ssl/unsafe_importing_worker.js
@@ -0,0 +1,9 @@
+// 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.
+var message = "failed";
+try {
+ importScripts("REPLACE_WITH_IMPORTED_JS_URL");
+} catch(ex) {
+}
+postMessage(message);
« no previous file with comments | « chrome/test/data/ssl/unsafe_fetching_worker.js ('k') | chrome/test/data/ssl/unsafe_worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698