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

Unified Diff: extensions/test/data/platform_app/world.js

Issue 224723022: Add the first app_shell_browsertest test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: extensions/test/data/platform_app/world.js
diff --git a/chrome/test/data/extensions/platform_apps/ephemeral_apps/messaging_receiver/index.js b/extensions/test/data/platform_app/world.js
similarity index 64%
copy from chrome/test/data/extensions/platform_apps/ephemeral_apps/messaging_receiver/index.js
copy to extensions/test/data/platform_app/world.js
index dc590d190815d0645476120ece798c9fb5b4db35..5338f1ff5af21e482d2efecff9e154b7ab5ef905 100644
--- a/chrome/test/data/extensions/platform_apps/ephemeral_apps/messaging_receiver/index.js
+++ b/extensions/test/data/platform_app/world.js
@@ -1,7 +1,7 @@
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
-onload = function() {
- chrome.test.sendMessage('launched');
+window.onload = function() {
James Cook 2014/04/08 16:03:49 nit: blank line above
Yoyo Zhou 2014/04/08 21:55:21 Done. P.S. I log here because it's how I know the
+ console.log('app window opened');
+ chrome.test.notifyPass();
};

Powered by Google App Engine
This is Rietveld 408576698