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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 188 |
189 // Additional constructors. | 189 // Additional constructors. |
190 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; | 190 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; |
191 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr
uctor AnimationEvent; | 191 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr
uctor AnimationEvent; |
192 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL; | 192 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL; |
193 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; | 193 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; |
194 | 194 |
195 // window.toString() requires special handling in V8 | 195 // window.toString() requires special handling in V8 |
196 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; | 196 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; |
197 | 197 |
198 [NotEnumerable] getter Window (unsigned long index); | 198 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index); |
199 [Custom, NotEnumerable] getter Window (DOMString name); | 199 [Custom, NotEnumerable, DoNotCheckSecurity] getter Window (DOMString name); |
200 }; | 200 }; |
201 | 201 |
202 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects | 202 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects |
203 // | 203 // |
204 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176
. | 204 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176
. |
205 // The postMessage() methods taking a Transferable array argument have custom | 205 // The postMessage() methods taking a Transferable array argument have custom |
206 // binding code that is able to handle the Transferables that we currently | 206 // binding code that is able to handle the Transferables that we currently |
207 // recognize. To be able to declare a postMessage() signature that matches | 207 // recognize. To be able to declare a postMessage() signature that matches |
208 // the implementation, we provide a Transferable typedef but with an | 208 // the implementation, we provide a Transferable typedef but with an |
209 // incomplete type. | 209 // incomplete type. |
210 // | 210 // |
211 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 211 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
212 // is in place. | 212 // is in place. |
213 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 213 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
214 // utility type definitions. | 214 // utility type definitions. |
215 typedef MessagePort Transferable; | 215 typedef MessagePort Transferable; |
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 |