[web-bluetooth] Pull Request: Throw TypeError if dataPrefix is present and empty

beaufortfrancois has just submitted a new pull request for https://github.com/WebBluetoothCG/web-bluetooth:

== Throw TypeError if dataPrefix is present and empty ==
As discussed with @reillyeon at https://chromium-review.googlesource.com/c/chromium/src/+/2830933/comment/29d40301_fc8f11ca, we may want to throw a TypeError when `dataPrefix` is present and empty to warn developers that the code they've written probably isn't doing what they think it is.



See https://github.com/WebBluetoothCG/web-bluetooth/pull/548


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 7 May 2021 06:38:47 UTC