| Index: ppapi/tests/extensions/popup/popup.js
|
| diff --git a/extensions/test/data/platform_app/world.js b/ppapi/tests/extensions/popup/popup.js
|
| similarity index 59%
|
| copy from extensions/test/data/platform_app/world.js
|
| copy to ppapi/tests/extensions/popup/popup.js
|
| index 9804641fc88c20ec6f08df49d9154a7056ce40da..e756e63233844004aaf43a81718bcb4310b9dd1c 100644
|
| --- a/extensions/test/data/platform_app/world.js
|
| +++ b/ppapi/tests/extensions/popup/popup.js
|
| @@ -2,7 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -window.onload = function() {
|
| - console.log('app window opened');
|
| +function onModuleLoaded() {
|
| chrome.test.notifyPass();
|
| +}
|
| +
|
| +window.onload = function() {
|
| + var nacl_module = document.getElementById('nacl_module');
|
| + nacl_module.addEventListener('load', onModuleLoaded, false);
|
| };
|
|
|