From 04bd93ae2baf2526aea6ea34f9ffe2ac21d889cf Mon Sep 17 00:00:00 2001 From: Reilly Grant Date: Tue, 12 Feb 2019 01:28:59 +0000 Subject: [PATCH] Add 'onadvertisementreceived' attribute to BluetoothDeviceEventHandlers This event type was defined but the EventHandler attribute was missing from the BluetoothDevice interface. This change adds it to the BluetoothDeviceEventHandlers mixin so that it is also present on the Bluetooth interface for bubbled events. Fixes #426. --- index.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.bs b/index.bs index 9962eeb..165f92c 100644 --- a/index.bs +++ b/index.bs @@ -4980,9 +4980,15 @@ spec: promises-guide-1
         [SecureContext]
         interface mixin BluetoothDeviceEventHandlers {
+          attribute EventHandler onadvertisementreceived;
           attribute EventHandler ongattserverdisconnected;
         };
       
+

+ onadvertisementreceived + is an Event handler IDL attribute for the + {{advertisementreceived}} event type. +

ongattserverdisconnected is an Event handler IDL attribute