RESOLVED FIXED 270545
Web Inspector: in Console, the Infos and Debugs buttons don't show up by default with relevant messages are present
https://bugs.webkit.org/show_bug.cgi?id=270545
Summary Web Inspector: in Console, the Infos and Debugs buttons don't show up by defa...
Qianlang Chen
Reported 2024-03-05 15:12:20 PST
Created attachment 470188 [details] A simplified test case that reproduces the issue rdar://124099629 In the inspector's Console tab, the Infos and Debugs message filter buttons show up when new non-default log channel messages are added to the Console. However, when the inspector is opened for the first time, if there are already non-default log channel messages left in the Console, the Infos and Debugs button do not show up. To reproduce: 1. Open Safari and go to stripe.com 2. Open inspector's Console tab 3. Observe that there are no "Infos" and "Debugs" message filter buttons 4. Leave the Console tab open and reload the webpage 5. Observe that the "Infos" and "Debug" buttons now show up Here's a video demo: https://github.com/WebKit/WebKit/assets/105809798/e9cbbecc-b2f2-45a1-8147-d4582e444e07 See attached for a simplified test case (test-case.html). You'll need to host the webpage (e.g. with `python3 -m http.server`) to see the effect. NOTE: We are currently coming up with a plan to optimize the UI, particularly about the behavior of the Infos and Debugs buttons. See https://github.com/WebKit/WebKit/pull/24565
Attachments
A simplified test case that reproduces the issue (371 bytes, text/html)
2024-03-05 15:12 PST, Qianlang Chen
no flags
Qianlang Chen
Comment 1 2024-03-11 11:35:13 PDT
https://github.com/WebKit/WebKit/pull/24565 fixed this: the two buttons now have their visibility synched with whether there are info or debug messages respectively.
Radar WebKit Bug Importer
Comment 2 2024-03-11 11:36:14 PDT Comment hidden (obsolete)
Qianlang Chen
Comment 3 2024-03-11 13:03:11 PDT Comment hidden (obsolete)
Qianlang Chen
Comment 4 2024-03-11 13:04:14 PDT Comment hidden (obsolete)
Qianlang Chen
Comment 5 2024-03-19 11:42:02 PDT
This is the correct link to the Radar problem: rdar://124099629
Note You need to log in before you can comment on or make changes to this bug.