Web Bluetooth iframe test |
||
Issue descriptionIt seems that we have tests for USB that creates a promise and resolve in a detached context, but we don't have this kind of test for WebBluetooth. See: https://cs.chromium.org/chromium/src/third_party/blink/web_tests/usb/usb-iframe.html
,
Jan 9
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/817e32c2d64406eeafe5f21c80b7ac1a427715f8 commit 817e32c2d64406eeafe5f21c80b7ac1a427715f8 Author: Doug Turner <dougt@chromium.org> Date: Tue Jan 08 23:59:16 2019 WebBluetooth - Add tests for detached iframe context. This CL adds two tests, one for requestDevice() and one for requestLEScan(), which attempts to access bluetooth functionality on an iframe which has been closed and gc'ed. Bug: 916658 Change-Id: I7e49d1d33cb41c2e8a50da8d57483aaddbfa3960 Reviewed-on: https://chromium-review.googlesource.com/c/1396977 Commit-Queue: Doug Turner <dougt@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#620948} [add] https://crrev.com/817e32c2d64406eeafe5f21c80b7ac1a427715f8/third_party/blink/web_tests/bluetooth/requestDevice/device-iframe.https.html [add] https://crrev.com/817e32c2d64406eeafe5f21c80b7ac1a427715f8/third_party/blink/web_tests/bluetooth/requestLEScan/scan-iframe.https.html
,
Jan 11
|
||
►
Sign in to add a comment |
||
Comment 1 by dougt@chromium.org
, Jan 4