Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CanvasRenderingContext2DSettings: follow the spec types
The type for willReadFrequently is boolean, not an enum with values of "true", "false", and "undefined". Add WPT tests for this. And for the rest of the attributes. The WPT tests failed for the desynchronized property because, when it was discovered that this feature was never implemented on macOS, it was disabled at compile time, when parsing the input from V8, losing the information required to correctly implement getContextAttributes. Add a temporary workaround for this situation by separately storing the specified desynchronized value. Bug: 388290815 Change-Id: I00e6b6c82a23cdb627a3eba1314ebf3b0f9abf9f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6157723 Reviewed-by: Yi Xu <yiyix@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Reviewed-by: Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1404356}
- Loading branch information