| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. | 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 27 * OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 // https://html.spec.whatwg.org/#globaleventhandlers | 30 // https://html.spec.whatwg.org/#globaleventhandlers |
| 31 | 31 |
| 32 [ | 32 [ |
| 33 LegacyTreatAsPartialInterface, | 33 LegacyTreatAsPartialInterface, |
| 34 NoInterfaceObject, // Always used on target of 'implements' | 34 NoInterfaceObject, // Always used on target of 'implements' |
| 35 ] interface GlobalEventHandlers { | 35 ] interface GlobalEventHandlers { |
| 36 attribute EventHandler onabort; | 36 [Measure] attribute EventHandler onabort; |
| 37 attribute EventHandler onblur; | 37 [Measure] attribute EventHandler onblur; |
| 38 attribute EventHandler oncancel; | 38 [Measure] attribute EventHandler oncancel; |
| 39 attribute EventHandler oncanplay; | 39 [Measure] attribute EventHandler oncanplay; |
| 40 attribute EventHandler oncanplaythrough; | 40 [Measure] attribute EventHandler oncanplaythrough; |
| 41 attribute EventHandler onchange; | 41 [Measure] attribute EventHandler onchange; |
| 42 attribute EventHandler onclick; | 42 [Measure] attribute EventHandler onclick; |
| 43 attribute EventHandler onclose; | 43 [Measure] attribute EventHandler onclose; |
| 44 attribute EventHandler oncontextmenu; | 44 [Measure] attribute EventHandler oncontextmenu; |
| 45 attribute EventHandler oncuechange; | 45 [Measure] attribute EventHandler oncuechange; |
| 46 attribute EventHandler ondblclick; | 46 [Measure] attribute EventHandler ondblclick; |
| 47 attribute EventHandler ondrag; | 47 [Measure] attribute EventHandler ondrag; |
| 48 attribute EventHandler ondragend; | 48 [Measure] attribute EventHandler ondragend; |
| 49 attribute EventHandler ondragenter; | 49 [Measure] attribute EventHandler ondragenter; |
| 50 //attribute EventHandler ondragexit; | 50 //attribute EventHandler ondragexit; |
| 51 attribute EventHandler ondragleave; | 51 [Measure] attribute EventHandler ondragleave; |
| 52 attribute EventHandler ondragover; | 52 [Measure] attribute EventHandler ondragover; |
| 53 attribute EventHandler ondragstart; | 53 [Measure] attribute EventHandler ondragstart; |
| 54 attribute EventHandler ondrop; | 54 [Measure] attribute EventHandler ondrop; |
| 55 attribute EventHandler ondurationchange; | 55 [Measure] attribute EventHandler ondurationchange; |
| 56 attribute EventHandler onemptied; | 56 [Measure] attribute EventHandler onemptied; |
| 57 attribute EventHandler onended; | 57 [Measure] attribute EventHandler onended; |
| 58 // FIXME: onerror should be an OnErrorEventHandler. | 58 // FIXME: onerror should be an OnErrorEventHandler. |
| 59 attribute EventHandler onerror; | 59 [Measure] attribute EventHandler onerror; |
| 60 attribute EventHandler onfocus; | 60 [Measure] attribute EventHandler onfocus; |
| 61 attribute EventHandler oninput; | 61 [Measure] attribute EventHandler oninput; |
| 62 attribute EventHandler oninvalid; | 62 [Measure] attribute EventHandler oninvalid; |
| 63 attribute EventHandler onkeydown; | 63 [Measure] attribute EventHandler onkeydown; |
| 64 attribute EventHandler onkeypress; | 64 [Measure] attribute EventHandler onkeypress; |
| 65 attribute EventHandler onkeyup; | 65 [Measure] attribute EventHandler onkeyup; |
| 66 attribute EventHandler onload; | 66 [Measure] attribute EventHandler onload; |
| 67 attribute EventHandler onloadeddata; | 67 [Measure] attribute EventHandler onloadeddata; |
| 68 attribute EventHandler onloadedmetadata; | 68 [Measure] attribute EventHandler onloadedmetadata; |
| 69 attribute EventHandler onloadstart; | 69 [Measure] attribute EventHandler onloadstart; |
| 70 attribute EventHandler onmousedown; | 70 [Measure] attribute EventHandler onmousedown; |
| 71 [LenientThis] attribute EventHandler onmouseenter; | 71 [LenientThis, Measure] attribute EventHandler onmouseenter; |
| 72 [LenientThis] attribute EventHandler onmouseleave; | 72 [LenientThis, Measure] attribute EventHandler onmouseleave; |
| 73 attribute EventHandler onmousemove; | 73 [Measure] attribute EventHandler onmousemove; |
| 74 attribute EventHandler onmouseout; | 74 [Measure] attribute EventHandler onmouseout; |
| 75 attribute EventHandler onmouseover; | 75 [Measure] attribute EventHandler onmouseover; |
| 76 attribute EventHandler onmouseup; | 76 [Measure] attribute EventHandler onmouseup; |
| 77 attribute EventHandler onmousewheel; | 77 [Measure] attribute EventHandler onmousewheel; |
| 78 attribute EventHandler onpause; | 78 [Measure] attribute EventHandler onpause; |
| 79 attribute EventHandler onplay; | 79 [Measure] attribute EventHandler onplay; |
| 80 attribute EventHandler onplaying; | 80 [Measure] attribute EventHandler onplaying; |
| 81 attribute EventHandler onprogress; | 81 [Measure] attribute EventHandler onprogress; |
| 82 attribute EventHandler onratechange; | 82 [Measure] attribute EventHandler onratechange; |
| 83 attribute EventHandler onreset; | 83 [Measure] attribute EventHandler onreset; |
| 84 attribute EventHandler onresize; | 84 [Measure] attribute EventHandler onresize; |
| 85 attribute EventHandler onscroll; | 85 [Measure] attribute EventHandler onscroll; |
| 86 attribute EventHandler onseeked; | 86 [Measure] attribute EventHandler onseeked; |
| 87 attribute EventHandler onseeking; | 87 [Measure] attribute EventHandler onseeking; |
| 88 attribute EventHandler onselect; | 88 [Measure] attribute EventHandler onselect; |
| 89 attribute EventHandler onshow; | 89 [Measure] attribute EventHandler onshow; |
| 90 //attribute EventHandler onsort; | 90 //attribute EventHandler onsort; |
| 91 attribute EventHandler onstalled; | 91 [Measure] attribute EventHandler onstalled; |
| 92 attribute EventHandler onsubmit; | 92 [Measure] attribute EventHandler onsubmit; |
| 93 attribute EventHandler onsuspend; | 93 [Measure] attribute EventHandler onsuspend; |
| 94 attribute EventHandler ontimeupdate; | 94 [Measure] attribute EventHandler ontimeupdate; |
| 95 attribute EventHandler ontoggle; | 95 [Measure] attribute EventHandler ontoggle; |
| 96 attribute EventHandler onvolumechange; | 96 [Measure] attribute EventHandler onvolumechange; |
| 97 attribute EventHandler onwaiting; | 97 [Measure] attribute EventHandler onwaiting; |
| 98 | 98 |
| 99 // auxclick | 99 // auxclick |
| 100 // https://wicg.github.io/auxclick/ | 100 // https://wicg.github.io/auxclick/ |
| 101 [RuntimeEnabled=Auxclick] attribute EventHandler onauxclick; | 101 [RuntimeEnabled=Auxclick] attribute EventHandler onauxclick; |
| 102 | 102 |
| 103 // Pointer Events | 103 // Pointer Events |
| 104 // https://w3c.github.io/pointerevents/#extensions-to-the-globaleventhandler
s-interface | 104 // https://w3c.github.io/pointerevents/#extensions-to-the-globaleventhandler
s-interface |
| 105 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerdown; | 105 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerdown; |
| 106 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointermove; | 106 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointermove; |
| 107 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerup; | 107 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerup; |
| 108 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointercancel; | 108 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointercance
l; |
| 109 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerover; | 109 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerover; |
| 110 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerout; | 110 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerout; |
| 111 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerenter; | 111 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerenter
; |
| 112 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerleave; | 112 [RuntimeEnabled=PointerEvent, Measure] attribute EventHandler onpointerleave
; |
| 113 | 113 |
| 114 // Touch Events | 114 // Touch Events |
| 115 // https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers
-interface | 115 // https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers
-interface |
| 116 [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchca
ncel; | 116 [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler
ontouchcancel; |
| 117 [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchen
d; | 117 [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler
ontouchend; |
| 118 [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchmo
ve; | 118 [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler
ontouchmove; |
| 119 [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchst
art; | 119 [Measure, RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler
ontouchstart; |
| 120 }; | 120 }; |
| OLD | NEW |