| Index: chrome/test/data/extensions/platform_apps/get_display_path/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/get_display_path/test.js b/chrome/test/data/extensions/platform_apps/get_display_path/test.js
|
| index e43fe9b01413805cc54b5553bda6c3456d897dbb..33d566b573f29d5715497dd122a33f70c5f9a001 100644
|
| --- a/chrome/test/data/extensions/platform_apps/get_display_path/test.js
|
| +++ b/chrome/test/data/extensions/platform_apps/get_display_path/test.js
|
| @@ -2,9 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Test that there is a launchData.intent, it is set up proerly, and that the
|
| -// FileEntry in launchData.intent.data can be read.
|
| -function onLaunched(launchData) {
|
| +chrome.app.runtime.onLaunched.addListener(function (launchData) {
|
| + // Test that there is a launchData.intent, it is set up proerly, and that the
|
| + // FileEntry in launchData.intent.data can be read.
|
| chrome.test.runTests([
|
| function testGetDisplayPath() {
|
| chrome.test.assertFalse(!launchData, "No launchData");
|
| @@ -22,6 +22,4 @@ function onLaunched(launchData) {
|
| }));
|
| }
|
| ]);
|
| -}
|
| -
|
| -chrome.experimental.app.onLaunched.addListener(onLaunched);
|
| +});
|
|
|