[Webkit-unassigned] [Bug 216370] New: CSS parsing-related singletons should only be used on the main thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 10 09:15:14 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216370

            Bug ID: 216370
           Summary: CSS parsing-related singletons should only be used on
                    the main thread
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clord at igalia.com
            Blocks: 204575

Currently, there are various NeverDestroyed singletons involved in CSS parsing that are not intended to ever be used off of the main thread. A sub-set of CSS parsing is required for full OffscreenCanvas support (colour and font strings), so it'd be good for these singletons to be correctly declared as MainThreadNeverDestroyed so that if they are accidentally ever used off of the main thread, we would start to get test failures in debug mode.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=204575
[Bug 204575] Make CSSPropertyParserHelpers::consumeColor safe to use within a worker
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200910/e53baf16/attachment.htm>


More information about the webkit-unassigned mailing list