зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1284754 - modify typo error for the event openMediaWithExternalApp. r=jwwang
MozReview-Commit-ID: 1WeniGeQlqa --HG-- extra : rebase_source : bfd3a68dfcc917d82495369ee70ca9c6351f10a3
This commit is contained in:
Родитель
c0cfafab52
Коммит
eaa4a7e589
|
@ -5867,7 +5867,7 @@ HTMLMediaElement::OpenUnsupportedMediaWithExtenalAppIfNeeded()
|
|||
LOG(LogLevel::Debug, ("Open unsupported type \'%s\' with external apps.",
|
||||
mMimeType.get()));
|
||||
nsContentUtils::DispatchTrustedEvent(OwnerDoc(), static_cast<nsIContent*>(this),
|
||||
NS_LITERAL_STRING("OpenMediaWithExtenalApp"),
|
||||
NS_LITERAL_STRING("OpenMediaWithExternalApp"),
|
||||
true,
|
||||
true);
|
||||
}
|
||||
|
|
|
@ -4693,7 +4693,7 @@ var BrowserEventHandler = {
|
|||
|
||||
BrowserApp.deck.addEventListener("DOMUpdatePageReport", PopupBlockerObserver.onUpdatePageReport, false);
|
||||
BrowserApp.deck.addEventListener("MozMouseHittest", this, true);
|
||||
BrowserApp.deck.addEventListener("OpenMediaWithExtenalApp", this, true);
|
||||
BrowserApp.deck.addEventListener("OpenMediaWithExternalApp", this, true);
|
||||
|
||||
InitLater(() => BrowserApp.deck.addEventListener("click", InputWidgetHelper, true));
|
||||
InitLater(() => BrowserApp.deck.addEventListener("click", SelectHelper, true));
|
||||
|
@ -4717,7 +4717,7 @@ var BrowserEventHandler = {
|
|||
case 'MozMouseHittest':
|
||||
this._handleRetargetedTouchStart(aEvent);
|
||||
break;
|
||||
case 'OpenMediaWithExtenalApp':
|
||||
case 'OpenMediaWithExternalApp':
|
||||
ExternalApps.openExternal(aEvent.target);
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче