Issue 1227710 in chromium: external/wpt/bluetooth/requestDevice/cross-origin-iframe.sub.https.html: wrong error message?

64 views
Skip to first unread message

rogerta via monorail

unread,
Jul 9, 2021, 10:47:40 AM7/9/21
to web-bl...@chromium.org
Status: Assigned
Owner: do...@chromium.org
CC: web-bl...@chromium.org
Components: Blink>Bluetooth
Pri: 3
Type: Bug

New issue 1227710 by rog...@chromium.org: external/wpt/bluetooth/requestDevice/cross-origin-iframe.sub.https.html: wrong error message?
https://bugs.chromium.org/p/chromium/issues/detail?id=1227710

Seems like the test code is expecting the string:

"SecurityError: requestDevice() called from cross-origin iframe."

but instead got the string:

"SecurityError: Failed to execute 'requestDevice' on 'Bluetooth': Must be handling a user gesture to show a permission request."

Should the test be updated to use the new string?

Test failed on:
https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/97536/overview

Log output:
https://chromium-swarm.appspot.com/task?id=54a3b1a0e7184c10

04:06:53.710 2075 worker/3 external/wpt/bluetooth/requestDevice/cross-origin-iframe.sub.https.html output stderr lines:
04:06:53.710 2075 CONSOLE MESSAGE: line 26: Web Bluetooth is experimental on this platform. See https://github.com/WebBluetoothCG/web-bluetooth/blob/main/implementation-status.md
04:06:53.710 2075 CONSOLE ERROR: line 1196: Uncaught Error: assert_equals: expected "SecurityError: requestDevice() called from cross-origin iframe." but got "SecurityError: Failed to execute 'requestDevice' on 'Bluetooth': Must be handling a user gesture to show a permission request."
04:06:53.751 1919 http://localhost:35785 "POST /prpc/luci.resultsink.v1.Sink/ReportTestResults HTTP/1.1" 200 8
04:06:53.752 1919 [2544/4970] external/wpt/bluetooth/requestDevice/cross-origin-iframe.sub.https.html failed unexpectedly (test timed out) 31.0911s
04:06:53.710 2075 worker/3 killing driver
04:06:53.711 2075 worker/3 external/wpt/bluetooth/requestDevice/cross-origin-iframe.sub.https.html failed:
04:06:53.711 2075 worker/3 test timed out

...

04:36:24.235 18049 worker/3 external/wpt/bluetooth/requestDevice/cross-origin-iframe.sub.https.html failed:
04:36:24.235 18049 worker/3 test passed but has standard error output
04:36:24.235 18049 worker/3 exiting

--
You received this message because:
1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment or make updates.

rogerta via monorail

unread,
Jul 9, 2021, 10:50:52 AM7/9/21
to web-bl...@chromium.org
Reply all
Reply to author
Forward
0 new messages