Bug 213452

Summary: [Win] fast/dom/Window/alert-with-unmatched-utf16-surrogate-should-not-crash.html is failing
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Tools / TestsAssignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, don.olmstead, pvollan, ross.kirsling, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Fujii Hironori
Reported 2020-06-21 21:29:58 PDT
[Win][WTR] fast/dom/Window/alert-with-unmatched-utf16-surrogate-should-not-crash.html is failing Since it was added in Bug 213269.
Attachments
Patch (3.90 KB, patch)
2020-06-21 21:39 PDT, Fujii Hironori
no flags
Patch (3.86 KB, patch)
2020-06-21 21:40 PDT, Fujii Hironori
no flags
Patch (5.82 KB, patch)
2020-06-21 22:04 PDT, Fujii Hironori
no flags
Patch (5.89 KB, patch)
2020-06-22 12:40 PDT, Fujii Hironori
no flags
Note You need to log in before you can comment on or make changes to this bug.
Fujii Hironori
Comment 1 2020-06-21 21:39:13 PDT
Fujii Hironori
Comment 2 2020-06-21 21:40:13 PDT
Fujii Hironori
Comment 3 2020-06-21 22:04:02 PDT
Darin Adler
Comment 4 2020-06-22 08:07:37 PDT
Comment on attachment 402445 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402445&action=review > Tools/DumpRenderTree/win/UIDelegate.cpp:458 > + // Return "(null)" for an invalid UTF-16 sequence Why not “invalid”? Not sure why we call an invalid sequence null.
Fujii Hironori
Comment 5 2020-06-22 12:27:48 PDT
Comment on attachment 402445 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402445&action=review >> Tools/DumpRenderTree/win/UIDelegate.cpp:458 >> + // Return "(null)" for an invalid UTF-16 sequence > > Why not “invalid”? Not sure why we call an invalid sequence null. WinCairo is supporting both WK1 and WK2. DRT should behave same with WTR. See Bug 213269 for WTR.
Darin Adler
Comment 6 2020-06-22 12:35:49 PDT
Then the comment should say why. Generally speaking, comments purpose is to answer the question "why". The code itself answers the question "what".
Fujii Hironori
Comment 7 2020-06-22 12:40:22 PDT
Fujii Hironori
Comment 8 2020-06-22 12:43:09 PDT
(In reply to Darin Adler from comment #6) > Then the comment should say why. Generally speaking, comments purpose is to > answer the question "why". The code itself answers the question "what". Agreed. Fixed. Thank you.
Yusuke Suzuki
Comment 9 2020-06-22 17:36:13 PDT
Comment on attachment 402495 [details] Patch Nice!
Fujii Hironori
Comment 10 2020-06-22 18:23:39 PDT
Comment on attachment 402495 [details] Patch Clearing flags on attachment: 402495 Committed r263379: <https://trac.webkit.org/changeset/263379>
Fujii Hironori
Comment 11 2020-06-22 18:23:43 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 12 2020-06-22 18:24:21 PDT