| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 attribute EventHandler onsearch; | 197 attribute EventHandler onsearch; |
| 198 attribute EventHandler ontransitionend; | 198 attribute EventHandler ontransitionend; |
| 199 attribute EventHandler onwebkitanimationend; | 199 attribute EventHandler onwebkitanimationend; |
| 200 attribute EventHandler onwebkitanimationiteration; | 200 attribute EventHandler onwebkitanimationiteration; |
| 201 attribute EventHandler onwebkitanimationstart; | 201 attribute EventHandler onwebkitanimationstart; |
| 202 attribute EventHandler onwebkittransitionend; | 202 attribute EventHandler onwebkittransitionend; |
| 203 attribute EventHandler onwheel; | 203 attribute EventHandler onwheel; |
| 204 | 204 |
| 205 // https://w3c.github.io/webappsec/specs/powerfulfeatures/#monkey-patching-g
lobal-object | 205 // https://w3c.github.io/webappsec/specs/powerfulfeatures/#monkey-patching-g
lobal-object |
| 206 readonly attribute boolean isSecureContext; | 206 readonly attribute boolean isSecureContext; |
| 207 |
| 208 attribute DOMMatrixConstructor WebKitCSSMatrix; |
| 207 }; | 209 }; |
| 208 | 210 |
| 209 // https://html.spec.whatwg.org/#transferable-objects | 211 // https://html.spec.whatwg.org/#transferable-objects |
| 210 // | 212 // |
| 211 // Expressing the Transferable typedef in IDL depends on https://crbug.com/24017
6. | 213 // Expressing the Transferable typedef in IDL depends on https://crbug.com/24017
6. |
| 212 // The postMessage() methods taking a Transferable array argument have custom | 214 // The postMessage() methods taking a Transferable array argument have custom |
| 213 // binding code that is able to handle the Transferables that we currently | 215 // binding code that is able to handle the Transferables that we currently |
| 214 // recognize. To be able to declare a postMessage() signature that matches | 216 // recognize. To be able to declare a postMessage() signature that matches |
| 215 // the implementation, we provide a Transferable typedef but with an | 217 // the implementation, we provide a Transferable typedef but with an |
| 216 // incomplete type. | 218 // incomplete type. |
| 217 // | 219 // |
| 218 // FIXME: make this typedef accurate once enough of https://crbug.com/240176 | 220 // FIXME: make this typedef accurate once enough of https://crbug.com/240176 |
| 219 // is in place. | 221 // is in place. |
| 220 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 222 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 221 // utility type definitions. | 223 // utility type definitions. |
| 222 typedef MessagePort Transferable; | 224 typedef MessagePort Transferable; |
| 223 | 225 |
| 224 Window implements GlobalEventHandlers; | 226 Window implements GlobalEventHandlers; |
| 225 Window implements WindowBase64; | 227 Window implements WindowBase64; |
| 226 Window implements WindowEventHandlers; | 228 Window implements WindowEventHandlers; |
| 227 Window implements WindowTimers; | 229 Window implements WindowTimers; |
| OLD | NEW |