RESOLVED DUPLICATE of bug 188946 189750
Web Inspector: logged messages ending with "<file>:<line>:<column>" are not displayed
https://bugs.webkit.org/show_bug.cgi?id=189750
Summary Web Inspector: logged messages ending with "<file>:<line>:<column>" are not d...
Nick Fitzgerald
Reported 2018-09-19 09:31:27 PDT
Created attachment 350123 [details] Screenshot: Safari devtools show a blank message (first logged message; ignore the following unreachable exception) # Steps to reproduce: * Open the console * Enter: `console.log("abc:1:2")` # Expected Results: There is a "abc:1:2" message that gets logged and displayed. # Actual Results: There is a message that gets logged, but it does not contain "abc:1:2". Instead, it is blank. -------------------------------------------------- This also affects `console.error`, and I assume other console logging methods. If I add a space to the end of the log message, then it displays properly, i.e. `console.log("abc:1:2 ")`. Originally filed as https://github.com/rustwasm/console_error_panic_hook/issues/7
Attachments
Screenshot: Safari devtools show a blank message (first logged message; ignore the following unreachable exception) (60.86 KB, image/png)
2018-09-19 09:31 PDT, Nick Fitzgerald
no flags
Screenshot: Firefox devtools correctly show the logged message. This is what I would expect from the safari devtools as well. (26.64 KB, image/png)
2018-09-19 09:32 PDT, Nick Fitzgerald
no flags
Nick Fitzgerald
Comment 1 2018-09-19 09:32:21 PDT
Created attachment 350124 [details] Screenshot: Firefox devtools correctly show the logged message. This is what I would expect from the safari devtools as well.
Blaze Burg
Comment 2 2018-09-19 09:34:16 PDT
Thanks for the report Nick. What version of Safari did you test?
Radar WebKit Bug Importer
Comment 3 2018-09-19 09:34:32 PDT
Nick Fitzgerald
Comment 4 2018-09-19 09:52:58 PDT
I'm actually acting as a proxy on this one, since I happen to be on Linux at the moment, but I am told Safari 12 repros the bug. I don't know what version the original reporter was on, I'll ask in the original github issue we got.
Nick Fitzgerald
Comment 5 2018-09-19 10:51:30 PDT
The original bug reporter is on Safari Version 11.1.2 (13605.3.8)
Joseph Pecoraro
Comment 6 2018-09-19 12:27:57 PDT
This would have been fixed super recently by Devin's change. It looks the case where `isLikelyStackTrace` was considering this a stack trace too eagerly.
Joseph Pecoraro
Comment 7 2018-09-19 12:33:22 PDT
*** This bug has been marked as a duplicate of bug 188946 ***
Note You need to log in before you can comment on or make changes to this bug.