[Webkit-unassigned] [Bug 205770] New: new FontFace() should not throw when failing to parse arguments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 4 16:21:39 PST 2020


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

            Bug ID: 205770
           Summary: new FontFace() should not throw when failing to parse
                    arguments
           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: sam at webkit.org

According to the spec, https://drafts.csswg.org/css-font-loading/#dom-fontface-fontface, the FontFace constructor should not throw when it encounters a parse error from its arguments, but rather, should set the "status" to "error" and reject [[FontStatusPromise]] with a DOMException named "SyntaxError".

-- 
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/20200105/71a28733/attachment.htm>


More information about the webkit-unassigned mailing list