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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 178 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
179 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 179 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
180 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 180 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
181 attribute EventHandler ontransitionend; | 181 attribute EventHandler ontransitionend; |
182 attribute EventHandler onwebkitanimationend; | 182 attribute EventHandler onwebkitanimationend; |
183 attribute EventHandler onwebkitanimationiteration; | 183 attribute EventHandler onwebkitanimationiteration; |
184 attribute EventHandler onwebkitanimationstart; | 184 attribute EventHandler onwebkitanimationstart; |
185 attribute EventHandler onwebkittransitionend; | 185 attribute EventHandler onwebkittransitionend; |
186 attribute EventHandler onwheel; | 186 attribute EventHandler onwheel; |
187 | 187 |
| 188 // https://w3c.github.io/webappsec/specs/powerfulfeatures/#monkey-patching-g
lobal-object |
| 189 readonly attribute boolean isSecureContext; |
| 190 |
188 // window.toString() requires special handling in V8 | 191 // window.toString() requires special handling in V8 |
189 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; | 192 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; |
190 }; | 193 }; |
191 | 194 |
192 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects | 195 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects |
193 // | 196 // |
194 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176
. | 197 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176
. |
195 // The postMessage() methods taking a Transferable array argument have custom | 198 // The postMessage() methods taking a Transferable array argument have custom |
196 // binding code that is able to handle the Transferables that we currently | 199 // binding code that is able to handle the Transferables that we currently |
197 // recognize. To be able to declare a postMessage() signature that matches | 200 // recognize. To be able to declare a postMessage() signature that matches |
198 // the implementation, we provide a Transferable typedef but with an | 201 // the implementation, we provide a Transferable typedef but with an |
199 // incomplete type. | 202 // incomplete type. |
200 // | 203 // |
201 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 204 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
202 // is in place. | 205 // is in place. |
203 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 206 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
204 // utility type definitions. | 207 // utility type definitions. |
205 typedef MessagePort Transferable; | 208 typedef MessagePort Transferable; |
206 | 209 |
207 Window implements GlobalEventHandlers; | 210 Window implements GlobalEventHandlers; |
208 Window implements WindowBase64; | 211 Window implements WindowBase64; |
209 Window implements WindowEventHandlers; | 212 Window implements WindowEventHandlers; |
210 Window implements WindowTimers; | 213 Window implements WindowTimers; |
OLD | NEW |