mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Followup to my patch for bug 724309 that doesn't have a silly mistake in it
This commit is contained in:
parent
47299fd8b1
commit
9123bb6e80
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user