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

Unified Diff: chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js

Issue 411253002: Fix flaky WindowsApiSetIcon test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/browser/extensions/api/app_window/app_window_apitest.cc ('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/platform_apps/windows_api_set_icon/background.js
diff --git a/chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js b/chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js
index 85029bd662d667f23b01952fc6508840e416250b..5c8e1f869a24940b9021f441cce354c73e9831b9 100644
--- a/chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js
+++ b/chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js
@@ -3,9 +3,9 @@
// found in the LICENSE file.
chrome.app.runtime.onLaunched.addListener(function() {
- chrome.test.sendMessage("Launched");
chrome.app.window.create('test.html', {}, function(win) {
- win.setIcon("icon.png");
- chrome.test.sendMessage('IconSet');
+ chrome.test.sendMessage('ready', function() {
+ win.setIcon("icon.png");
+ });
});
});
« no previous file with comments | « chrome/browser/extensions/api/app_window/app_window_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698