| Index: chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html
|
| diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html
|
| index d78435558421860b503b2a2677bc9ad2865a4096..e58b14bd7548099a9719f2e455a6d59334d01188 100644
|
| --- a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html
|
| +++ b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html
|
| @@ -12,11 +12,13 @@ function showNotification(url) {
|
| }
|
|
|
| // Called by the notification when it is done with its tests.
|
| -function onNotificationDone() {
|
| +function onNotificationDone(notificationWindow) {
|
| var views = chrome.extension.getViews();
|
| chrome.test.assertEq(2, views.length);
|
| + notificationWindow.onunload = function() {
|
| + chrome.test.succeed();
|
| + }
|
| notification.cancel();
|
| - chrome.test.succeed();
|
| }
|
|
|
| chrome.test.runTests([
|
|
|