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