Commit d61997cf authored by Serge Gautherie's avatar Serge Gautherie
Browse files

Bug 752216. (Bv1-FF) browser_popupNotification.js: Fix nits. r=gavin.

DONTBUILD (test-only, trivial).
parent d3946f0d
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -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();
      }
    ],
    ]
  }
];