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

Unified Diff: chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/test.js

Issue 1383483007: Add scheme exceptions for isSecureContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fixes Created 5 years, 2 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: chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/test.js
diff --git a/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/test.js b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/test.js
new file mode 100644
index 0000000000000000000000000000000000000000..b5ed3f6f00f62a65ed545a961f1d5fe205267ee7
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/test.js
@@ -0,0 +1,9 @@
+// Copyright 2015 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.
+
+chrome.test.getConfig(function(config) {
Devlin 2015/10/14 15:24:45 Do we really need this step at all?
jww 2015/10/15 18:19:41 Well, we don't need the getConfig() (so I'm removi
Devlin 2015/10/15 18:34:11 But why do we need this instead of just, say, Load
jww 2015/10/15 22:38:06 Because I'm ignorant and don't understand how exte
+ // On first call, just pass so the test can continue. The real checks are in
+ // the content script.
+ chrome.test.notifyPass();
+});

Powered by Google App Engine
This is Rietveld 408576698