mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1450856 - Fix PromptDelegate.onExternalResponse() for non-e10s r=esawin
MozReview-Commit-ID: FFuX0fviAgj
This commit is contained in:
parent
6500846a02
commit
ed42963278
@ -23,12 +23,10 @@ ExternalAppService.prototype = {
|
||||
|
||||
doContent(mimeType, request, context, forceSave) {
|
||||
const channel = request.QueryInterface(Ci.nsIChannel);
|
||||
const mm = context.QueryInterface(Ci.nsIDocShell).tabChild.messageManager;
|
||||
|
||||
debug `doContent: uri=${channel.URI.displaySpec}
|
||||
contentType=${channel.contentType}`;
|
||||
|
||||
EventDispatcher.forMessageManager(mm).sendRequest({
|
||||
GeckoViewUtils.getDispatcherForWindow(context).sendRequest({
|
||||
type: "GeckoView:ExternalResponse",
|
||||
uri: channel.URI.displaySpec,
|
||||
contentType: channel.contentType,
|
||||
|
Loading…
Reference in New Issue
Block a user