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

Unified Diff: chrome/test/data/extensions/api_test/hotword_private/audioHistory/test.js

Issue 2017113002: [Extensions] DCHECK that ExtensionFunctions respond (and only once) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/hotword_private/audioHistory/test.js
diff --git a/chrome/test/data/extensions/api_test/hotword_private/audioHistory/test.js b/chrome/test/data/extensions/api_test/hotword_private/audioHistory/test.js
index 354817105839450f8239d483c5d8d0c853e0d621..12692ef26f4681efb2885e1b1e144756ad4c528e 100644
--- a/chrome/test/data/extensions/api_test/hotword_private/audioHistory/test.js
+++ b/chrome/test/data/extensions/api_test/hotword_private/audioHistory/test.js
@@ -8,18 +8,18 @@ chrome.test.runTests([
true,
chrome.test.callbackPass(function(state) {
if (state.success)
- chrome.test.sendMessage("set AH: "+state.enabled+" success");
+ chrome.test.sendMessage("set AH True: "+state.enabled+" success");
else
- chrome.test.sendMessage("set AH: "+state.enabled+" failure");
+ chrome.test.sendMessage("set AH True: "+state.enabled+" failure");
}));
// Test with setting to false as well.
chrome.hotwordPrivate.setAudioHistoryEnabled(
false,
chrome.test.callbackPass(function(state) {
if (state.success)
- chrome.test.sendMessage("set AH: "+state.enabled+" success");
+ chrome.test.sendMessage("set AH False: "+state.enabled+" success");
else
- chrome.test.sendMessage("set AH: "+state.enabled+" failure");
+ chrome.test.sendMessage("set AH False: "+state.enabled+" failure");
}));
chrome.hotwordPrivate.getAudioHistoryEnabled(chrome.test.callbackPass(
function(state) {

Powered by Google App Engine
This is Rietveld 408576698