WebBluetoothCG / web-bluetooth

Bluetooth support for the Web.
http://www.w3.org/community/web-bluetooth/
Other
1.38k stars 187 forks source link

Link Scanning API to new "bluetooth" permission definition #578

Closed reillyeon closed 2 years ago

reillyeon commented 2 years ago

CC @tabatkins

beaufortfrancois commented 2 years ago

Even though this CL looked good to me, bikeshed failed to find the permission reference for "bluetooth".

$ bikeshed spec scanning.bs 
LINK ERROR: No 'permission' refs found for '"bluetooth"'.
<a data-link-type="permission" data-lt='"bluetooth"'>"bluetooth"</a>
 ✔  Successfully generated, with 1 linking errors

When using the refs command though, it seems okay. I'm not sure what is happening... @tabatkins Do you have an idea?

$ bikeshed refs --text=\"bluetooth\" --type=permission
type:      permission
status:    local
spec:      web-bluetooth-1
shortname: web-bluetooth
level:     1
url:       #permissiondef-bluetooth
export:    True
for:       []
el:        <Element dfn at 0x7f90969ff940>:<dfn data-export="" data-dfn-type="permission" id="permissiondef-bluetooth" class="dfn-paneled idl-code"><code>"bluetooth"</code></dfn>
text:      "bluetooth"