Web Bluetooth DOMException on OSX displays as truncated info message |
|
Issue descriptionChrome 52.0.2713.0 OSX 10.11.4 What steps will reproduce the problem? (1) Visit https://permission.site (2) Open the console. (3) Click on "Bluetooth" (4) Click on the info message. (5) Scroll to the right of the message string. What is the expected output? francois.png (see [1]), with a wrapped message and a clickable link. What do you see instead? At step 3) lgarron-console-open-already.png At step 4) off-screen.png At step 5) off-screen-scrolled.png If I swap steps 2 and 3, then I get lgarron-console-opened-later.png at step 3, where the string for the info message is not even visible. Jeff, is this a known issue or a regression in just my build? [1] https://github.com/GoogleChrome/permission.site/pull/12#issuecomment-212394516
,
Apr 21 2016
Oh, I see. There doesn't seem to be a nice way around it for what I'm trying to do (a single console call with a bunch of parts). Thanks for the explanation.
,
Apr 21 2016
For the record, jyasskin@ helped me figure out why I couldn't work around the problem, which is that `arguments` is not actually an array: https://github.com/GoogleChrome/permission.site/commit/f72ff0f169411b1a5b87ec0596c46af527c09bcb |
|
►
Sign in to add a comment |
|
Comment 1 by jyasskin@chromium.org
, Apr 20 2016This is the difference between `console.info(new DOMException("Very long message Very long message Very long message Very long message Very long message Very long message Very long message Very long message", "NotFoundError"))` and `console.info([new DOMException("Very long message Very long message Very long message Very long message Very long message Very long message Very long message Very long message", "NotFoundError")])`. By passing "arguments" in displayOutcome(), you get the array version, which doesn't show the whole message by default. You can click the arrow to see the rest.