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