WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(7.21 KB, patch)
2021-07-09 15:31 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2021-07-09 15:30:14 PDT
Created
attachment 433243
[details]
Patch
Chris Dumez
Comment 2
2021-07-09 15:31:04 PDT
Created
attachment 433244
[details]
Patch
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
<
rdar://problem/80438470
>
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