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

Unified Diff: chrome/test/data/extensions/api_test/page_capture/test.js

Issue 2697833004: Revert of Public Sessions - prompt the user for pageCapture requests (Closed)
Patch Set: Created 3 years, 10 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/page_capture/test.js
diff --git a/chrome/test/data/extensions/api_test/page_capture/test.js b/chrome/test/data/extensions/api_test/page_capture/test.js
index bc911ebbcefd75fe026a8eeb402723054a1e8e56..e51a99afe5e18d3e74b9b7c88175180a93d534b6 100644
--- a/chrome/test/data/extensions/api_test/page_capture/test.js
+++ b/chrome/test/data/extensions/api_test/page_capture/test.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// API test for chrome.extension.pageCapture.
-// browser_tests.exe --gtest_filter=ExtensionPageCaptureApiTest.*
+// browser_tests.exe --gtest_filter=ExtensionApiTest.PageCapture
const assertEq = chrome.test.assertEq;
const assertTrue = chrome.test.assertTrue;
@@ -31,11 +31,6 @@
waitForCurrentTabLoaded(function() {
chrome.pageCapture.saveAsMHTML({ "tabId": tab.id },
function(data) {
- if (config.customArg == "REQUEST_DENIED") {
- chrome.test.assertLastError("User denied request.");
- chrome.test.notifyPass();
- return;
- }
assertEq(undefined, chrome.runtime.lastError);
assertTrue(data != null);
// It should contain few KBs of data.

Powered by Google App Engine
This is Rietveld 408576698