[Webkit-unassigned] [Bug 270607] New: Web Inspector: Console cleared unexpectedly on startup if multiple scope bar items are selected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 6 16:00:03 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=270607
Bug ID: 270607
Summary: Web Inspector: Console cleared unexpectedly on startup
if multiple scope bar items are selected
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Minor
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: qianlangchen at apple.com
CC: inspector-bugzilla-changes at group.apple.com
Created attachment 470215
--> https://bugs.webkit.org/attachment.cgi?id=470215&action=review
Video demo reproducing this bug
If you close and reopen the inspector's Console tab, the messages are kept if only one scope bar item (AKA message level filter) is selected. If there are two or more selections, reopening the console auto clears ALL messages (selected or not).
To reproduce:
1. Go to about:blank, open inspector, and go to the Console tab
2. Run the following script:
console.error('my error');
console.warn('my warn');
console.log('my log');
console.info('my info');
console.debug('my debug');
3. Near the top of the inspector, select the scope bar item "Errors" (or any other item, but only one item)
4. Close the inspector and open it again
5. Select scope "All"
6. Observe that the messages you logged in step 2 are still there (let's call this "behavior A")
7. While holding the Command key, select scopes "Errors" and "Warnings" (or any other set of two or more items)
8. Close the inspector and open it again
9. Select scope "All", and observe that the messages are all gone (let's call this "behavior B")
It's unclear whether behavior A or B is correct. Though, both Chrome and Firefox consistently present behavior A.
See attached for a video demo reproducing this bug (`console-cleared-unexpectedly.mov`).
One thing to note is that if the messages are produced while the console is closed, those messages do always show up (with the correct filters applied) for any combination of selected scopes upon last close. So at least that's good.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240307/55048f7c/attachment.htm>
More information about the webkit-unassigned
mailing list