Bug 192519 - All the SVG properties parsing function should show an error message if the parsing fails
Summary: All the SVG properties parsing function should show an error message if the p...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 197831 198122
Blocks: 198073
  Show dependency treegraph
 
Reported: 2018-12-07 15:11 PST by Said Abou-Hallawa
Modified: 2019-05-22 09:05 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2018-12-07 15:11:52 PST
See https://bugs.webkit.org/show_bug.cgi?id=192507. Although the bug of leading whitespaces should be fixed, an error message should have been exposed to tell about the failure in the parsing.

This bug is about reviewing all the places in the SVG properties parsing code where an error could happen and not having a corresponding error message revealed in the console window of the WebInspector. 

This also shows that we do not have enough layout tests which should cover the parsing errors in the SVG properties.

It can be frustrating for the web developer to not see the SVG element rendered and no hint what went wrong especially if other web browsers can render the same markup as he expects.