Migrate to IDL mixin syntax

This commit is contained in:
Kagami Sascha Rosylight 2019-10-01 18:45:26 +09:00
parent 1b6715158d
commit d6c58b8226
46 changed files with 187 additions and 204 deletions

View file

@ -15,12 +15,11 @@ interface BluetoothDevice : EventTarget {
readonly attribute boolean watchingAdvertisements;
};
[NoInterfaceObject]
interface BluetoothDeviceEventHandlers {
interface mixin BluetoothDeviceEventHandlers {
attribute EventHandler ongattserverdisconnected;
};
// BluetoothDevice implements EventTarget;
BluetoothDevice implements BluetoothDeviceEventHandlers;
// BluetoothDevice implements CharacteristicEventHandlers;
// BluetoothDevice implements ServiceEventHandlers;
// BluetoothDevice includes EventTarget;
BluetoothDevice includes BluetoothDeviceEventHandlers;
// BluetoothDevice includes CharacteristicEventHandlers;
// BluetoothDevice includes ServiceEventHandlers;