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); |