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

Unified Diff: chrome/test/data/extensions/api_test/tab_capture/experimental/active_tab_permission_test.js

Issue 14107010: Update tabCapture API docs with browser action info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
« no previous file with comments | « chrome/common/extensions/api/tab_capture.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/tab_capture/experimental/active_tab_permission_test.js
diff --git a/chrome/test/data/extensions/api_test/tab_capture/experimental/active_tab_permission_test.js b/chrome/test/data/extensions/api_test/tab_capture/experimental/active_tab_permission_test.js
index 6d0a4be8b7906437da9eeddd325faf485b32c7eb..0a92f2c7269d893f60ad75a696b8d53d79ce43e7 100644
--- a/chrome/test/data/extensions/api_test/tab_capture/experimental/active_tab_permission_test.js
+++ b/chrome/test/data/extensions/api_test/tab_capture/experimental/active_tab_permission_test.js
@@ -28,7 +28,8 @@ var afterGrantPermission = function(msg) {
var afterOpenTab = function(msg) {
chrome.tabCapture.capture({audio: true, video: true}, function(stream) {
chrome.test.assertLastError(
- 'Capture of this tab must be granted by clicking on the extension icon.');
+ 'Extension has not been invoked for the current page (see activeTab ' +
+ 'permission). Chrome pages cannot be captured.');
chrome.test.assertTrue(!stream);
chrome.test.sendMessage('ready2', afterGrantPermission);
« no previous file with comments | « chrome/common/extensions/api/tab_capture.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698