OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 readonly attribute boolean cancelable; | 42 readonly attribute boolean cancelable; |
43 void preventDefault(); | 43 void preventDefault(); |
44 readonly attribute boolean defaultPrevented; | 44 readonly attribute boolean defaultPrevented; |
45 | 45 |
46 [MeasureAs=EventComposed] readonly attribute boolean composed; | 46 [MeasureAs=EventComposed] readonly attribute boolean composed; |
47 | 47 |
48 [Unforgeable] readonly attribute boolean isTrusted; | 48 [Unforgeable] readonly attribute boolean isTrusted; |
49 | 49 |
50 [CallWith=ScriptState] readonly attribute DOMHighResTimeStamp timeStamp; | 50 [CallWith=ScriptState] readonly attribute DOMHighResTimeStamp timeStamp; |
51 | 51 |
52 [Measure] void initEvent(DOMString type, optional boolean bubbles = false, o
ptional boolean cancelable = false); | 52 // FIXME: initEvent()'s arguments should not be optional. |
| 53 [Measure] void initEvent([Default=Undefined] optional DOMString type, |
| 54 [Default=Undefined] optional boolean bubbles, |
| 55 [Default=Undefined] optional boolean cancelable); |
53 | 56 |
54 // Non-standard APIs | 57 // Non-standard APIs |
55 [MeasureAs=EventSrcElement] readonly attribute EventTarget srcElement; | 58 [MeasureAs=EventSrcElement] readonly attribute EventTarget srcElement; |
56 [MeasureAs=EventReturnValue, CallWith=ScriptState, ImplementedAs=legacyRetur
nValue] attribute boolean returnValue; | 59 [MeasureAs=EventReturnValue, CallWith=ScriptState, ImplementedAs=legacyRetur
nValue] attribute boolean returnValue; |
57 [MeasureAs=EventCancelBubble, CallWith=ScriptState] attribute boolean cancel
Bubble; | 60 [MeasureAs=EventCancelBubble, CallWith=ScriptState] attribute boolean cancel
Bubble; |
58 [MeasureAs=EventPath, CallWith=ScriptState] readonly attribute EventTarget[]
path; | 61 [MeasureAs=EventPath, CallWith=ScriptState] readonly attribute EventTarget[]
path; |
59 }; | 62 }; |
OLD | NEW |