WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
173048
U+0000 NULL is not preserved in input.value IDL attribute
https://bugs.webkit.org/show_bug.cgi?id=173048
Summary
U+0000 NULL is not preserved in input.value IDL attribute
Simon Pieters (:zcorpan)
Reported
2017-06-07 01:37:54 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-02 13:01:24 PDT
All tests now pass in Safari -
https://wpt.fyi/results/html/semantics/forms/the-input-element/valueMode.html?label=master&label=experimental&aligned&view=subtest&q=valuemode.html
Is something else needed or we can mark this as "RESOLVED CONFIGURATION CHANGED"? Thanks!
Ryosuke Niwa
Comment 2
2022-08-02 13:31:37 PDT
I *think* Darin also fixed this a while ago.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug