Index: chrome/test/data/extensions/platform_apps/launch_nothing/test.js |
diff --git a/chrome/test/data/extensions/platform_apps/launch_nothing/test.js b/chrome/test/data/extensions/platform_apps/launch_nothing/test.js |
index 9f9f30fcd4a313a0aca7fc3ac397aead9c4982a3..618b23c34df41d9d9bbd80f0b21b7f6fc31f280a 100644 |
--- a/chrome/test/data/extensions/platform_apps/launch_nothing/test.js |
+++ b/chrome/test/data/extensions/platform_apps/launch_nothing/test.js |
@@ -2,14 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Check that there is no launchData. |
-function onLaunched(launchData) { |
+chrome.app.runtime.onLaunched.addListener(function (launchData) { |
+ // Check that there is no launchData. |
chrome.test.runTests([ |
function testIntent() { |
chrome.test.assertTrue(!launchData, "LaunchData found"); |
chrome.test.succeed(); |
} |
]); |
-} |
- |
-chrome.experimental.app.onLaunched.addListener(onLaunched); |
+}); |