File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change
1
+ dictionary PointerEventInit : MouseEventInit {
2
+ sequence<PointerEvent> coalescedEvents;
3
+ };
4
+
5
+ [Constructor(DOMString type, optional PointerEventInit eventInitDict)]
6
+ interface PointerEvent : MouseEvent {
7
+ sequence<PointerEvent> getCoalescedEvents();
8
+ };
Original file line number Diff line number Diff line change 34
34
interface MouseEvent {
35
35
};
36
36
37
- </ pre >
38
-
39
- < pre id ='idl '>
40
- dictionary PointerEventInit : MouseEventInit {
41
- sequence< PointerEvent > coalescedEvents;
42
- };
43
-
44
- [Constructor(DOMString type, optional PointerEventInit eventInitDict)]
45
- interface PointerEvent : MouseEvent {
46
- sequence< PointerEvent > getCoalescedEvents();
47
- };
48
-
49
37
</ pre >
50
38
< script >
51
39
promise_test ( async function ( ) {
52
40
const dom = await fetch ( '/interfaces/dom.idl' ) . then ( r => r . text ( ) ) ;
53
41
const uievents = await fetch ( '/interfaces/uievents.idl' ) . then ( r => r . text ( ) ) ;
42
+ const idl = await fetch ( '/interfaces/pointerevents-extension.idl' ) . then ( r => r . text ( ) ) ;
54
43
55
44
const idl_array = new IdlArray ( ) ;
56
45
idl_array . add_untested_idls ( dom , { only : [ 'EventInit' ] } ) ;
61
50
} ) ;
62
51
idl_array . add_untested_idls (
63
52
document . getElementById ( "untested_idl" ) . textContent ) ;
64
- idl_array . add_idls ( document . getElementById ( " idl" ) . textContent ) ;
53
+ idl_array . add_idls ( idl ) ;
65
54
idl_array . test ( ) ;
66
55
} , 'pointerevents extension interfaces' ) ;
67
56
</ script >
You can’t perform that action at this time.
0 commit comments