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

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: temp dep 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
« no previous file with comments | « extensions/test/data/platform_app/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/data/platform_app/world.js
diff --git a/chrome/test/data/extensions/platform_apps/ephemeral_apps/dispatch_event/index.js b/extensions/test/data/platform_app/world.js
similarity index 64%
copy from chrome/test/data/extensions/platform_apps/ephemeral_apps/dispatch_event/index.js
copy to extensions/test/data/platform_app/world.js
index dc590d190815d0645476120ece798c9fb5b4db35..9804641fc88c20ec6f08df49d9154a7056ce40da 100644
--- a/chrome/test/data/extensions/platform_apps/ephemeral_apps/dispatch_event/index.js
+++ b/extensions/test/data/platform_app/world.js
@@ -2,6 +2,7 @@
// 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() {
+ console.log('app window opened');
+ chrome.test.notifyPass();
};
« no previous file with comments | « extensions/test/data/platform_app/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698