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

Unified Diff: chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/manifest.json

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/manifest.json
diff --git a/chrome/test/data/extensions/api_test/desktop_capture/manifest.json b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/manifest.json
similarity index 52%
copy from chrome/test/data/extensions/api_test/desktop_capture/manifest.json
copy to chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/manifest.json
index 4dbf5f0d000bbd2ff6fcfa86482ee7025cf33972..615dad3edb26879dd0d18328f127cc4ebc10dfc1 100644
--- a/chrome/test/data/extensions/api_test/desktop_capture/manifest.json
+++ b/chrome/test/data/extensions/api_test/webrtc_from_web_accessible_resource/manifest.json
@@ -3,12 +3,18 @@
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDcBHwzDvyBQ6bDppkIs9MP4ksKqCMyXQ/A52JivHZKh4YO/9vJsT3oaYhSpDCE9RPocOEQvwsHsFReW2nUEc6OLLyoCFFxIb7KkLGsmfakkut/fFdNJYh0xOTbSN8YvLWcqph09XAY2Y/f0AL7vfO1cuCqtkMt8hFrBGWxDdf9CQIDAQAB",
"version": "1.0.0.0",
"manifest_version": 2,
- "name": "Desktop Capture API test",
- "description": "Test desktop capture API",
+ "name": "getUserMedia Use in Extension Resource",
+ "description": "Test getUserMedia use in a web accessible resource nested in an insecure context.",
"background": {
"scripts": ["test.js"]
},
+ "content_scripts": [{
+ "matches": ["http://a.com/*"],
+ "js": ["content-script.js"]
+ }],
+ "web_accessible_resources": ["iframe-content.html", "iframe.js"],
robwu 2015/10/08 21:25:18 iframe.js does not need to be listed, only the fra
jww 2015/10/09 21:39:26 Done.
"permissions": [
- "desktopCapture"
+ "desktopCapture",
Devlin 2015/10/08 16:48:32 Don't need this, right?
jww 2015/10/09 21:39:26 Done.
+ "tabs", "http://a.com/*"
robwu 2015/10/08 21:25:18 The extension does not need any permissions. - chr
jww 2015/10/09 21:39:26 Yup, that was from an old version of the test. Nic
]
}

Powered by Google App Engine
This is Rietveld 408576698