Skip to content

Commit

Permalink
Add 'onadvertisementreceived' attribute to BluetoothDeviceEventHandlers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
reillyeon committed Feb 12, 2019
1 parent 0c85d25 commit 04bd93a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4980,9 +4980,15 @@ spec: promises-guide-1
<pre class="idl">
[SecureContext]
interface mixin BluetoothDeviceEventHandlers {
attribute EventHandler onadvertisementreceived;
attribute EventHandler ongattserverdisconnected;
};
</pre>
<p>
<dfn attribute for="BluetoothDeviceEventHandlers">onadvertisementreceived</dfn>
is an <a>Event handler IDL attribute</a> for the
{{advertisementreceived}} event type.
</p>
<p>
<dfn attribute for="BluetoothDeviceEventHandlers">ongattserverdisconnected</dfn>
is an <a>Event handler IDL attribute</a>
Expand Down

0 comments on commit 04bd93a

Please sign in to comment.