Skip to content

Commit

Permalink
Bug 635844 - Update pushState to latest spec. Again.; (AAv1) Fix (2) …
Browse files Browse the repository at this point in the history
…removeEventListener() 3rd param, from bug 500328 and this bug.

r=jonas (a=test-only).
  • Loading branch information
Serge Gautherie committed Mar 14, 2011
1 parent 21d6994 commit ef39770
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ function checkState(tab) {
ok(!doc.getElementById("new-elem"), "new-elem should be removed.");

// Clean up after ourselves and finish the test.
tab.linkedBrowser.removeEventListener("popstate", arguments.callee, false);
tab.linkedBrowser.removeEventListener("load", arguments.callee, false);
tab.linkedBrowser.removeEventListener("popstate", arguments.callee, true);
tab.linkedBrowser.removeEventListener("load", arguments.callee, true);
gBrowser.removeTab(tab);
finish();
}
Expand Down

0 comments on commit ef39770

Please sign in to comment.