Index: chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/content-script.js |
diff --git a/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/content-script.js b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/content-script.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e0fcc7c117000e73ad68c83c3b73c2995aaa4477 |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/content-script.js |
@@ -0,0 +1,7 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
Devlin
2015/10/14 15:24:45
prefer content_script.js over content-script.js
jww
2015/10/15 18:19:41
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+var iframe = document.createElement('iframe'); |
+iframe.src = chrome.runtime.getURL('iframe-content.html' + document.location.search); |
+document.body.appendChild(iframe); |