New issue
Advanced search Search tips

Issue 916658 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 11
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Web Bluetooth iframe test

Project Member Reported by dougt@chromium.org, Dec 19

Issue description

It 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
 
Status: Started (was: Available)
Project Member

Comment 2 by bugdroid1@chromium.org, 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

Status: Fixed (was: Started)

Sign in to add a comment