diff --git a/browser/base/content/test/browser_popupNotification.js b/browser/base/content/test/browser_popupNotification.js index 37afe77b2156..aed1ead1f7b9 100644 --- a/browser/base/content/test/browser_popupNotification.js +++ b/browser/base/content/test/browser_popupNotification.js @@ -191,7 +191,7 @@ var wrongBrowserNotification; var tests = [ { // Test #0 run: function () { - this.notifyObj = new basicNotification(), + this.notifyObj = new basicNotification(); showNotification(this.notifyObj); }, onShown: function (popup) { @@ -206,7 +206,7 @@ var tests = [ }, { // Test #1 run: function () { - this.notifyObj = new basicNotification(), + this.notifyObj = new basicNotification(); showNotification(this.notifyObj); }, onShown: function (popup) { @@ -221,7 +221,7 @@ var tests = [ }, { // Test #2 run: function () { - this.notifyObj = new basicNotification(), + this.notifyObj = new basicNotification(); this.notification = showNotification(this.notifyObj); }, onShown: function (popup) { @@ -285,7 +285,7 @@ var tests = [ // notification. { // Test #6 run: function () { - this.notifyObj = new basicNotification(), + this.notifyObj = new basicNotification(); // Show the same notification twice this.notification1 = showNotification(this.notifyObj); this.notification2 = showNotification(this.notifyObj); @@ -332,7 +332,7 @@ var tests = [ // Test notification without mainAction { // Test #8 run: function () { - this.notifyObj = new basicNotification(), + this.notifyObj = new basicNotification(); this.notifyObj.mainAction = null; this.notification = showNotification(this.notifyObj); }, @@ -568,7 +568,7 @@ var tests = [ // Test notification "Not Now" menu item { // Test #17 run: function () { - this.notifyObj = new basicNotification(), + this.notifyObj = new basicNotification(); this.notification = showNotification(this.notifyObj); }, onShown: function (popup) { @@ -584,7 +584,7 @@ var tests = [ // Test notification close button { // Test #18 run: function () { - this.notifyObj = new basicNotification(), + this.notifyObj = new basicNotification(); this.notification = showNotification(this.notifyObj); }, onShown: function (popup) { @@ -677,7 +677,7 @@ var tests = [ this.notification2.remove(); ok(this.notifyObj2.removedCallbackTriggered, "removed callback triggered"); } - ], + ] }, // Test that multiple notification icons are removed when switching tabs { // Test #22 @@ -718,7 +718,7 @@ var tests = [ gBrowser.selectedTab = this.oldSelectedTab; this.notificationOld.remove(); } - ], + ] } ];