2012-06-23 05:42:32 -07:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<!--
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=766694
|
|
|
|
-->
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Test for Bug 766694</title>
|
|
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=766694">Mozilla Bug 766694</a>
|
|
|
|
<p id="display"></p>
|
|
|
|
<div id="content" style="display: none">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<pre id="test">
|
|
|
|
<script type="application/javascript">
|
|
|
|
|
|
|
|
/** Test for Bug 766694 **/
|
|
|
|
|
|
|
|
var interfaceNamesInGlobalScope =
|
|
|
|
[
|
|
|
|
"MozApplicationEvent",
|
|
|
|
"HTMLByteRanges",
|
|
|
|
"URL",
|
2012-07-05 03:05:09 -07:00
|
|
|
"BatteryManager",
|
2012-06-23 05:42:32 -07:00
|
|
|
"HTMLStyleElement",
|
|
|
|
"PropertyNodeList",
|
|
|
|
"SVGPatternElement",
|
|
|
|
"LinkStyle",
|
|
|
|
"IDBTransaction",
|
|
|
|
"CSSMediaRule",
|
|
|
|
"SVGFEMergeNodeElement",
|
|
|
|
"HTMLUnknownElement",
|
|
|
|
"SVGStylable",
|
|
|
|
"MozContactChangeEvent",
|
|
|
|
"ToString",
|
|
|
|
"MozBrowserFrame",
|
|
|
|
"UserDataHandler",
|
|
|
|
"HTMLDirectoryElement",
|
|
|
|
"SVGNumberList",
|
|
|
|
"SVGMaskElement",
|
|
|
|
"DeviceMotionEvent",
|
|
|
|
"GetSVGDocument",
|
|
|
|
"SVGAnimatedPreserveAspectRatio",
|
|
|
|
"MozSmsRequest",
|
|
|
|
"SVGViewElement",
|
|
|
|
"HTMLTableSectionElement",
|
|
|
|
"HTMLCollection",
|
|
|
|
"HTMLProgressElement",
|
|
|
|
"CRMFObject",
|
|
|
|
"CSSStyleSheet",
|
|
|
|
"UIEvent",
|
|
|
|
"IDBOpenDBRequest",
|
|
|
|
"XMLHttpRequest",
|
|
|
|
"SVGTextPathElement",
|
|
|
|
"StorageItem",
|
|
|
|
"SVGPolygonElement",
|
|
|
|
"MutationRecord",
|
|
|
|
"TimeEvent",
|
|
|
|
"HTMLElement",
|
|
|
|
"HTMLOptionElement",
|
|
|
|
"Pkcs11",
|
|
|
|
"NotifyAudioAvailableEvent",
|
|
|
|
"Array",
|
|
|
|
"SVGZoomAndPan",
|
|
|
|
"XULPopupElement",
|
|
|
|
"MediaError",
|
|
|
|
"DeviceStorageCursor",
|
2012-08-01 23:29:34 -07:00
|
|
|
"DeviceStorageChangeEvent",
|
2012-07-31 12:28:23 -07:00
|
|
|
"DeviceStorageStat",
|
2012-06-23 05:42:32 -07:00
|
|
|
"PageTransitionEvent",
|
|
|
|
"DataContainerEvent",
|
|
|
|
"MozCSSKeyframesRule",
|
|
|
|
"SVGAnimatedInteger",
|
|
|
|
"TouchEvent",
|
|
|
|
"OpenWindowEventDetail",
|
|
|
|
"IDBIndex",
|
|
|
|
"EventListener",
|
|
|
|
"TransitionEvent",
|
|
|
|
"XULContainerItemElement",
|
|
|
|
"HTMLTableCaptionElement",
|
|
|
|
"SVGRect",
|
|
|
|
"IDBCursor",
|
|
|
|
"History",
|
|
|
|
"HTMLTableRowElement",
|
|
|
|
"NodeFilter",
|
|
|
|
"ClientRectList",
|
|
|
|
"CanvasRenderingContext2D",
|
|
|
|
"SVGPathSegLinetoVerticalRel",
|
2012-06-22 00:37:49 -07:00
|
|
|
"MozAlarmsManager",
|
2012-06-23 05:42:32 -07:00
|
|
|
"MozPowerManager",
|
|
|
|
"SVGElement",
|
|
|
|
"GeoPositionError",
|
|
|
|
"XPathEvaluator",
|
|
|
|
"NodeIterator",
|
|
|
|
"MozNavigatorNetwork",
|
|
|
|
"CryptoDialogs",
|
|
|
|
"SVGLocatable",
|
|
|
|
"XULElement",
|
|
|
|
"CSSRuleList",
|
|
|
|
"SVGMarkerElement",
|
|
|
|
"Rect",
|
|
|
|
"SVGPathElement",
|
|
|
|
"SVGUseElement",
|
|
|
|
"SVGAnimatedPoints",
|
|
|
|
"DeviceAcceleration",
|
|
|
|
"DOMError",
|
|
|
|
"SVGAnimateMotionElement",
|
|
|
|
"HTMLMeterElement",
|
|
|
|
"SmartCardEvent",
|
|
|
|
"CSSValueList",
|
|
|
|
"ValidityState",
|
|
|
|
"HTMLAppletElement",
|
|
|
|
"Touch",
|
|
|
|
"Controllers",
|
|
|
|
"AnimationEvent",
|
|
|
|
"NavigatorDesktopNotification",
|
|
|
|
"LoadStatus",
|
|
|
|
"MediaQueryList",
|
|
|
|
"Contact",
|
|
|
|
"MediaQueryListListener",
|
|
|
|
"DesktopNotificationCenter",
|
|
|
|
"PluginArray",
|
|
|
|
"XULSelectControlElement",
|
|
|
|
"TimeRanges",
|
|
|
|
"ImageData",
|
|
|
|
"SVGPathSegArcAbs",
|
|
|
|
"MimeTypeArray",
|
|
|
|
"DocumentFragment",
|
|
|
|
"ParserJS",
|
|
|
|
"CanvasPattern",
|
|
|
|
"GeoPosition",
|
|
|
|
"XPathExpression",
|
|
|
|
"BarProp",
|
|
|
|
"NSEditableElement",
|
|
|
|
"SVGRectElement",
|
|
|
|
"DOMRequest",
|
|
|
|
"WindowPerformance",
|
|
|
|
"DOMSettableTokenList",
|
|
|
|
"SVGTransformList",
|
|
|
|
"SVGTransformable",
|
|
|
|
"XULControlElement",
|
|
|
|
"HTMLFrameSetElement",
|
|
|
|
"CSSCharsetRule",
|
|
|
|
"TouchList",
|
|
|
|
"DOMStringList",
|
|
|
|
"HTMLCommandElement",
|
|
|
|
"FileList",
|
|
|
|
"XULRelatedElement",
|
|
|
|
"Blob",
|
|
|
|
"Node",
|
|
|
|
"HTMLEmbedElement",
|
|
|
|
"ProgressEvent",
|
|
|
|
"SVGAnimateElement",
|
|
|
|
"MutationEvent",
|
|
|
|
"TreeSelection",
|
|
|
|
"DeviceLightEvent",
|
|
|
|
"SVGCircleElement",
|
|
|
|
"SVGFEComponentTransferElement",
|
|
|
|
"SVGPathSeg",
|
|
|
|
"SVGSVGElement",
|
|
|
|
"GlobalPropertyInitializer",
|
|
|
|
"HTMLMenuItemElement",
|
|
|
|
"HTMLDataListElement",
|
|
|
|
"XPathResult",
|
|
|
|
"XMLDocument",
|
|
|
|
"DocumentType",
|
|
|
|
"NamedNodeMap",
|
|
|
|
"DeviceProximityEvent",
|
|
|
|
"XULLabeledControlElement",
|
|
|
|
"MozWakeLock",
|
|
|
|
"MozConnection",
|
|
|
|
"WebGLRenderingContext",
|
|
|
|
"JSON",
|
|
|
|
"ClientRect",
|
|
|
|
"GetUserMediaSuccessCallback",
|
|
|
|
"CommandEvent",
|
|
|
|
"HTMLDocument",
|
|
|
|
"DeviceOrientationEvent",
|
|
|
|
"HTMLPreElement",
|
|
|
|
"StorageEvent",
|
|
|
|
"CSS2Properties",
|
|
|
|
"StorageIndexedDB",
|
|
|
|
"XULDocument",
|
|
|
|
"XULMultiSelectControlElement",
|
|
|
|
"SVGTitleElement",
|
|
|
|
"ContactProperties",
|
|
|
|
"PerformanceTiming",
|
|
|
|
"LSProgressEvent",
|
|
|
|
"NSEvent",
|
|
|
|
"HTMLBRElement",
|
|
|
|
"MouseScrollEvent",
|
2012-08-11 18:42:36 -07:00
|
|
|
"WheelEvent",
|
2012-06-23 05:42:32 -07:00
|
|
|
"HashChangeEvent",
|
|
|
|
"TreeWalker",
|
|
|
|
"HTMLTitleElement",
|
|
|
|
"LockedFile",
|
|
|
|
"GetUserMediaErrorCallback",
|
|
|
|
"SVGFEMorphologyElement",
|
|
|
|
"SVGFETurbulenceElement",
|
|
|
|
"XULTextBoxElement",
|
|
|
|
"SVGDocument",
|
|
|
|
"CSSStyleDeclaration",
|
|
|
|
"SVGAltGlyphElement",
|
|
|
|
"Screen",
|
|
|
|
"FileReader",
|
|
|
|
"SVGSwitchElement",
|
|
|
|
"SVGPolylineElement",
|
|
|
|
"SVGPathSegLinetoAbs",
|
|
|
|
"NavigatorDeviceStorage",
|
|
|
|
"HTMLOptionsCollection",
|
|
|
|
"IDBKeyRange",
|
|
|
|
"Parser",
|
|
|
|
"HTMLDivElement",
|
|
|
|
"HTMLLinkElement",
|
|
|
|
"ClientInformation",
|
|
|
|
"SVGMpathElement",
|
|
|
|
"HTMLTextAreaElement",
|
|
|
|
"SVGAnimatedEnumeration",
|
|
|
|
"Attr",
|
|
|
|
"StyleSheet",
|
|
|
|
"HTMLBodyElement",
|
|
|
|
"SVGPathSegCurvetoQuadraticSmoothRel",
|
|
|
|
"HTMLHeadingElement",
|
|
|
|
"Document",
|
|
|
|
"FileHandle",
|
|
|
|
"HTMLAnchorElement",
|
|
|
|
"SVGZoomEvent",
|
|
|
|
"UserProximityEvent",
|
|
|
|
"SVGAnimateTransformElement",
|
|
|
|
"CSSMozDocumentRule",
|
|
|
|
"HTMLQuoteElement",
|
|
|
|
"PopStateEvent",
|
|
|
|
"IDBVersionChangeEvent",
|
|
|
|
"HTMLCanvasElement",
|
|
|
|
"MouseEvent",
|
|
|
|
"OfflineResourceList",
|
|
|
|
"ContactAddress",
|
|
|
|
"Range",
|
|
|
|
"MozCSSKeyframeRule",
|
|
|
|
"SettingsLock",
|
|
|
|
"Screen",
|
|
|
|
"ImageDocument",
|
|
|
|
"TextMetrics",
|
|
|
|
"SVGScriptElement",
|
|
|
|
"CDATASection",
|
|
|
|
"CanvasGradient",
|
|
|
|
"SVGViewSpec",
|
|
|
|
"DOMException",
|
|
|
|
"MozSmsMessage",
|
|
|
|
"SVGFESpecularLightingElement",
|
|
|
|
"StorageObsolete",
|
|
|
|
"ContactManager",
|
|
|
|
"NSXPathExpression",
|
|
|
|
"SVGLineElement",
|
|
|
|
"SVGPathSegArcRel",
|
|
|
|
"XSLTProcessor",
|
|
|
|
"SVGPathSegLinetoVerticalAbs",
|
|
|
|
"SVGPathSegLinetoRel",
|
|
|
|
"HTMLImageElement",
|
|
|
|
"MozSmsEvent",
|
|
|
|
"CustomEvent",
|
|
|
|
"XMLHttpRequestUpload",
|
|
|
|
"SVGFEFuncBElement",
|
|
|
|
"Text",
|
|
|
|
"SVGPathSegCurvetoCubicRel",
|
|
|
|
"DataTransfer",
|
|
|
|
"SVGTSpanElement",
|
|
|
|
"SVGRadialGradientElement",
|
|
|
|
"SVGFEDisplacementMapElement",
|
|
|
|
"SVGPathSegCurvetoCubicSmoothAbs",
|
|
|
|
"CSSValue",
|
|
|
|
"DesktopNotification",
|
|
|
|
"KeyEvent",
|
|
|
|
"HTMLAreaElement",
|
|
|
|
"XULLabelElement",
|
|
|
|
"FormData",
|
|
|
|
"IDBDatabase",
|
|
|
|
"CSSPrimitiveValue",
|
|
|
|
"SVGStopElement",
|
|
|
|
"XULCommandEvent",
|
|
|
|
"HTMLMediaElement",
|
|
|
|
"SVGPathSegLinetoHorizontalAbs",
|
|
|
|
"SVGAnimatedRect",
|
|
|
|
"SVGTextContentElement",
|
|
|
|
"TreeColumn",
|
|
|
|
"XPathNamespace",
|
|
|
|
"FontFace",
|
|
|
|
"SVGPathSegCurvetoCubicSmoothRel",
|
|
|
|
"HTMLMapElement",
|
|
|
|
"SVGImageElement",
|
|
|
|
"HTMLMetaElement",
|
|
|
|
"NotifyPaintEvent",
|
|
|
|
"XULTreeElement",
|
|
|
|
"DragEvent",
|
|
|
|
"IDBObjectStore",
|
|
|
|
"NodeSelector",
|
|
|
|
"NavigatorUserMedia",
|
|
|
|
"TreeContentView",
|
|
|
|
"MimeType",
|
|
|
|
"SVGForeignObjectElement",
|
|
|
|
"MozMobileNetworkInfo",
|
|
|
|
"SVGAnimatedString",
|
|
|
|
"HTMLPropertiesCollection",
|
|
|
|
"WindowInternal",
|
|
|
|
"Serializer",
|
|
|
|
"SVGFEFuncGElement",
|
|
|
|
"XULCheckboxElement",
|
|
|
|
"SVGFEPointLightElement",
|
|
|
|
"ModalContentWindow",
|
|
|
|
"Crypto",
|
|
|
|
"StorageManager",
|
|
|
|
"SVGAngle",
|
|
|
|
"Navigator",
|
|
|
|
"SVGPathSegCurvetoQuadraticSmoothAbs",
|
|
|
|
"HTMLButtonElement",
|
|
|
|
"SVGPointList",
|
|
|
|
"SVGFEColorMatrixElement",
|
|
|
|
"USSDReceivedEvent",
|
|
|
|
"SettingsManager",
|
|
|
|
"DeviceRotationRate",
|
|
|
|
"HTMLAudioElement",
|
|
|
|
"SVGFEDistantLightElement",
|
|
|
|
"HTMLOListElement",
|
|
|
|
"ProcessingInstruction",
|
|
|
|
"CSSUnknownRule",
|
|
|
|
"SVGComponentTransferFunctionElement",
|
|
|
|
"SVGEvent",
|
|
|
|
"SVGPathSegLinetoHorizontalRel",
|
|
|
|
"SVGAnimatedNumber",
|
|
|
|
"HTMLHtmlElement",
|
|
|
|
"MozSmsManager",
|
|
|
|
"MozSmsFilter",
|
|
|
|
"SVGFETileElement",
|
|
|
|
"MozMobileConnectionInfo",
|
|
|
|
"CSSRule",
|
|
|
|
"HTMLSelectElement",
|
|
|
|
"MessageEvent",
|
|
|
|
"SVGFEImageElement",
|
2012-09-24 20:24:43 -07:00
|
|
|
"URL",
|
2012-06-23 05:42:32 -07:00
|
|
|
"DeviceStorage",
|
|
|
|
"SVGFEOffsetElement",
|
|
|
|
"DOMImplementation",
|
|
|
|
"SVGFECompositeElement",
|
|
|
|
"MediaList",
|
|
|
|
"HTMLFrameElement",
|
|
|
|
"NodeList",
|
|
|
|
"SVGPathSegCurvetoQuadraticRel",
|
|
|
|
"IDBFactory",
|
|
|
|
"SVGFilterPrimitiveStandardAttributes",
|
|
|
|
"CSSImportRule",
|
|
|
|
"SVGPathSegClosePath",
|
|
|
|
"HTMLTableCellElement",
|
|
|
|
"WindowUtils",
|
|
|
|
"SVGAnimatedNumberList",
|
|
|
|
"WindowCollection",
|
|
|
|
"SVGPathSegMovetoRel",
|
|
|
|
"ChromeWindow",
|
|
|
|
"Comment",
|
|
|
|
"HTMLSourceElement",
|
|
|
|
"SVGStringList",
|
|
|
|
"Storage",
|
|
|
|
"HTMLModElement",
|
|
|
|
"PaintRequest",
|
|
|
|
"XPathNSResolver",
|
|
|
|
"XULDescriptionElement",
|
|
|
|
"SVGLinearGradientElement",
|
|
|
|
"JSWindow",
|
|
|
|
"SVGGElement",
|
|
|
|
"BoxObject",
|
|
|
|
"SVGFEBlendElement",
|
|
|
|
"Event",
|
|
|
|
"File",
|
|
|
|
"HTMLOptGroupElement",
|
|
|
|
"SVGAnimatedLengthList",
|
|
|
|
"SVGAnimatedTransformList",
|
|
|
|
"MozTouchEvent",
|
|
|
|
"MozWakeLockListener",
|
|
|
|
"Selection",
|
|
|
|
"XULTreeBuilder",
|
|
|
|
"ScrollAreaEvent",
|
|
|
|
"SVGStyleElement",
|
|
|
|
"XULContainerElement",
|
|
|
|
"DOMTokenList",
|
|
|
|
"HTMLHRElement",
|
|
|
|
"HTMLFontElement",
|
|
|
|
"SVGFEFloodElement",
|
|
|
|
"HTMLDListElement",
|
|
|
|
"SVGSymbolElement",
|
|
|
|
"SVGLengthList",
|
|
|
|
"TreeColumns",
|
|
|
|
"PaintRequestList",
|
|
|
|
"SVGTextElement",
|
|
|
|
"SimpleGestureEvent",
|
|
|
|
"SVGMatrix",
|
|
|
|
"HTMLUListElement",
|
|
|
|
"SVGFEConvolveMatrixElement",
|
|
|
|
"SVGAnimationElement",
|
|
|
|
"SVGMetadataElement",
|
|
|
|
"EventListenerInfo",
|
|
|
|
"CSSStyleRule",
|
|
|
|
"IDBRequest",
|
|
|
|
"Performance",
|
|
|
|
"XULMenuListElement",
|
|
|
|
"SVGTransform",
|
|
|
|
"SVGTextPositioningElement",
|
|
|
|
"ContactFindOptions",
|
|
|
|
"SVGFEMergeElement",
|
|
|
|
"FileRequest",
|
|
|
|
"SVGDefsElement",
|
|
|
|
"Element",
|
|
|
|
"HTMLBaseElement",
|
|
|
|
"GeoPositionErrorCallback",
|
|
|
|
"HTMLVideoElement",
|
|
|
|
"MozSettingsEvent",
|
|
|
|
"SVGAnimatedPathData",
|
|
|
|
"SVGUnitTypes",
|
|
|
|
"SVGTests",
|
|
|
|
"RGBColor",
|
|
|
|
"HTMLLabelElement",
|
|
|
|
"MozSmsCursor",
|
|
|
|
"EventSource",
|
|
|
|
"MozNavigatorSms",
|
|
|
|
"SVGSetElement",
|
|
|
|
"GlobalObjectConstructor",
|
|
|
|
"SVGAnimatedBoolean",
|
|
|
|
"HTMLTableElement",
|
|
|
|
"Window",
|
|
|
|
"SVGNumber",
|
|
|
|
"XULImageElement",
|
|
|
|
"Plugin",
|
|
|
|
"SVGAnimatedLength",
|
|
|
|
"FontFaceList",
|
|
|
|
"EventTarget",
|
|
|
|
"SVGFEFuncRElement",
|
|
|
|
"SVGPathSegMovetoAbs",
|
|
|
|
"SVGPoint",
|
|
|
|
"GeoPositionCoords",
|
|
|
|
"HTMLIFrameElement",
|
|
|
|
"PerformanceNavigation",
|
|
|
|
"MediaStream",
|
|
|
|
"DOMStringMap",
|
|
|
|
"HTMLFieldSetElement",
|
|
|
|
"SVGFEDiffuseLightingElement",
|
|
|
|
"StyleSheetList",
|
|
|
|
"ElementCSSInlineStyle",
|
|
|
|
"HTMLInputElement",
|
|
|
|
"CharacterData",
|
|
|
|
"HTMLObjectElement",
|
|
|
|
"SVGURIReference",
|
|
|
|
"GeoGeolocation",
|
|
|
|
"HTMLParamElement",
|
|
|
|
"HTMLTableColElement",
|
|
|
|
"MozBlobBuilder",
|
|
|
|
"SVGFESpotLightElement",
|
|
|
|
"PopupBlockedEvent",
|
|
|
|
"XULButtonElement",
|
|
|
|
"CSSPageRule",
|
|
|
|
"Location",
|
|
|
|
"DocumentXBL",
|
|
|
|
"HTMLHeadElement",
|
|
|
|
"XULTemplateBuilder",
|
|
|
|
"GeoPositionCallback",
|
|
|
|
"XULCommandDispatcher",
|
|
|
|
"DocumentTouch",
|
|
|
|
"XULSelectControlItemElement",
|
|
|
|
"SVGPathSegCurvetoQuadraticAbs",
|
|
|
|
"MutationObserver",
|
|
|
|
"RequestService",
|
|
|
|
"Counter",
|
|
|
|
"SVGAnimatedAngle",
|
|
|
|
"SVGPathSegList",
|
|
|
|
"SVGFEFuncAElement",
|
|
|
|
"WebSocket",
|
|
|
|
"ElementTimeControl",
|
|
|
|
"HTMLLegendElement",
|
|
|
|
"SVGFEGaussianBlurElement",
|
|
|
|
"SVGEllipseElement",
|
|
|
|
"SVGDescElement",
|
|
|
|
"BeforeUnloadEvent",
|
|
|
|
"NSRGBAColor",
|
|
|
|
"MozBrowserFrame",
|
|
|
|
"SVGPreserveAspectRatio",
|
|
|
|
"HTMLMenuElement",
|
|
|
|
"CloseEvent",
|
|
|
|
"IDBCursorWithValue",
|
|
|
|
"CSSFontFaceRule",
|
|
|
|
"XMLHttpRequestEventTarget",
|
|
|
|
"CompositionEvent",
|
|
|
|
"HTMLOutputElement",
|
|
|
|
"HTMLFormElement",
|
|
|
|
"SVGLength",
|
|
|
|
"SVGFilterElement",
|
|
|
|
"HTMLScriptElement",
|
|
|
|
"SVGPathSegCurvetoCubicAbs",
|
|
|
|
"HTMLLIElement",
|
|
|
|
"SVGClipPathElement",
|
|
|
|
"NavigatorGeolocation",
|
|
|
|
"HTMLParagraphElement",
|
|
|
|
"EventTarget",
|
|
|
|
"File",
|
|
|
|
"SVGGradientElement",
|
2012-08-15 16:42:08 -07:00
|
|
|
"ContactTelField",
|
|
|
|
"ContactField",
|
2012-06-23 05:42:32 -07:00
|
|
|
"SVGFitToViewBox",
|
2012-07-30 14:59:05 -07:00
|
|
|
"SVGAElement",
|
|
|
|
"NavigatorCamera",
|
|
|
|
"CameraControl",
|
|
|
|
"CameraCapabilities",
|
2012-08-01 17:32:12 -07:00
|
|
|
"CameraManager",
|
2012-08-15 18:37:15 -07:00
|
|
|
"CSSSupportsRule",
|
2012-08-21 09:46:27 -07:00
|
|
|
"MozMobileCellInfo",
|
2012-08-31 10:45:45 -07:00
|
|
|
"MozCanvasPrintState",
|
2012-09-12 21:39:57 -07:00
|
|
|
"TCPSocket",
|
|
|
|
"MozTimeManager",
|
2012-09-19 11:19:00 -07:00
|
|
|
"MozNavigatorTime",
|
2012-09-25 12:21:39 -07:00
|
|
|
"PermissionSettings",
|
2012-10-03 16:51:47 -07:00
|
|
|
"DataErrorEvent",
|
2012-10-04 13:12:06 -07:00
|
|
|
"DataChannel",
|
2012-10-04 09:45:56 -07:00
|
|
|
"MozNetworkStatsManager",
|
|
|
|
"MozNetworkStats",
|
2012-10-06 22:34:30 -07:00
|
|
|
"MozNetworkStatsData",
|
|
|
|
"RTCSessionDescription",
|
|
|
|
"RTCIceCandidate",
|
2012-10-24 18:31:08 -07:00
|
|
|
"RTCPeerConnection",
|
2012-11-26 22:43:01 -08:00
|
|
|
"LocalMediaStream",
|
|
|
|
"CSSConditionRule",
|
|
|
|
"CSSGroupingRule"
|
2012-06-23 05:42:32 -07:00
|
|
|
]
|
|
|
|
|
2012-09-24 05:46:29 -07:00
|
|
|
for (var i in SpecialPowers.Components.interfaces) {
|
2012-06-23 05:42:32 -07:00
|
|
|
var s = i.toString();
|
|
|
|
var name = null;
|
|
|
|
if (s.indexOf("nsIDOM") == 0) {
|
|
|
|
name = s.substring("nsIDOM".length);
|
|
|
|
} else if (s.indexOf("nsI") == 0) {
|
|
|
|
name = s.substring("nsI".length);
|
|
|
|
}
|
|
|
|
if (name && (name in window)) {
|
|
|
|
ok(interfaceNamesInGlobalScope.indexOf(name) >= 0,
|
|
|
|
"Unexpected interface name in global scope: " + name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html>
|