[Webkit-unassigned] [Bug 258870] New: Form-Associated Custom Elements: ElementInternals.setFormValue(null) fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 5 01:42:35 PDT 2023


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

            Bug ID: 258870
           Summary: Form-Associated Custom Elements:
                    ElementInternals.setFormValue(null) fails
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fayti1703 at protonmail.com

Created attachment 466930

  --> https://bugs.webkit.org/attachment.cgi?id=466930&action=review

Testcase

Trying to remove a form-associated custom element's value via `.internals.setFormValue(null)` fails silently -- the old value appears during form submission and `FormData` construction on the parent form.

I've attached a test-case to demonstrate the issue. (Firefox 114 and Chrome 114 pass)

-- 
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/20230705/61c81195/attachment.htm>


More information about the webkit-unassigned mailing list