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

Unified Diff: chrome/test/data/extensions/hotword/test.js

Issue 587153002: Suppress the exception thrown when responding to message with no response callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 6 years, 3 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/hotword/test.js
diff --git a/chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/background.js b/chrome/test/data/extensions/hotword/test.js
similarity index 62%
copy from chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/background.js
copy to chrome/test/data/extensions/hotword/test.js
index 94838a34d1f3e1c5c665a14db3d2d1a9945cf266..a252c697c026bb2d963b8a31bd39a445c9eaf16a 100644
--- a/chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/background.js
+++ b/chrome/test/data/extensions/hotword/test.js
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-'use strict';
-
+// Send a WAKE_UP command to the hotword helper extension.
chrome.runtime.sendMessage(
- 'nlkncpkkdoccmpiclbokaimcnedabhhm',
- {name: 'testResourceLoaded'});
+ 'dnhpdliibojhegemfjheidglijccjfmc',
+ {type: 'wu'});

Powered by Google App Engine
This is Rietveld 408576698