Skip to content

Commit

Permalink
Remove unnecessary call to a function that connects to a fake bluetoo…
Browse files Browse the repository at this point in the history
…th device

Change-Id: If99f57167ad596510d837b208a08bcf02e6c2409
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4160026
Quick-Run: Sina Firoozabadi <[email protected]>
Commit-Queue: Sina Firoozabadi <[email protected]>
Auto-Submit: Sina Firoozabadi <[email protected]>
Reviewed-by: Jack Hsieh <[email protected]>
Commit-Queue: Jack Hsieh <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1092168}
  • Loading branch information
gsinafirooz authored and chromium-wpt-export-bot committed Jan 13, 2023
1 parent 5b46101 commit 4981b40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion bluetooth/getAvailability/sandboxed_iframe.https.window.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
let iframe = document.createElement('iframe');

bluetooth_test(async () => {
await getConnectedHealthThermometerDevice();
await new Promise(resolve => {
iframe.src = '/bluetooth/resources/health-thermometer-iframe.html';
iframe.sandbox.add('allow-scripts');
Expand Down
1 change: 0 additions & 1 deletion bluetooth/getDevices/sandboxed_iframe.https.window.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
let iframe = document.createElement('iframe');

bluetooth_test(async () => {
await getConnectedHealthThermometerDevice();
await new Promise(resolve => {
iframe.src = '/bluetooth/resources/health-thermometer-iframe.html';
iframe.sandbox.add('allow-scripts');
Expand Down

0 comments on commit 4981b40

Please sign in to comment.