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

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

Issue 1383483007: Add scheme exceptions for isSecureContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Nits and 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/content-script.js
diff --git a/chrome/browser/resources/chromeos/login/gaia_card.js b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/content-script.js
similarity index 54%
copy from chrome/browser/resources/chromeos/login/gaia_card.js
copy to chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/content-script.js
index 7dd2a42a8bc269f6a901f0ec6ebb6095b76123e7..a247b0bcfabaddeb94dd9ba7ca6115fa0235f115 100644
--- a/chrome/browser/resources/chromeos/login/gaia_card.js
+++ b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/content-script.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-Polymer({
- is: 'gaia-card'
-});
+var iframe = document.createElement('iframe');
+iframe.src = chrome.runtime.getURL('iframe-content.html');
+document.body.appendChild(iframe);

Powered by Google App Engine
This is Rietveld 408576698