Bug 256683 - Web Inspector: Group source maps error under a unique details/summary
Summary: Web Inspector: Group source maps error under a unique details/summary
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Jon Davis
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-11 18:51 PDT by Karl Dubost
Modified: 2023-11-27 11:05 PST (History)
3 users (show)

See Also:


Attachments
console log with source maps errors (945.38 KB, image/png)
2023-05-11 18:51 PDT, Karl Dubost
no flags Details
Source Map load errors before the patch (1.63 MB, image/png)
2023-10-05 16:44 PDT, Jon Davis
no flags Details
Grouped Source Map loading errors enabled, in collapsed state (444.35 KB, image/png)
2023-10-05 16:45 PDT, Jon Davis
no flags Details
Grouped Source Map loading errors enabled, expanded (1.56 MB, image/png)
2023-10-05 16:46 PDT, Jon Davis
no flags Details
Updated Grouped Soruce Map loading errors based on ConsoleGroup, error icon added (359.52 KB, image/png)
2023-10-06 16:32 PDT, Jon Davis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-05-11 18:51:57 PDT
Created attachment 466329 [details]
console log with source maps errors

Many sites include source maps, but with an error, either the URL doesn't exist seen from outside, or the auth is not working, etc.
This results in a long list of errors or warnings in the console. 

Suggestions:
Groups them together under a summary/detail elements. 

<details>
    <summary>Source Maps Error</summary>
    Here the list of source maps errors. 
</details>


see the screenshot.
Comment 1 Radar WebKit Bug Importer 2023-05-11 18:52:12 PDT
<rdar://problem/109239646>
Comment 2 Jon Davis 2023-10-05 16:44:24 PDT
Created attachment 468081 [details]
Source Map load errors before the patch
Comment 3 Jon Davis 2023-10-05 16:45:21 PDT
Created attachment 468082 [details]
Grouped Source Map loading errors enabled, in collapsed state
Comment 4 Jon Davis 2023-10-05 16:46:10 PDT
Created attachment 468083 [details]
Grouped Source Map loading errors enabled, expanded
Comment 5 Jon Davis 2023-10-05 17:11:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18733
Comment 6 Jon Davis 2023-10-06 16:32:55 PDT
Created attachment 468102 [details]
Updated Grouped Soruce Map loading errors based on ConsoleGroup, error icon added
Comment 7 EWS 2023-11-16 10:21:49 PST
Committed 270834@main (869419c2de21): <https://commits.webkit.org/270834@main>

Reviewed commits have been landed. Closing PR #18733 and removing active labels.