[Webkit-unassigned] [Bug 273587] New: Warning when invalid namespace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 15:52:06 PDT 2024


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

            Bug ID: 273587
           Summary: Warning when invalid namespace
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lwarlow at igalia.com
                CC: inspector-bugzilla-changes at group.apple.com

If an API such as createElementNS is called with an invalid namespace, it would be good to warn about this in web inspector. Namespace URIs while open-ended by design are generally intended to be 1 of 3 (for elements) namespaces see https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS#important_namespace_uris

For an example of where this could be useful for developers, if the browser logged a warning, then Angular might never have had a broken MathML intergration (see https://github.com/angular/angular/pull/55622).

I'm unaware how frequent this warning would fire for "legitimate" scenarios, but it seems at least for w3.org or w3c.org (an easy mistake to make) namespaces it would be useful.

-- 
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/20240501/2e94d724/attachment-0001.htm>


More information about the webkit-unassigned mailing list