OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 276 |
277 // EventTarget interface | 277 // EventTarget interface |
278 [Custom] void addEventListener(DOMString type, | 278 [Custom] void addEventListener(DOMString type, |
279 EventListener listener, | 279 EventListener listener, |
280 optional boolean useCapture); | 280 optional boolean useCapture); |
281 [Custom] void removeEventListener(DOMString type, | 281 [Custom] void removeEventListener(DOMString type, |
282 EventListener listener, | 282 EventListener listener, |
283 optional boolean useCapture); | 283 optional boolean useCapture); |
284 [RaisesException] boolean dispatchEvent(Event evt); | 284 [RaisesException] boolean dispatchEvent(Event evt); |
285 | 285 |
286 // Global constructors | 286 // Additional constructors. |
287 attribute StyleSheetConstructor StyleSheet; | 287 attribute TransitionEventConstructor WebKitTransitionEvent; |
288 attribute CSSStyleSheetConstructor CSSStyleSheet; | 288 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator |
| 289 // Mozilla has a separate XMLDocument object for XML documents. |
| 290 // We just use Document for this. |
| 291 attribute DocumentConstructor XMLDocument; |
| 292 attribute DOMURLConstructor webkitURL; // FIXME: deprecate this. |
| 293 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. |
| 294 attribute IDBCursorConstructor webkitIDBCursor; |
| 295 attribute IDBDatabaseConstructor webkitIDBDatabase; |
| 296 attribute IDBFactoryConstructor webkitIDBFactory; |
| 297 attribute IDBIndexConstructor webkitIDBIndex; |
| 298 attribute IDBKeyRangeConstructor webkitIDBKeyRange; |
| 299 attribute IDBObjectStoreConstructor webkitIDBObjectStore; |
| 300 attribute IDBRequestConstructor webkitIDBRequest; |
| 301 attribute IDBTransactionConstructor webkitIDBTransaction; |
289 | 302 |
290 attribute CSSValueConstructor CSSValue; | 303 // Constructors enabled at runtime but whose interface does not have Enabled
AtRuntime |
291 attribute CSSPrimitiveValueConstructor CSSPrimitiveValue; | 304 // extended attribute. |
292 attribute CSSValueListConstructor CSSValueList; | 305 // FIXME: Remove these. |
293 attribute WebKitCSSTransformValueConstructor WebKitCSSTransformValue; | |
294 | |
295 attribute WebKitCSSFilterRuleConstructor WebKitCSSFilterRule; | |
296 attribute WebKitCSSMixFunctionValueConstructor WebKitCSSMixFunctionValue; | |
297 | |
298 attribute WebKitCSSFilterValueConstructor WebKitCSSFilterValue; | |
299 | |
300 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION | |
301 attribute WebKitCSSViewportRuleConstructor WebKitCSSViewportRule; | |
302 #endif | |
303 | |
304 attribute CSSRuleConstructor CSSRule; | |
305 attribute CSSCharsetRuleConstructor CSSCharsetRule; | |
306 attribute CSSFontFaceRuleConstructor CSSFontFaceRule; | |
307 attribute CSSHostRuleConstructor CSSHostRule; | |
308 attribute CSSImportRuleConstructor CSSImportRule; | |
309 attribute CSSMediaRuleConstructor CSSMediaRule; | |
310 attribute CSSPageRuleConstructor CSSPageRule; | |
311 attribute CSSStyleRuleConstructor CSSStyleRule; | |
312 | |
313 attribute CSSStyleDeclarationConstructor CSSStyleDeclaration; | |
314 attribute MediaListConstructor MediaList; | |
315 attribute CounterConstructor Counter; | |
316 attribute CSSRuleListConstructor CSSRuleList; | |
317 attribute RectConstructor Rect; | |
318 attribute RGBColorConstructor RGBColor; | |
319 attribute StyleSheetListConstructor StyleSheetList; | |
320 | |
321 // FIXME: Implement the commented-out global constructors for interfaces lis
ted in DOM Level 3 Core specification. | |
322 attribute DOMCoreExceptionConstructor DOMException; | |
323 attribute DOMStringListConstructor DOMStringList; | |
324 // attribute NameListConstructor NameList; | |
325 // attribute DOMImplementationListConstructor DOMImplementationList; | |
326 // attribute DOMImplementationSourceConstructor DOMImplementationSource; | |
327 attribute DOMImplementationConstructor DOMImplementation; | |
328 attribute DOMSettableTokenListConstructor DOMSettableTokenList; | |
329 attribute DOMTokenListConstructor DOMTokenList; | |
330 attribute DocumentFragmentConstructor DocumentFragment; | |
331 attribute DocumentConstructor Document; | |
332 attribute NodeConstructor Node; | |
333 attribute NodeListConstructor NodeList; | |
334 attribute NamedNodeMapConstructor NamedNodeMap; | |
335 attribute CharacterDataConstructor CharacterData; | |
336 attribute AttrConstructor Attr; | |
337 attribute ElementConstructor Element; | |
338 attribute TextConstructor Text; | |
339 attribute CommentConstructor Comment; | |
340 // attribute TypeInfoConstructor TypeInfo; | |
341 // attribute UserDataHandlerConstructor UserDataHandler; | |
342 // attribute DOMErrorConstructor DOMError; | |
343 // attribute DOMErrorHandlerConstructor DOMErrorHandler | |
344 // attribute DOMLocatorConstructor DOMLocator; | |
345 // attribute DOMConfigurationConstructor DOMConfiguration; | |
346 attribute CDATASectionConstructor CDATASection; | |
347 attribute DocumentTypeConstructor DocumentType; | |
348 attribute NotationConstructor Notation; | |
349 attribute EntityConstructor Entity; | |
350 attribute EntityReferenceConstructor EntityReference; | |
351 [EnabledAtRuntime=canvasPath] attribute DOMPathConstructor Path; | |
352 attribute ProcessingInstructionConstructor ProcessingInstruction; | |
353 attribute ShadowRootConstructor WebKitShadowRoot; | |
354 attribute HTMLContentElementConstructor HTMLContentElement; | |
355 attribute HTMLShadowElementConstructor HTMLShadowElement; | |
356 | |
357 attribute DOMSelectionConstructor Selection; | |
358 attribute DOMWindowConstructor Window; | |
359 | |
360 attribute HTMLDocumentConstructor HTMLDocument; | |
361 attribute HTMLElementConstructor HTMLElement; | |
362 attribute HTMLAnchorElementConstructor HTMLAnchorElement; | |
363 attribute HTMLAppletElementConstructor HTMLAppletElement; | |
364 attribute HTMLAreaElementConstructor HTMLAreaElement; | |
365 attribute HTMLBRElementConstructor HTMLBRElement; | |
366 attribute HTMLBaseElementConstructor HTMLBaseElement; | |
367 attribute HTMLBodyElementConstructor HTMLBodyElement; | |
368 attribute HTMLButtonElementConstructor HTMLButtonElement; | |
369 attribute HTMLCanvasElementConstructor HTMLCanvasElement; | |
370 attribute HTMLDListElementConstructor HTMLDListElement; | |
371 [Conditional=DATALIST_ELEMENT] attribute HTMLDataListElementConstructor HTML
DataListElement; | |
372 [EnabledPerContext=dialogElement] attribute HTMLDialogElementConstructor HTM
LDialogElement; | |
373 attribute HTMLDirectoryElementConstructor HTMLDirectoryElement; | |
374 attribute HTMLDivElementConstructor HTMLDivElement; | |
375 attribute HTMLEmbedElementConstructor HTMLEmbedElement; | |
376 attribute HTMLFieldSetElementConstructor HTMLFieldSetElement; | |
377 attribute HTMLFontElementConstructor HTMLFontElement; | |
378 attribute HTMLFormElementConstructor HTMLFormElement; | |
379 attribute HTMLFrameElementConstructor HTMLFrameElement; | |
380 attribute HTMLFrameSetElementConstructor HTMLFrameSetElement; | |
381 attribute HTMLHRElementConstructor HTMLHRElement; | |
382 attribute HTMLHeadElementConstructor HTMLHeadElement; | |
383 attribute HTMLHeadingElementConstructor HTMLHeadingElement; | |
384 attribute HTMLHtmlElementConstructor HTMLHtmlElement; | |
385 attribute HTMLIFrameElementConstructor HTMLIFrameElement; | |
386 attribute HTMLImageElementConstructor HTMLImageElement; | |
387 attribute HTMLInputElementConstructor HTMLInputElement; | |
388 attribute HTMLKeygenElementConstructor HTMLKeygenElement; | |
389 attribute HTMLLIElementConstructor HTMLLIElement; | |
390 attribute HTMLLabelElementConstructor HTMLLabelElement; | |
391 attribute HTMLLegendElementConstructor HTMLLegendElement; | |
392 attribute HTMLLinkElementConstructor HTMLLinkElement; | |
393 attribute HTMLMapElementConstructor HTMLMapElement; | |
394 attribute HTMLMarqueeElementConstructor HTMLMarqueeElement; | |
395 attribute HTMLMenuElementConstructor HTMLMenuElement; | |
396 attribute HTMLMetaElementConstructor HTMLMetaElement; | |
397 attribute HTMLMeterElementConstructor HTMLMeterElement; | |
398 attribute HTMLModElementConstructor HTMLModElement; | |
399 attribute HTMLOListElementConstructor HTMLOListElement; | |
400 attribute HTMLObjectElementConstructor HTMLObjectElement; | |
401 attribute HTMLOptGroupElementConstructor HTMLOptGroupElement; | |
402 attribute HTMLOptionElementConstructor HTMLOptionElement; | |
403 attribute HTMLOutputElementConstructor HTMLOutputElement; | |
404 attribute HTMLParagraphElementConstructor HTMLParagraphElement; | |
405 attribute HTMLParamElementConstructor HTMLParamElement; | |
406 attribute HTMLPreElementConstructor HTMLPreElement; | |
407 attribute HTMLProgressElementConstructor HTMLProgressElement; | |
408 attribute HTMLQuoteElementConstructor HTMLQuoteElement; | |
409 attribute HTMLScriptElementConstructor HTMLScriptElement; | |
410 attribute HTMLSelectElementConstructor HTMLSelectElement; | |
411 attribute HTMLSpanElementConstructor HTMLSpanElement; | |
412 attribute HTMLStyleElementConstructor HTMLStyleElement; | |
413 attribute HTMLTableCaptionElementConstructor HTMLTableCaptionElement; | |
414 attribute HTMLTableCellElementConstructor HTMLTableCellElement; | |
415 attribute HTMLTableColElementConstructor HTMLTableColElement; | |
416 attribute HTMLTableElementConstructor HTMLTableElement; | |
417 attribute HTMLTableRowElementConstructor HTMLTableRowElement; | |
418 attribute HTMLTableSectionElementConstructor HTMLTableSectionElement; | |
419 attribute HTMLTemplateElementConstructor HTMLTemplateElement; | |
420 attribute HTMLTextAreaElementConstructor HTMLTextAreaElement; | |
421 attribute HTMLTitleElementConstructor HTMLTitleElement; | |
422 attribute HTMLUListElementConstructor HTMLUListElement; | |
423 | |
424 attribute HTMLCollectionConstructor HTMLCollection; | |
425 attribute HTMLAllCollectionConstructor HTMLAllCollection; | |
426 attribute HTMLFormControlsCollectionConstructor HTMLFormControlsCollection; | |
427 attribute HTMLOptionsCollectionConstructor HTMLOptionsCollection; | |
428 attribute HTMLUnknownElementConstructor HTMLUnknownElement; | |
429 | |
430 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator | |
431 attribute HTMLOptionElementConstructorConstructor Option; // Usable with new
operator | |
432 | |
433 [Conditional=ENCRYPTED_MEDIA, EnabledAtRuntime=encryptedMedia] attribute Med
iaKeyEventConstructor MediaKeyEvent; | |
434 [Conditional=ENCRYPTED_MEDIA_V2, EnabledAtRuntime=encryptedMedia] attribute
MediaKeysConstructor MediaKeys; | |
435 [Conditional=ENCRYPTED_MEDIA_V2|ENCRYPTED_MEDIA, EnabledAtRuntime=encryptedM
edia] attribute MediaKeyErrorConstructor MediaKeyError; | |
436 [Conditional=ENCRYPTED_MEDIA_V2, EnabledAtRuntime=encryptedMedia] attribute
MediaKeyMessageEventConstructor MediaKeyMessageEvent; | |
437 [Conditional=ENCRYPTED_MEDIA_V2, EnabledAtRuntime=encryptedMedia] attribute
MediaKeyNeededEventConstructor MediaKeyNeededEvent; | |
438 | |
439 [EnabledAtRuntime=videoTrack] attribute HTMLTrackElementConstructor HTMLTrac
kElement; | |
440 [EnabledAtRuntime=videoTrack] attribute TextTrackConstructor TextTrack; | |
441 [EnabledAtRuntime=videoTrack] attribute TextTrackCueConstructor TextTrackCue
; // Usable with the new operator | |
442 [EnabledAtRuntime=videoTrack] attribute TextTrackCueListConstructor TextTrac
kCueList; | |
443 [EnabledAtRuntime=videoTrack] attribute TextTrackListConstructor TextTrackLi
st; | |
444 [Conditional=WEBVTT_REGIONS, EnabledAtRuntime=videoTrack] attribute TextTrac
kRegionConstructor TextTrackRegion; // Usable with the new operator | |
445 [EnabledAtRuntime=videoTrack] attribute TrackEventConstructor TrackEvent; | |
446 | |
447 [EnabledAtRuntime=media] attribute HTMLAudioElementConstructorConstructor Au
dio; // Usable with the new operator | |
448 [EnabledAtRuntime=media] attribute HTMLAudioElementConstructor HTMLAudioElem
ent; | |
449 [EnabledAtRuntime=media] attribute HTMLMediaElementConstructor HTMLMediaElem
ent; | 306 [EnabledAtRuntime=media] attribute HTMLMediaElementConstructor HTMLMediaElem
ent; |
450 [EnabledAtRuntime=media] attribute HTMLVideoElementConstructor HTMLVideoElem
ent; | 307 [EnabledAtRuntime=media] attribute HTMLVideoElementConstructor HTMLVideoElem
ent; |
451 [EnabledAtRuntime=media] attribute MediaErrorConstructor MediaError; | 308 [EnabledAtRuntime=media] attribute MediaErrorConstructor MediaError; |
452 [EnabledAtRuntime=media] attribute TimeRangesConstructor TimeRanges; | 309 [EnabledAtRuntime=media] attribute TimeRangesConstructor TimeRanges; |
453 [EnabledAtRuntime=media] attribute HTMLSourceElementConstructor HTMLSourceEl
ement; | 310 [EnabledAtRuntime=media] attribute HTMLSourceElementConstructor HTMLSourceEl
ement; |
454 [EnabledAtRuntime=media] attribute MediaControllerConstructor MediaControlle
r; | 311 [EnabledAtRuntime=media] attribute MediaControllerConstructor MediaControlle
r; |
455 | |
456 attribute CanvasPatternConstructor CanvasPattern; | |
457 attribute CanvasGradientConstructor CanvasGradient; | |
458 attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D; | |
459 | |
460 attribute ImageDataConstructor ImageData; | |
461 attribute TextMetricsConstructor TextMetrics; | |
462 | |
463 [Conditional=WEBGL] attribute WebGLActiveInfoConstructor WebGLActiveInfo; | |
464 [Conditional=WEBGL] attribute WebGLBufferConstructor WebGLBuffer; | |
465 [Conditional=WEBGL] attribute WebGLFramebufferConstructor WebGLFramebuffer; | |
466 [Conditional=WEBGL] attribute WebGLProgramConstructor WebGLProgram; | |
467 [Conditional=WEBGL] attribute WebGLRenderbufferConstructor WebGLRenderbuffer
; | |
468 [Conditional=WEBGL] attribute WebGLRenderingContextConstructor WebGLRenderin
gContext; | |
469 [Conditional=WEBGL] attribute WebGLShaderConstructor WebGLShader; | |
470 [Conditional=WEBGL] attribute WebGLShaderPrecisionFormatConstructor WebGLSha
derPrecisionFormat; | |
471 [Conditional=WEBGL] attribute WebGLTextureConstructor WebGLTexture; | |
472 [Conditional=WEBGL] attribute WebGLUniformLocationConstructor WebGLUniformLo
cation; | |
473 | |
474 attribute DOMStringMapConstructor DOMStringMap; | |
475 | |
476 attribute ArrayBufferConstructor ArrayBuffer; // Usable with new operator | |
477 attribute ArrayBufferViewConstructor ArrayBufferView; | |
478 attribute Int8ArrayConstructor Int8Array; // Usable with new operator | |
479 attribute Uint8ArrayConstructor Uint8Array; // Usable with new operator | |
480 attribute Uint8ClampedArrayConstructor Uint8ClampedArray; // Usable with new
operator | |
481 attribute Int16ArrayConstructor Int16Array; // Usable with new operator | |
482 attribute Uint16ArrayConstructor Uint16Array; // Usable with new operator | |
483 attribute Int32ArrayConstructor Int32Array; // Usable with new operator | |
484 attribute Uint32ArrayConstructor Uint32Array; // Usable with new operator | |
485 attribute Float32ArrayConstructor Float32Array; // Usable with new operator | |
486 attribute Float64ArrayConstructor Float64Array; // Usable with new operator | |
487 attribute DataViewConstructor DataView; // Usable with new operator | |
488 | |
489 // Event Constructors | |
490 attribute EventConstructor Event; | |
491 attribute BeforeLoadEventConstructor BeforeLoadEvent; | |
492 attribute CompositionEventConstructor CompositionEvent; | |
493 attribute CustomEventConstructor CustomEvent; | |
494 attribute ErrorEventConstructor ErrorEvent; | |
495 attribute FocusEventConstructor FocusEvent; | |
496 attribute HashChangeEventConstructor HashChangeEvent; | |
497 attribute KeyboardEventConstructor KeyboardEvent; | |
498 attribute MessageEventConstructor MessageEvent; | |
499 attribute MouseEventConstructor MouseEvent; | |
500 attribute MutationEventConstructor MutationEvent; | |
501 attribute OverflowEventConstructor OverflowEvent; | |
502 attribute PopStateEventConstructor PopStateEvent; | |
503 attribute PageTransitionEventConstructor PageTransitionEvent; | |
504 attribute ProgressEventConstructor ProgressEvent; | |
505 attribute TextEventConstructor TextEvent; | |
506 attribute TransitionEventConstructor TransitionEvent; | |
507 attribute UIEventConstructor UIEvent; | |
508 attribute AnimationEventConstructor WebKitAnimationEvent; | |
509 attribute TransitionEventConstructor WebKitTransitionEvent; | |
510 attribute WheelEventConstructor WheelEvent; | |
511 attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressEvent
; | |
512 [EnabledAtRuntime=deviceMotion] attribute DeviceMotionEventConstructor Devic
eMotionEvent; | 312 [EnabledAtRuntime=deviceMotion] attribute DeviceMotionEventConstructor Devic
eMotionEvent; |
513 [EnabledAtRuntime=deviceOrientation] attribute DeviceOrientationEventConstru
ctor DeviceOrientationEvent; | |
514 [EnabledAtRuntime=touch] attribute TouchConstructor Touch; | 313 [EnabledAtRuntime=touch] attribute TouchConstructor Touch; |
515 [EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent; | 314 [EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent; |
516 [EnabledAtRuntime=touch] attribute TouchListConstructor TouchList; | 315 [EnabledAtRuntime=touch] attribute TouchListConstructor TouchList; |
517 attribute StorageEventConstructor StorageEvent; | 316 [EnabledAtRuntime=webMIDI] attribute MIDIConnectionEventConstructor MIDIConn
ectionEvent; |
518 [Conditional=INPUT_SPEECH] attribute SpeechInputEventConstructor SpeechInput
Event; | 317 [EnabledAtRuntime=webMIDI] attribute MIDIMessageEventConstructor MIDIMessage
Event; |
519 [Conditional=WEBGL] attribute WebGLContextEventConstructor WebGLContextEvent
; | 318 [EnabledAtRuntime=mediaStream] attribute MediaStreamConstructor webkitMediaS
tream; |
520 [EnabledAtRuntime=requestAutocomplete] attribute AutocompleteErrorEventConst
ructor AutocompleteErrorEvent; | 319 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute AudioContextCon
structor webkitAudioContext; |
| 320 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute OfflineAudioCon
textConstructor webkitOfflineAudioContext; |
| 321 [EnabledAtRuntime=peerConnection] attribute RTCPeerConnectionConstructor web
kitRTCPeerConnection; |
521 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute Secur
ityPolicyViolationEventConstructor SecurityPolicyViolationEvent; | 322 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute Secur
ityPolicyViolationEventConstructor SecurityPolicyViolationEvent; |
| 323 [EnabledAtRuntime] attribute SharedWorkerConstructor SharedWorker; // Usable
with the new operator |
| 324 [EnabledAtRuntime=scriptedSpeech] attribute SpeechGrammarConstructor webkitS
peechGrammar; |
| 325 [EnabledAtRuntime=scriptedSpeech] attribute SpeechGrammarListConstructor web
kitSpeechGrammarList; |
| 326 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionConstructor web
kitSpeechRecognition; |
| 327 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionErrorConstructo
r webkitSpeechRecognitionError; |
| 328 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionEventConstructo
r webkitSpeechRecognitionEvent; |
522 | 329 |
523 attribute EventExceptionConstructor EventException; | 330 // Constructors whose name does not match the interface name. |
524 | 331 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam
es match interface names. |
525 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; | 332 attribute ShadowRootConstructor WebKitShadowRoot; |
526 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule; | |
527 [EnabledAtRuntime=cssRegions] attribute WebKitCSSRegionRuleConstructor WebKi
tCSSRegionRule; | |
528 | |
529 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the new
operator | |
530 | |
531 attribute DOMPointConstructor WebKitPoint; // Usable with new the operator | |
532 | |
533 attribute ClipboardConstructor Clipboard; | |
534 | |
535 attribute WorkerConstructor Worker; // Usable with the new operator | |
536 [EnabledAtRuntime] attribute SharedWorkerConstructor SharedWorker; // Usable
with the new operator | |
537 | |
538 attribute FileConstructor File; | |
539 attribute FileListConstructor FileList; | |
540 attribute BlobConstructor Blob; | |
541 | |
542 attribute NodeFilterConstructor NodeFilter; | |
543 attribute RangeConstructor Range; | |
544 | |
545 attribute EventSourceConstructor EventSource; // Usable with new the operato
r | |
546 | |
547 // Mozilla has a separate XMLDocument object for XML documents. | |
548 // We just use Document for this. | |
549 attribute DocumentConstructor XMLDocument; | |
550 attribute DOMParserConstructor DOMParser; | |
551 attribute XMLSerializerConstructor XMLSerializer; | |
552 attribute XMLHttpRequestConstructor XMLHttpRequest; // Usable with the new o
perator | |
553 attribute XMLHttpRequestUploadConstructor XMLHttpRequestUpload; | |
554 attribute XSLTProcessorConstructor XSLTProcessor; // Usable with the new ope
rator | |
555 | |
556 attribute MessagePortConstructor MessagePort; | |
557 attribute MessageChannelConstructor MessageChannel; // Usable with the new o
perator | |
558 | |
559 attribute DOMPluginConstructor Plugin; | |
560 attribute DOMPluginArrayConstructor PluginArray; | |
561 | |
562 attribute DOMMimeTypeConstructor MimeType; | |
563 attribute DOMMimeTypeArrayConstructor MimeTypeArray; | |
564 | |
565 attribute ClientRectConstructor ClientRect; | |
566 attribute ClientRectListConstructor ClientRectList; | |
567 | |
568 attribute StorageConstructor Storage; | |
569 | |
570 attribute XPathEvaluatorConstructor XPathEvaluator; | |
571 attribute XPathResultConstructor XPathResult; | |
572 attribute XPathExceptionConstructor XPathException; | |
573 | |
574 [Conditional=SVG] attribute SVGZoomEventConstructor SVGZoomEvent; | |
575 | |
576 #if defined(ENABLE_SVG) && ENABLE_SVG | |
577 // Expose all implemented SVG 1.1 interfaces, excluding the SVG MI interface
s: | |
578 // SVGAnimatedPathData, SVGAnimatedPoints, SVGExternalResourcesRequired, | |
579 // SVGFilterPrimitiveStandardAttributes, SVGFitToViewBox, SVGLangSpace, SVGL
ocatable | |
580 // SVGTests, SVGTransformable, SVGURIReference, SVGZoomAndPan | |
581 attribute SVGAElementConstructor SVGAElement; | |
582 attribute SVGAngleConstructor SVGAngle; | |
583 attribute SVGAnimatedAngleConstructor SVGAnimatedAngle; | |
584 attribute SVGAnimatedBooleanConstructor SVGAnimatedBoolean; | |
585 attribute SVGAnimatedEnumerationConstructor SVGAnimatedEnumeration; | |
586 attribute SVGAnimatedIntegerConstructor SVGAnimatedInteger; | |
587 attribute SVGAnimatedLengthConstructor SVGAnimatedLength; | |
588 attribute SVGAnimatedLengthListConstructor SVGAnimatedLengthList; | |
589 attribute SVGAnimatedNumberConstructor SVGAnimatedNumber; | |
590 attribute SVGAnimatedNumberListConstructor SVGAnimatedNumberList; | |
591 attribute SVGAnimatedPreserveAspectRatioConstructor SVGAnimatedPreserveAspec
tRatio; | |
592 attribute SVGAnimatedRectConstructor SVGAnimatedRect; | |
593 attribute SVGAnimatedStringConstructor SVGAnimatedString; | |
594 attribute SVGAnimatedTransformListConstructor SVGAnimatedTransformList; | |
595 attribute SVGCircleElementConstructor SVGCircleElement; | |
596 attribute SVGClipPathElementConstructor SVGClipPathElement; | |
597 attribute SVGColorConstructor SVGColor; | |
598 attribute SVGCursorElementConstructor SVGCursorElement; | |
599 // attribute SVGCSSRuleConstructor SVGCSSRule; | |
600 attribute SVGDefsElementConstructor SVGDefsElement; | |
601 attribute SVGDescElementConstructor SVGDescElement; | |
602 attribute SVGDocumentConstructor SVGDocument; | |
603 attribute SVGElementConstructor SVGElement; | |
604 attribute SVGElementInstanceConstructor SVGElementInstance; | |
605 attribute SVGElementInstanceListConstructor SVGElementInstanceList; | |
606 attribute SVGEllipseElementConstructor SVGEllipseElement; | |
607 attribute SVGForeignObjectElementConstructor SVGForeignObjectElement; | |
608 attribute SVGExceptionConstructor SVGException; | |
609 attribute SVGGElementConstructor SVGGElement; | |
610 attribute SVGGradientElementConstructor SVGGradientElement; | |
611 attribute SVGImageElementConstructor SVGImageElement; | |
612 attribute SVGLengthConstructor SVGLength; | |
613 attribute SVGLengthListConstructor SVGLengthList; | |
614 attribute SVGLinearGradientElementConstructor SVGLinearGradientElement; | |
615 attribute SVGLineElementConstructor SVGLineElement; | |
616 attribute SVGMarkerElementConstructor SVGMarkerElement; | |
617 attribute SVGMaskElementConstructor SVGMaskElement; | |
618 attribute SVGMatrixConstructor SVGMatrix; | |
619 attribute SVGMetadataElementConstructor SVGMetadataElement; | |
620 attribute SVGNumberConstructor SVGNumber; | |
621 attribute SVGNumberListConstructor SVGNumberList; | |
622 attribute SVGPaintConstructor SVGPaint; | |
623 attribute SVGPathElementConstructor SVGPathElement; | |
624 attribute SVGPathSegConstructor SVGPathSeg; | |
625 attribute SVGPathSegArcAbsConstructor SVGPathSegArcAbs; | |
626 attribute SVGPathSegArcRelConstructor SVGPathSegArcRel; | |
627 attribute SVGPathSegClosePathConstructor SVGPathSegClosePath; | |
628 attribute SVGPathSegCurvetoCubicAbsConstructor SVGPathSegCurvetoCubicAbs; | |
629 attribute SVGPathSegCurvetoCubicRelConstructor SVGPathSegCurvetoCubicRel; | |
630 attribute SVGPathSegCurvetoCubicSmoothAbsConstructor SVGPathSegCurvetoCubicS
moothAbs; | |
631 attribute SVGPathSegCurvetoCubicSmoothRelConstructor SVGPathSegCurvetoCubicS
moothRel; | |
632 attribute SVGPathSegCurvetoQuadraticAbsConstructor SVGPathSegCurvetoQuadrati
cAbs; | |
633 attribute SVGPathSegCurvetoQuadraticRelConstructor SVGPathSegCurvetoQuadrati
cRel; | |
634 attribute SVGPathSegCurvetoQuadraticSmoothAbsConstructor SVGPathSegCurvetoQu
adraticSmoothAbs; | |
635 attribute SVGPathSegCurvetoQuadraticSmoothRelConstructor SVGPathSegCurvetoQu
adraticSmoothRel; | |
636 attribute SVGPathSegLinetoAbsConstructor SVGPathSegLinetoAbs; | |
637 attribute SVGPathSegLinetoHorizontalAbsConstructor SVGPathSegLinetoHorizonta
lAbs; | |
638 attribute SVGPathSegLinetoHorizontalRelConstructor SVGPathSegLinetoHorizonta
lRel; | |
639 attribute SVGPathSegLinetoRelConstructor SVGPathSegLinetoRel; | |
640 attribute SVGPathSegLinetoVerticalAbsConstructor SVGPathSegLinetoVerticalAbs
; | |
641 attribute SVGPathSegLinetoVerticalRelConstructor SVGPathSegLinetoVerticalRel
; | |
642 attribute SVGPathSegListConstructor SVGPathSegList; | |
643 attribute SVGPathSegMovetoAbsConstructor SVGPathSegMovetoAbs; | |
644 attribute SVGPathSegMovetoRelConstructor SVGPathSegMovetoRel; | |
645 attribute SVGPatternElementConstructor SVGPatternElement; | |
646 attribute SVGPointConstructor SVGPoint; | |
647 attribute SVGPointListConstructor SVGPointList; | |
648 attribute SVGPolygonElementConstructor SVGPolygonElement; | |
649 attribute SVGPolylineElementConstructor SVGPolylineElement; | |
650 attribute SVGPreserveAspectRatioConstructor SVGPreserveAspectRatio; | |
651 attribute SVGRadialGradientElementConstructor SVGRadialGradientElement; | |
652 attribute SVGRectConstructor SVGRect; | |
653 attribute SVGRectElementConstructor SVGRectElement; | |
654 attribute SVGRenderingIntentConstructor SVGRenderingIntent; | |
655 attribute SVGScriptElementConstructor SVGScriptElement; | |
656 attribute SVGStopElementConstructor SVGStopElement; | |
657 attribute SVGStringListConstructor SVGStringList; | |
658 attribute SVGStyleElementConstructor SVGStyleElement; | |
659 attribute SVGSVGElementConstructor SVGSVGElement; | |
660 attribute SVGSwitchElementConstructor SVGSwitchElement; | |
661 attribute SVGSymbolElementConstructor SVGSymbolElement; | |
662 attribute SVGTextContentElementConstructor SVGTextContentElement; | |
663 attribute SVGTextElementConstructor SVGTextElement; | |
664 attribute SVGTextPathElementConstructor SVGTextPathElement; | |
665 attribute SVGTextPositioningElementConstructor SVGTextPositioningElement; | |
666 attribute SVGTitleElementConstructor SVGTitleElement; | |
667 attribute SVGTransformConstructor SVGTransform; | |
668 attribute SVGTransformListConstructor SVGTransformList; | |
669 attribute SVGTRefElementConstructor SVGTRefElement; | |
670 attribute SVGTSpanElementConstructor SVGTSpanElement; | |
671 attribute SVGUnitTypesConstructor SVGUnitTypes; | |
672 attribute SVGUseElementConstructor SVGUseElement; | |
673 attribute SVGViewElementConstructor SVGViewElement; | |
674 attribute SVGViewSpecConstructor SVGViewSpec; | |
675 attribute SVGZoomAndPanConstructor SVGZoomAndPan; | |
676 | |
677 attribute SVGAnimateColorElementConstructor SVGAnimateColorElement; | |
678 attribute SVGAnimateElementConstructor SVGAnimateElement; | |
679 attribute SVGAnimateMotionElementConstructor SVGAnimateMotionElement; | |
680 attribute SVGAnimateTransformElementConstructor SVGAnimateTransformElement; | |
681 attribute SVGMPathElementConstructor SVGMPathElement; | |
682 attribute SVGSetElementConstructor SVGSetElement; | |
683 | |
684 #if defined(ENABLE_SVG_FONTS) && ENABLE_SVG_FONTS | |
685 attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement; | |
686 attribute SVGAltGlyphElementConstructor SVGAltGlyphElement; | |
687 attribute SVGAltGlyphItemElementConstructor SVGAltGlyphItemElement; | |
688 // attribute SVGDefinitionSrcElementConstructor SVGDefinitionSrcElement; | |
689 attribute SVGFontElementConstructor SVGFontElement; | |
690 attribute SVGFontFaceElementConstructor SVGFontFaceElement; | |
691 attribute SVGFontFaceFormatElementConstructor SVGFontFaceFormatElement; | |
692 attribute SVGFontFaceNameElementConstructor SVGFontFaceNameElement; | |
693 attribute SVGFontFaceSrcElementConstructor SVGFontFaceSrcElement; | |
694 attribute SVGFontFaceUriElementConstructor SVGFontFaceUriElement; | |
695 attribute SVGGlyphElementConstructor SVGGlyphElement; | |
696 attribute SVGGlyphRefElementConstructor SVGGlyphRefElement; | |
697 attribute SVGHKernElementConstructor SVGHKernElement; | |
698 attribute SVGMissingGlyphElementConstructor SVGMissingGlyphElement; | |
699 attribute SVGVKernElementConstructor SVGVKernElement; | |
700 #endif | |
701 | |
702 attribute SVGComponentTransferFunctionElementConstructor SVGComponentTransfe
rFunctionElement; | |
703 attribute SVGFEBlendElementConstructor SVGFEBlendElement; | |
704 attribute SVGFEColorMatrixElementConstructor SVGFEColorMatrixElement; | |
705 attribute SVGFEComponentTransferElementConstructor SVGFEComponentTransferEle
ment; | |
706 attribute SVGFECompositeElementConstructor SVGFECompositeElement; | |
707 attribute SVGFEConvolveMatrixElementConstructor SVGFEConvolveMatrixElement; | |
708 attribute SVGFEDiffuseLightingElementConstructor SVGFEDiffuseLightingElement
; | |
709 attribute SVGFEDisplacementMapElementConstructor SVGFEDisplacementMapElement
; | |
710 attribute SVGFEDistantLightElementConstructor SVGFEDistantLightElement; | |
711 attribute SVGFEDropShadowElementConstructor SVGFEDropShadowElement; | |
712 attribute SVGFEFloodElementConstructor SVGFEFloodElement; | |
713 attribute SVGFEFuncAElementConstructor SVGFEFuncAElement; | |
714 attribute SVGFEFuncBElementConstructor SVGFEFuncBElement; | |
715 attribute SVGFEFuncGElementConstructor SVGFEFuncGElement; | |
716 attribute SVGFEFuncRElementConstructor SVGFEFuncRElement; | |
717 attribute SVGFEGaussianBlurElementConstructor SVGFEGaussianBlurElement; | |
718 attribute SVGFEImageElementConstructor SVGFEImageElement; | |
719 attribute SVGFEMergeElementConstructor SVGFEMergeElement; | |
720 attribute SVGFEMergeNodeElementConstructor SVGFEMergeNodeElement; | |
721 attribute SVGFEMorphologyElementConstructor SVGFEMorphologyElement; | |
722 attribute SVGFEOffsetElementConstructor SVGFEOffsetElement; | |
723 attribute SVGFEPointLightElementConstructor SVGFEPointLightElement; | |
724 attribute SVGFESpecularLightingElementConstructor SVGFESpecularLightingEleme
nt; | |
725 attribute SVGFESpotLightElementConstructor SVGFESpotLightElement; | |
726 attribute SVGFETileElementConstructor SVGFETileElement; | |
727 attribute SVGFETurbulenceElementConstructor SVGFETurbulenceElement; | |
728 attribute SVGFilterElementConstructor SVGFilterElement; | |
729 #endif | |
730 | |
731 attribute DOMFormDataConstructor FormData; | |
732 | |
733 attribute FileErrorConstructor FileError; | |
734 attribute FileReaderConstructor FileReader; | |
735 | |
736 attribute DOMURLConstructor URL; | |
737 attribute DOMURLConstructor webkitURL; // FIXME: deprecate this. | |
738 | |
739 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. | |
740 attribute MutationObserverConstructor MutationObserver; | |
741 attribute MutationRecordConstructor MutationRecord; | |
742 | |
743 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS
ource; | 333 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS
ource; |
744 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc
eBuffer; | 334 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc
eBuffer; |
745 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS
ourceBufferList; | 335 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS
ourceBufferList; |
| 336 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; |
746 | 337 |
747 // window.toString() requires special handling in V8 | 338 // window.toString() requires special handling in V8 |
748 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 339 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
749 }; | 340 }; |
750 | 341 |
OLD | NEW |