Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian

Remove GeckoEventListener and NativeEventListener now that we uniformly
use BundleEventListener. Also remove related classes NativeJSContainer,
NativeJSObject, and GeckoRequest, as well as related tests and C++
code.

The "Messaging" object in Messaging.jsm is replaced with a dummy object
that redirect calls to the global and/or window event dispatcher.
This commit is contained in:
Jim Chen
2017-02-01 17:35:45 -05:00
parent ec34fb0bdd
commit a47ea26590
31 changed files with 126 additions and 3674 deletions

View File

@@ -753,7 +753,7 @@ EventDispatcher::Dispatch(const nsAString& aEvent, JS::HandleValue aData,
aCallback, mDOMWindow));
}
mDispatcher->DispatchToThreads(aEvent, /* js */ nullptr, data, callback);
mDispatcher->DispatchToThreads(aEvent, data, callback);
return NS_OK;
}