gecko/dom/webidl/WebIDL.mk
Boris Zbarsky 8231be64a0 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00

213 lines
5.2 KiB
Makefile

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
webidl_base = $(topsrcdir)/dom/webidl
generated_webidl_files = \
CSS2Properties.webidl \
$(NULL)
webidl_files = \
AudioBuffer.webidl \
AudioBufferSourceNode.webidl \
AudioContext.webidl \
AudioDestinationNode.webidl \
AudioListener.webidl \
AudioNode.webidl \
AudioParam.webidl \
AudioSourceNode.webidl \
BiquadFilterNode.webidl \
Blob.webidl \
CanvasRenderingContext2D.webidl \
CaretPosition.webidl \
CDATASection.webidl \
CFStateChangeEvent.webidl \
CharacterData.webidl \
ClientRectList.webidl \
Comment.webidl \
CSS.webidl \
CSSPrimitiveValue.webidl \
CSSStyleDeclaration.webidl \
CSSValue.webidl \
CSSValueList.webidl \
DelayNode.webidl \
Document.webidl \
DocumentFragment.webidl \
DocumentType.webidl \
DOMImplementation.webidl \
DOMParser.webidl \
DOMSettableTokenList.webidl \
DOMStringMap.webidl \
DOMTokenList.webidl \
DOMTransaction.webidl \
DummyBinding.webidl \
DynamicsCompressorNode.webidl \
Element.webidl \
EventHandler.webidl \
EventListener.webidl \
EventSource.webidl \
EventTarget.webidl \
File.webidl \
FileHandle.webidl \
FileList.webidl \
FileReaderSync.webidl \
FormData.webidl \
Function.webidl \
GainNode.webidl \
HTMLAnchorElement.webidl \
HTMLBodyElement.webidl \
HTMLCollection.webidl \
HTMLDataListElement.webidl \
HTMLDivElement.webidl \
HTMLDListElement.webidl \
HTMLDocument.webidl \
HTMLElement.webidl \
HTMLFontElement.webidl \
HTMLFrameSetElement.webidl \
HTMLHeadingElement.webidl \
HTMLImageElement.webidl \
HTMLLabelElement.webidl \
HTMLLIElement.webidl \
HTMLOListElement.webidl \
HTMLOptionsCollection.webidl \
HTMLParagraphElement.webidl \
HTMLPreElement.webidl \
HTMLPropertiesCollection.webidl \
HTMLScriptElement.webidl \
HTMLSpanElement.webidl \
HTMLTableCaptionElement.webidl \
HTMLTableCellElement.webidl \
HTMLTableColElement.webidl \
HTMLTableElement.webidl \
HTMLTableRowElement.webidl \
HTMLTableSectionElement.webidl \
HTMLTitleElement.webidl \
HTMLUListElement.webidl \
ImageData.webidl \
Location.webidl \
MutationObserver.webidl \
Node.webidl \
NodeFilter.webidl \
NodeList.webidl \
PaintRequest.webidl \
PaintRequestList.webidl \
PannerNode.webidl \
Performance.webidl \
PerformanceNavigation.webidl \
PerformanceTiming.webidl \
ProcessingInstruction.webidl \
Rect.webidl \
RGBColor.webidl \
RTCIceServer.webidl \
Screen.webidl \
SVGAElement.webidl \
SVGAltGlyphElement.webidl \
SVGAngle.webidl \
SVGAnimatedAngle.webidl \
SVGAnimatedBoolean.webidl \
SVGAnimatedLength.webidl \
SVGAnimatedLengthList.webidl \
SVGAnimatedNumberList.webidl \
SVGAnimatedPathData.webidl \
SVGAnimatedPoints.webidl \
SVGAnimatedPreserveAspectRatio.webidl \
SVGAnimatedTransformList.webidl \
SVGAnimateElement.webidl \
SVGAnimateMotionElement.webidl \
SVGAnimateTransformElement.webidl \
SVGAnimationElement.webidl \
SVGCircleElement.webidl \
SVGClipPathElement.webidl \
SVGDefsElement.webidl \
SVGDescElement.webidl \
SVGElement.webidl \
SVGEllipseElement.webidl \
SVGFitToViewBox.webidl \
SVGForeignObjectElement.webidl \
SVGGElement.webidl \
SVGGradientElement.webidl \
SVGGraphicsElement.webidl \
SVGImageElement.webidl \
SVGLengthList.webidl \
SVGLinearGradientElement.webidl \
SVGLineElement.webidl \
SVGLocatableElement.webidl \
SVGMaskElement.webidl \
SVGMatrix.webidl \
SVGMetadataElement.webidl \
SVGMPathElement.webidl \
SVGNumberList.webidl \
SVGPathElement.webidl \
SVGPathSeg.webidl \
SVGPathSegList.webidl \
SVGPatternElement.webidl \
SVGPoint.webidl \
SVGPointList.webidl \
SVGPolygonElement.webidl \
SVGPolylineElement.webidl \
SVGPreserveAspectRatio.webidl \
SVGRadialGradientElement.webidl \
SVGRectElement.webidl \
SVGScriptElement.webidl \
SVGSetElement.webidl \
SVGStopElement.webidl \
SVGStyleElement.webidl \
SVGSVGElement.webidl \
SVGSwitchElement.webidl \
SVGSymbolElement.webidl \
SVGTests.webidl \
SVGTextContentElement.webidl \
SVGTextElement.webidl \
SVGTextPathElement.webidl \
SVGTextPositioningElement.webidl \
SVGTitleElement.webidl \
SVGTransform.webidl \
SVGTransformableElement.webidl \
SVGTransformList.webidl \
SVGTSpanElement.webidl \
SVGUnitTypes.webidl \
SVGUseElement.webidl \
SVGURIReference.webidl \
SVGViewElement.webidl \
SVGZoomAndPan.webidl \
Text.webidl \
TextDecoder.webidl \
TextEncoder.webidl \
URL.webidl \
ValidityState.webidl \
WebSocket.webidl \
UndoManager.webidl \
USSDReceivedEvent.webidl \
XMLHttpRequest.webidl \
XMLHttpRequestEventTarget.webidl \
XMLHttpRequestUpload.webidl \
XMLSerializer.webidl \
XPathEvaluator.webidl \
XULElement.webidl \
$(NULL)
ifdef MOZ_WEBGL
webidl_files += \
WebGLRenderingContext.webidl \
$(NULL)
endif
ifdef MOZ_WEBRTC
webidl_files += \
MediaStreamList.webidl \
$(NULL)
endif
ifdef ENABLE_TESTS
test_webidl_files := \
TestCodeGen.webidl \
TestDictionary.webidl \
TestExampleGen.webidl \
TestTypedef.webidl \
$(NULL)
else
test_webidl_files := $(NULL)
endif