RESOLVED FIXED 227844
XMLSerializer.serializeToString() doesn't properly escape \n, \r and \t
https://bugs.webkit.org/show_bug.cgi?id=227844
Summary XMLSerializer.serializeToString() doesn't properly escape \n, \r and \t
Chris Dumez
Reported 2021-07-09 15:27:50 PDT
XMLSerializer.serializeToString() doesn't properly escape \n, \n and \t. This is causing the "check XMLSerializer.serializeToString escapes attribute values for roundtripping" subtest to fail in WebKit on: http://wpt.live/domparsing/XMLSerializer-serializeToString.html Chrome and Firefox both escape these and pass this WPT subtest.
Attachments
Patch (7.21 KB, patch)
2021-07-09 15:30 PDT, Chris Dumez
no flags
Patch (7.21 KB, patch)
2021-07-09 15:31 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-07-09 15:30:14 PDT
Chris Dumez
Comment 2 2021-07-09 15:31:04 PDT
EWS
Comment 3 2021-07-11 11:21:00 PDT
Committed r279815 (239576@main): <https://commits.webkit.org/239576@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433244 [details].
Radar WebKit Bug Importer
Comment 4 2021-07-11 11:22:17 PDT
Note You need to log in before you can comment on or make changes to this bug.