Followup to my patch for bug 724309 that doesn't have a silly mistake in it

This commit is contained in:
Gavin Sharp 2012-02-18 22:22:30 -08:00
parent 47299fd8b1
commit 9123bb6e80

View File

@ -46,9 +46,9 @@ function test() {
// principal, e.g. javascript:
expectUncaughtException();
let originalHandler = homeButtonObserver.onDrop;
homeButtonObserver.onDrop = function () {
homeButtonObserver.onDrop = function (aEvent) {
info("homeButtonObserver.onDrop called");
originalHandler();
originalHandler(aEvent);
};
registerCleanupFunction(function () {
homeButtonObserver.onDrop = originalHandler;