New issue
Advanced search Search tips

Issue 811125 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Document limitations in chrome://bluetooth-internals

Project Member Reported by mar...@mwiacek.com, Feb 11 2018

Issue description

Device name:s7

From "Settings > About Chrome"
Application version:66.0.3344.0 canary
Operating system: 7

URLs (if applicable):chrome://bluetooth-internals

Steps to reproduce:
(1)open url
(2)go into hamburger, devices and click start scan

Expected result:

correct values

Actual result:

error "failed to start discovery" + incorrect device address

I don't know if this functionality is completed; if yes, then it's bug. Giving default P2 priority.
 
Screenshot_20180211-140723.png
139 KB View Download
Screenshot_20180211-140915.png
97.3 KB View Download
Labels: Needs-triage-Mobile
Cc: pnangunoori@chromium.org
Components: Blink>Bluetooth
Labels: Triaged-Mobile
Status: Untriaged (was: Unconfirmed)
Tested the issue in Android and able to reproduce the issue. Similar behavior is observed since Chrome #60.0.3072.0

Enabled Bluetooth on device under test.

Steps Followed:
1. Launched the Chrome Browser.
2. Navigate to: chrome://bluetooth-internals.
3. From the Hamburger menu, tap on "Devices".
4. Tap on "Start Scan" button.
5. Observed that "Failed to start discovery session" message is displayed

Chrome versions tested:
60.0.3072.0, 64.0.3282.140(Stable), 66.0.3344.0(Canary)

OS:
Android 8.0.1

Android Devices:
Pixel XL

This seems to be a Non-Regression issue as same behavior is seen since M60.  Untriaged for further input's on this issue.

Please navigate to below link for log's and video--
go/chrome-androidlogs/811125

Thanks!
Labels: FoundIn-66 Target-66 FoundIn-64 FoundIn-65

Comment 4 by ortuno@chromium.org, Feb 12 2018

From screenshot #1, it seems like the adapter is off. Turning Bluetooth on should fix the scanning problem. We should probably show a dialog to turn Bluetooth on but that seems more like a feature request than a bug.

Comment 5 by mar...@mwiacek.com, Feb 12 2018

Dear ortuno@, of course, that scanning was tried with BT on... And of course, that BT address was checked with BT on too.

Comment 6 by mar...@mwiacek.com, Feb 12 2018

it's also written in #2: "Enabled Bluetooth on device under test."

Please investigate the clue of the problem if possible.

Comment 7 by ortuno@chromium.org, Feb 13 2018

Interesting. So you are saying that in the screenshot in #1 Bluetooth was on? I don't see the Bluetooth icon in the first screenshot.

Does Chrome have the location permission? You can check it by going to https://permission.site/ and tapping location. I revoked the location permission on my device and get the same error.

Comment 8 by mar...@mwiacek.com, Feb 13 2018

> Interesting. So you are saying that in the screenshot in #1 
> Bluetooth was on? I don't see the Bluetooth icon in the first screenshot.

Screenshot_20180211-140915.png - you have BT on and there is icon

Screenshot_20180211-140723.png - screenshot was made with BT off, but bug was visible with BT on too (I mean - no correct address)

> Does Chrome have the location permission? 
> You can check it by going to https://permission.site/ 
> and tapping location. I revoked the location permission 
> on my device and get the same error.

I've enabled location permission for app in Android System settings menu and inside Chrome settings and scan doesn't return error, but BT device address is still incorrect.

This is one problem.

And second problem is that Chrome should probably ask correctly for permission for chrome://bluetooth-internals 

Current situation is just non-clear / non-logical

(and this is my end-user opinion -> like mentioned in #0 I don't know if everything is expected to be working)

Comment 10 by mar...@mwiacek.com, Feb 13 2018

Thx, can be this info added to page? or can be address hidden when we have Android >= 6 ?

it's obviously not critical thing, but...
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Summary: Document limitations in chrome://bluetooth-internals (was: Strange info in chrome://bluetooth-internals)
1. Detect when Chrome still needs Bluetooth and location permission and inform the user.
2. Detect Android >= 6 and mark MAC address as obfuscated or hide it.

Sign in to add a comment