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