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 |
11 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
12 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
13 * | 13 * |
14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY | 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY |
15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR | 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR |
18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 [ | 27 [ |
28 CheckSecurity, | 28 CheckSecurity, |
29 CustomGetOwnPropertySlot, | |
30 EventTarget, | 29 EventTarget, |
31 CustomToJSObject, | 30 CustomToV8, |
32 NoWrapperCache, | 31 CustomNamedGetter, |
| 32 DoNotGenerateWrap, |
33 CustomIndexedGetter, | 33 CustomIndexedGetter, |
34 InterfaceName=Window | 34 InterfaceName=Window |
35 ] interface DOMWindow { | 35 ] interface DOMWindow { |
36 // DOM Level 0 | 36 // DOM Level 0 |
37 [Replaceable] readonly attribute Screen screen; | 37 [Replaceable] readonly attribute Screen screen; |
38 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute History history
; | 38 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute History history
; |
39 [Replaceable] readonly attribute BarInfo locationbar; | 39 [Replaceable] readonly attribute BarInfo locationbar; |
40 [Replaceable] readonly attribute BarInfo menubar; | 40 [Replaceable] readonly attribute BarInfo menubar; |
41 [Replaceable] readonly attribute BarInfo personalbar; | 41 [Replaceable] readonly attribute BarInfo personalbar; |
42 [Replaceable] readonly attribute BarInfo scrollbars; | 42 [Replaceable] readonly attribute BarInfo scrollbars; |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 attribute StorageEventConstructor StorageEvent; | 520 attribute StorageEventConstructor StorageEvent; |
521 [Conditional=INPUT_SPEECH] attribute SpeechInputEventConstructor SpeechInput
Event; | 521 [Conditional=INPUT_SPEECH] attribute SpeechInputEventConstructor SpeechInput
Event; |
522 [Conditional=WEBGL] attribute WebGLContextEventConstructor WebGLContextEvent
; | 522 [Conditional=WEBGL] attribute WebGLContextEventConstructor WebGLContextEvent
; |
523 [EnabledAtRuntime=requestAutocomplete] attribute AutocompleteErrorEventConst
ructor AutocompleteErrorEvent; | 523 [EnabledAtRuntime=requestAutocomplete] attribute AutocompleteErrorEventConst
ructor AutocompleteErrorEvent; |
524 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute Secur
ityPolicyViolationEventConstructor SecurityPolicyViolationEvent; | 524 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute Secur
ityPolicyViolationEventConstructor SecurityPolicyViolationEvent; |
525 | 525 |
526 attribute EventExceptionConstructor EventException; | 526 attribute EventExceptionConstructor EventException; |
527 | 527 |
528 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; | 528 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; |
529 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule; | 529 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule; |
530 [Conditional=CSS_REGIONS, EnabledAtRuntime=cssRegions] attribute WebKitCSSRe
gionRuleConstructor WebKitCSSRegionRule; | 530 [EnabledAtRuntime=cssRegions] attribute WebKitCSSRegionRuleConstructor WebKi
tCSSRegionRule; |
531 | 531 |
532 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the new
operator | 532 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the new
operator |
533 | 533 |
534 attribute DOMPointConstructor WebKitPoint; // Usable with new the operator | 534 attribute DOMPointConstructor WebKitPoint; // Usable with new the operator |
535 | 535 |
536 attribute ClipboardConstructor Clipboard; | 536 attribute ClipboardConstructor Clipboard; |
537 | 537 |
538 attribute WorkerConstructor Worker; // Usable with the new operator | 538 attribute WorkerConstructor Worker; // Usable with the new operator |
539 [EnabledAtRuntime] attribute SharedWorkerConstructor SharedWorker; // Usable
with the new operator | 539 [EnabledAtRuntime] attribute SharedWorkerConstructor SharedWorker; // Usable
with the new operator |
540 | 540 |
541 attribute FileConstructor File; | 541 attribute FileConstructor File; |
542 attribute FileListConstructor FileList; | 542 attribute FileListConstructor FileList; |
543 attribute BlobConstructor Blob; | 543 attribute BlobConstructor Blob; |
544 | 544 |
545 attribute NodeFilterConstructor NodeFilter; | 545 attribute NodeFilterConstructor NodeFilter; |
546 attribute RangeConstructor Range; | 546 attribute RangeConstructor Range; |
547 attribute RangeExceptionConstructor RangeException; | |
548 | 547 |
549 attribute EventSourceConstructor EventSource; // Usable with new the operato
r | 548 attribute EventSourceConstructor EventSource; // Usable with new the operato
r |
550 | 549 |
551 // Mozilla has a separate XMLDocument object for XML documents. | 550 // Mozilla has a separate XMLDocument object for XML documents. |
552 // We just use Document for this. | 551 // We just use Document for this. |
553 attribute DocumentConstructor XMLDocument; | 552 attribute DocumentConstructor XMLDocument; |
554 attribute DOMParserConstructor DOMParser; | 553 attribute DOMParserConstructor DOMParser; |
555 attribute XMLSerializerConstructor XMLSerializer; | 554 attribute XMLSerializerConstructor XMLSerializer; |
556 attribute XMLHttpRequestConstructor XMLHttpRequest; // Usable with the new o
perator | 555 attribute XMLHttpRequestConstructor XMLHttpRequest; // Usable with the new o
perator |
557 attribute XMLHttpRequestUploadConstructor XMLHttpRequestUpload; | 556 attribute XMLHttpRequestUploadConstructor XMLHttpRequestUpload; |
558 attribute XMLHttpRequestExceptionConstructor XMLHttpRequestException; | |
559 attribute XSLTProcessorConstructor XSLTProcessor; // Usable with the new ope
rator | 557 attribute XSLTProcessorConstructor XSLTProcessor; // Usable with the new ope
rator |
560 | 558 |
561 #if defined(ENABLE_CHANNEL_MESSAGING) && ENABLE_CHANNEL_MESSAGING | |
562 attribute MessagePortConstructor MessagePort; | 559 attribute MessagePortConstructor MessagePort; |
563 attribute MessageChannelConstructor MessageChannel; // Usable with the new o
perator | 560 attribute MessageChannelConstructor MessageChannel; // Usable with the new o
perator |
564 #endif | |
565 | 561 |
566 attribute DOMPluginConstructor Plugin; | 562 attribute DOMPluginConstructor Plugin; |
567 attribute DOMPluginArrayConstructor PluginArray; | 563 attribute DOMPluginArrayConstructor PluginArray; |
568 | 564 |
569 attribute DOMMimeTypeConstructor MimeType; | 565 attribute DOMMimeTypeConstructor MimeType; |
570 attribute DOMMimeTypeArrayConstructor MimeTypeArray; | 566 attribute DOMMimeTypeArrayConstructor MimeTypeArray; |
571 | 567 |
572 attribute ClientRectConstructor ClientRect; | 568 attribute ClientRectConstructor ClientRect; |
573 attribute ClientRectListConstructor ClientRectList; | 569 attribute ClientRectListConstructor ClientRectList; |
574 | 570 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 attribute MutationRecordConstructor MutationRecord; | 744 attribute MutationRecordConstructor MutationRecord; |
749 | 745 |
750 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS
ource; | 746 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS
ource; |
751 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc
eBuffer; | 747 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc
eBuffer; |
752 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS
ourceBufferList; | 748 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS
ourceBufferList; |
753 | 749 |
754 // window.toString() requires special handling in V8 | 750 // window.toString() requires special handling in V8 |
755 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 751 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
756 }; | 752 }; |
757 | 753 |
OLD | NEW |