WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
203864
Web Inspector: Console cleared late after page load
https://bugs.webkit.org/show_bug.cgi?id=203864
Summary
Web Inspector: Console cleared late after page load
Jeff Johnson
Reported
2019-11-05 14:10:08 PST
Created
attachment 382846
[details]
Reproducible test case When "Preserve Log" is disabled in the Console, the Console is cleared late after a page is loaded. This can cause log messages to be lost. This problem does not occur when "Preserve Log" is enabled. I discovered this bug because my Safari app extension was logging the window.href on load, but I wasn't always seeing the log message as I was navigating the web and clicking on links. I was able to find an easily reproducible test case, attached as "test.html", which simply logs to the console at various times during page load. You can see in the attached screenshots how the log messages get lost when the page is reloaded and "Preserve Log" is disabled. The expected behavior is that the log is cleared before the page starts loading, so that all log messages on the page would be displayed.
Attachments
Reproducible test case
(261 bytes, text/html)
2019-11-05 14:10 PST
,
Jeff Johnson
no flags
Details
Screenshot 1
(97.36 KB, image/jpeg)
2019-11-05 14:10 PST
,
Jeff Johnson
no flags
Details
Screenshot 2
(86.24 KB, image/jpeg)
2019-11-05 14:11 PST
,
Jeff Johnson
no flags
Details
Screenshot 3
(142.00 KB, image/jpeg)
2019-11-05 14:11 PST
,
Jeff Johnson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jeff Johnson
Comment 1
2019-11-05 14:10:52 PST
Created
attachment 382847
[details]
Screenshot 1
Jeff Johnson
Comment 2
2019-11-05 14:11:15 PST
Created
attachment 382848
[details]
Screenshot 2
Jeff Johnson
Comment 3
2019-11-05 14:11:42 PST
Created
attachment 382849
[details]
Screenshot 3
Jeff Johnson
Comment 4
2019-11-05 14:16:39 PST
I'm reproducing this bug on macOS 10.14.6 (18G1012) using Safari Version 13.0.3 (14608.3.10.10.1) and Safari Technology Preview Release 95 (Safari 13.1, WebKit 14609.1.7) (By the way, the bug also occurs with all Safari extensions disabled.)
Radar WebKit Bug Importer
Comment 5
2019-11-06 11:30:19 PST
<
rdar://problem/56951808
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug