Bug 185758

Summary: Web Inspector: Canvas: put `hasVisualEffect` behind an experimental setting
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, inspector-bugzilla-changes, mattbaker, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 173807, 185635    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews200 for win-future none

Devin Rousso
Reported 2018-05-17 21:27:12 PDT
There is no "easy" way to quickly determine if a particular visual action caused some pixels to change on the canvas, so we have to resort to checking every single pixel. On larger canvases, this can take a long time, and the problem is compounded if there are a large number of visual actions in the recording. We should put this behind a setting so that if the user doesn't particularly need/care about `hasVisualEffect` they don't need to suffer the performance hit.
Attachments
Patch (6.32 KB, patch)
2018-05-17 21:28 PDT, Devin Rousso
no flags
Archive of layout-test-results from ews200 for win-future (12.79 MB, application/zip)
2018-05-18 11:53 PDT, EWS Watchlist
no flags
Devin Rousso
Comment 1 2018-05-17 21:28:48 PDT
EWS Watchlist
Comment 2 2018-05-18 11:53:32 PDT
Comment on attachment 340677 [details] Patch Attachment 340677 [details] did not pass win-ews (win): Output: http://webkit-queues.webkit.org/results/7723773 New failing tests: http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-audio.html
EWS Watchlist
Comment 3 2018-05-18 11:53:42 PDT
Created attachment 340721 [details] Archive of layout-test-results from ews200 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews200 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Matt Baker
Comment 4 2018-05-18 13:38:30 PDT
Comment on attachment 340677 [details] Patch r=me
Matt Baker
Comment 5 2018-05-18 13:55:42 PDT
WebKit Commit Bot
Comment 6 2018-05-18 14:05:14 PDT
Comment on attachment 340677 [details] Patch Clearing flags on attachment: 340677 Committed r231981: <https://trac.webkit.org/changeset/231981>
WebKit Commit Bot
Comment 7 2018-05-18 14:05:15 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.