| Index: chrome/test/data/extensions/platform_apps/launch_invalid/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/launch_invalid/test.js b/chrome/test/data/extensions/platform_apps/launch_invalid/test.js
|
| index 4ec872a11f4d6f8acec97a6af03e84886228e7ba..a81197f0d9bfd1a7cb56938203a8b8272d46d34a 100644
|
| --- a/chrome/test/data/extensions/platform_apps/launch_invalid/test.js
|
| +++ b/chrome/test/data/extensions/platform_apps/launch_invalid/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 launch data.
|
| -function onLaunched(launchData) {
|
| +chrome.app.runtime.onLaunched.addListener(function (launchData) {
|
| + // Check that there is no launch data.
|
| chrome.test.runTests([
|
| function testIntent() {
|
| chrome.test.assertTrue(!launchData, "LaunchData found");
|
| chrome.test.succeed();
|
| }
|
| ]);
|
| -}
|
| -
|
| -chrome.experimental.app.onLaunched.addListener(onLaunched);
|
| +});
|
|
|