зеркало из https://github.com/mozilla/gecko-dev.git
Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug
This commit is contained in:
Родитель
e08453097c
Коммит
f974a6f245
|
@ -4070,6 +4070,7 @@ nsDOMClassInfo::Init()
|
|||
|
||||
DOM_CLASSINFO_MAP_BEGIN(MozConnection, nsIDOMMozConnection)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMMozConnection)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(CSSFontFaceRule, nsIDOMCSSFontFaceRule)
|
||||
|
|
|
@ -25,6 +25,8 @@ ok(navigator.mozConnection, "navigator.mozConnection returns an object");
|
|||
|
||||
ok(navigator.mozConnection instanceof MozConnection,
|
||||
"navigator.mozConnection is a MozConnection object");
|
||||
ok(navigator.mozConnection instanceof EventTarget,
|
||||
"navigator.mozConnection is a EventTarget object");
|
||||
|
||||
checkInterface("Connection");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче