Bug 198652

Summary: [SVG2]: Remove SVGTests.hasExtension
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: rniwa, sabouhallawa, zimmermann
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1133175
https://bugs.chromium.org/p/chromium/issues/detail?id=532405
Bug Depends on:    
Bug Blocks: 191292    

Description Frédéric Wang (:fredw) 2019-06-07 01:52:24 PDT
Just opening this for the record...

4 years ago, the SVG WG resolved to remove SVGTests.hasExtension due to lack of use and being a poor API.
It was removed from Chromium at that time and has been removed from Firefox recently
Comment 1 Frédéric Wang (:fredw) 2019-06-07 01:58:12 PDT
Sent to webkit-dev too: https://lists.webkit.org/pipermail/webkit-dev/2019-June/030659.html
Comment 2 Ryosuke Niwa 2019-06-18 14:38:00 PDT
As I mentioned in webkit-dev, the key question here is whether there is any web content that relies on this feature either intentionally or accidentally; e.g. iOS specific web content.
Comment 3 Said Abou-Hallawa 2019-07-01 09:20:21 PDT
SVG 2 (W3C Recommendation): https://www.w3.org/TR/SVG2/types.html#InterfaceSVGTests

SVG 1.1 (W3C Recommendation): https://www.w3.org/TR/SVG11/types.html#InterfaceSVGTests
Comment 4 Frédéric Wang (:fredw) 2019-10-15 03:19:20 PDT
@Ryosuke: It looks like LayoutTests/web-platform-tests/mathml/relations/html5-tree/mathml/relations/html5-tree/required-extensions-1.html (test for SVGTests.hasExtension and MathML namespace) was removed in bug 200470. Should we import it back into LayoutTests/mathml?