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 25 matching lines...) Expand all Loading... | |
36 ] interface Window : EventTarget { | 36 ] interface Window : EventTarget { |
37 // DOM Level 0 | 37 // DOM Level 0 |
38 readonly attribute Screen screen; | 38 readonly attribute Screen screen; |
39 readonly attribute History history; | 39 readonly attribute History history; |
40 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar; | 40 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar; |
41 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; | 41 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; |
42 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar; | 42 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar; |
43 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars; | 43 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars; |
44 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar; | 44 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar; |
45 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; | 45 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; |
46 [PerWorldBindings, LogActivity=GetterOnly] readonly attribute Navigator navi gator; | 46 [LogActivity=GetterOnly] readonly attribute Navigator navigator; |
47 [Replaceable] readonly attribute Navigator clientInformation; | 47 [Replaceable] readonly attribute Navigator clientInformation; |
48 [DoNotCheckSecurity, Unforgeable, Replaceable, PerWorldBindings, LogActivity , PutForwards=href] readonly attribute Location location; | 48 [DoNotCheckSecurity, Unforgeable, Replaceable, LogActivity, PutForwards=href ] readonly attribute Location location; |
49 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event; | 49 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event; |
50 | 50 |
51 Selection getSelection(); | 51 Selection getSelection(); |
52 | 52 |
53 [CheckSecurity=Node, Custom=Getter] readonly attribute Element frameElement; | 53 [CheckSecurity=Node, Custom=Getter] readonly attribute Element frameElement; |
54 | 54 |
55 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus(); | 55 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus(); |
56 [DoNotCheckSecurity] void blur(); | 56 [DoNotCheckSecurity] void blur(); |
57 [DoNotCheckSecurity, CallWith=ExecutionContext] void close(); | 57 [DoNotCheckSecurity, CallWith=ExecutionContext] void close(); |
58 | 58 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
149 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef ined] optional Element element, | 149 [MeasureAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Undef ined] optional Element element, |
150 [TreatNullAs=N ullString, TreatUndefinedAs=NullString, Default=Undefined] optional DOMString ps eudoElement); | 150 [TreatNullAs=N ullString, TreatUndefinedAs=NullString, Default=Undefined] optional DOMString ps eudoElement); |
151 | 151 |
152 [Replaceable] readonly attribute double devicePixelRatio; | 152 [Replaceable] readonly attribute double devicePixelRatio; |
153 | 153 |
154 [MeasureAs=PrefixedConvertPointFromPageToNode] WebKitPoint webkitConvertPoin tFromPageToNode([Default=Undefined] optional Node node, | 154 [MeasureAs=PrefixedConvertPointFromPageToNode] WebKitPoint webkitConvertPoin tFromPageToNode([Default=Undefined] optional Node node, |
155 [Default=Undefined] optional WebKitPoint p); | 155 [Default=Undefined] optional WebKitPoint p); |
156 [MeasureAs=PrefixedConvertPointFromNodeToPage] WebKitPoint webkitConvertPoin tFromNodeToPage([Default=Undefined] optional Node node, | 156 [MeasureAs=PrefixedConvertPointFromNodeToPage] WebKitPoint webkitConvertPoin tFromNodeToPage([Default=Undefined] optional Node node, |
157 [Default=Undefined] optional WebKitPoint p); | 157 [Default=Undefined] optional WebKitPoint p); |
158 | 158 |
159 [RuntimeEnabled=ApplicationCache, PerWorldBindings, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache; | 159 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache; |
160 | 160 |
161 [RuntimeEnabled=SessionStorage, PerWorldBindings, LogActivity=GetterOnly, Ra isesException=Getter] readonly attribute Storage sessionStorage; | 161 [RuntimeEnabled=SessionStorage, LogActivity=GetterOnly, RaisesException=Gett er] readonly attribute Storage sessionStorage; |
162 [RuntimeEnabled=LocalStorage, PerWorldBindings, LogActivity=GetterOnly, Rais esException=Getter] readonly attribute Storage localStorage; | 162 [RuntimeEnabled=LocalStorage, LogActivity=GetterOnly, RaisesException=Getter ] readonly attribute Storage localStorage; |
163 | 163 |
164 // This is the interface orientation in degrees. Some examples are: | 164 // This is the interface orientation in degrees. Some examples are: |
165 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 165 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
166 // 90 is when rotated counter clockwise. | 166 // 90 is when rotated counter clockwise. |
167 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation; | 167 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation; |
168 | 168 |
169 [Replaceable] readonly attribute Console console; | 169 [Replaceable] readonly attribute Console console; |
170 | 170 |
171 // cross-document messaging | 171 // cross-document messaging |
172 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional MessagePort[] messagePorts); | 172 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional MessagePort[] messagePorts); |
(...skipping 16 matching lines...) Expand all Loading... | |
189 attribute EventHandler onsearch; | 189 attribute EventHandler onsearch; |
190 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 190 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
191 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 191 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
192 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 192 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
193 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 193 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
194 attribute EventHandler ontransitionend; | 194 attribute EventHandler ontransitionend; |
195 attribute EventHandler onwebkitanimationend; | 195 attribute EventHandler onwebkitanimationend; |
196 attribute EventHandler onwebkitanimationiteration; | 196 attribute EventHandler onwebkitanimationiteration; |
197 attribute EventHandler onwebkitanimationstart; | 197 attribute EventHandler onwebkitanimationstart; |
198 attribute EventHandler onwebkittransitionend; | 198 attribute EventHandler onwebkittransitionend; |
199 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; | 199 [LogActivity=SetterOnly] attribute EventHandler onwheel; |
haraken
2014/06/16 14:57:47
If we just remove [PerWorldBindings] from DOM attr
pmarch
2014/06/16 15:11:01
Nice catch. You are absolutely right.
For API cal
haraken
2014/06/16 15:16:49
Probably was this a reason why you've been observi
| |
200 | 200 |
201 [MeasureAs=WindowCaptureEvents] void captureEvents(); | 201 [MeasureAs=WindowCaptureEvents] void captureEvents(); |
202 [MeasureAs=WindowReleaseEvents] void releaseEvents(); | 202 [MeasureAs=WindowReleaseEvents] void releaseEvents(); |
203 | 203 |
204 // Additional constructors. | 204 // Additional constructors. |
205 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent; | 205 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent; |
206 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent; | 206 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent; |
207 [MeasureAs=PrefixedWindowURL] attribute URLConstructor webkitURL; // FIXME: deprecate this. | 207 [MeasureAs=PrefixedWindowURL] attribute URLConstructor webkitURL; // FIXME: deprecate this. |
208 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver; | 208 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver; |
209 | 209 |
210 // window.toString() requires special handling in V8 | 210 // window.toString() requires special handling in V8 |
211 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); | 211 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); |
212 | 212 |
213 [NotEnumerable] getter Window (unsigned long index); | 213 [NotEnumerable] getter Window (unsigned long index); |
214 [Custom, NotEnumerable] getter Window (DOMString name); | 214 [Custom, NotEnumerable] getter Window (DOMString name); |
215 }; | 215 }; |
216 | 216 |
217 Window implements GlobalEventHandlers; | 217 Window implements GlobalEventHandlers; |
218 Window implements WindowBase64; | 218 Window implements WindowBase64; |
219 Window implements WindowEventHandlers; | 219 Window implements WindowEventHandlers; |
220 Window implements WindowTimers; | 220 Window implements WindowTimers; |
OLD | NEW |