Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite domain blocking heuristics for WebGL and WebGPU.
The new heuristics allow one context restoration per domain which had a live WebGL context or WebGPU device when contexts / devices were lost and/or the GPU process crashed. URLs are blocked together, in a group, if the GPU process crashes. The presence of multiple groups of URLs determines if all domains should be blocked from accessing 3D APIs. Domain blocking expires after a time period. Unit tests are rewritten and expanded. Update WebGL's and WebGPU's context_lost tests for the new heuristics. Update Pixel_WebGLSadCanvas and fix preexisting browser bugs affecting it. Add Pixel_WebGLContextRestored. Mark both of these tests failing until new images are triaged. Bug: 1167246 Change-Id: Ib656284a3673e168b4f340d6c0bc4317ab881300 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3811145 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Kenneth Russell <kbr@chromium.org> Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1033825}
- Loading branch information
1 parent
9b4306d
commit 601ac28
Showing
22 changed files
with
737 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.