[Webkit-unassigned] [Bug 173048] New: U+0000 NULL is not preserved in input.value IDL attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 7 01:37:54 PDT 2017


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

            Bug ID: 173048
           Summary: U+0000 NULL is not preserved in input.value IDL
                    attribute
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zcorpan at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

See web-platform-tests PR https://github.com/w3c/web-platform-tests/pull/6149

Some tests fail as follows in WebKit

Fail    value IDL attribute of input type text without value attribute  assert_equals: expected "foo\0" but got "foo"

That test is:

// MODE VALUE
test(function () {
  var input = document.createElement("input");
  input.type = "text";
  input.value = "foo\r\r\n\n\0";
  assert_equals(input.value, "foo\0");
}, "value IDL attribute of input type text without value attribute");

All tests pass in Chromium and Gecko.

-- 
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/20170607/e29f0f5d/attachment.html>


More information about the webkit-unassigned mailing list