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