Bug 197829

Summary: Web Inspector: Formatter: pretty-print CSS using a Worker
Product: WebKit Reporter: Devin Rousso <drousso>
Component: Web InspectorAssignee: Devin Rousso <drousso>
Severity: Normal CC: commit-queue, drousso, ews-watchlist, inspector-bugzilla-changes, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 198806, 198807    
Description Flags
Archive of layout-test-results from ews213 for win-future
Patch none

Description Devin Rousso 2019-05-12 22:46:44 PDT
For extremely large CSS files, it can take a very long time for us to pretty-print it using CodeMirror.  Rather than pretty-print using the main thread (e.g. CodeMirror), we should do the same as JavaScript and pretty-print off the main thread (e.g. a Worker).
Comment 1 Devin Rousso 2019-05-12 22:49:59 PDT
Comment 2 Devin Rousso 2019-05-12 22:53:03 PDT
Created attachment 369695 [details]

This is probably missing some edge cases, and should have some tests, but it's a start :)
Comment 3 EWS Watchlist 2019-05-12 22:55:14 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2019-05-13 08:57:53 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2019-05-13 08:57:55 PDT Comment hidden (obsolete)
Comment 6 Devin Rousso 2019-05-15 03:56:58 PDT
Created attachment 369944 [details]
Comment 7 EWS Watchlist 2019-05-15 03:58:53 PDT Comment hidden (obsolete)
Comment 8 WebKit Commit Bot 2019-06-06 16:35:18 PDT
Comment on attachment 369944 [details]

Clearing flags on attachment: 369944

Committed r246178: <https://trac.webkit.org/changeset/246178>
Comment 9 WebKit Commit Bot 2019-06-06 16:35:19 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Joseph Pecoraro 2019-06-06 16:43:43 PDT
Comment on attachment 369944 [details]