Editing commands should consider the case that placeholder <br> has invisible style |
|||||
Issue descriptionDetailed report: https://cluster-fuzz.appspot.com/testcase?key=6610635090821120 Fuzzer: inferno_layout_test_unmodified Job Type: linux_debug_content_shell_drt Platform Id: linux Crash Type: CHECK failure Crash Address: Crash State: isStartOfParagraph(startOfParagraphToMove). null/TextAffinity::Downstream in Com blink::CompositeEditCommand::moveParagraph blink::InsertListCommand::moveParagraphOverPositionIntoEmptyListItem Sanitizer: address (ASAN) Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_content_shell_drt&range=369978:369981 Minimized Testcase (0.29 Kb): Download: https://cluster-fuzz.appspot.com/download/AMIfv95z7helycJdBP67y0iGnXpURFCbCKinV8vc4Dox1wogZTwgOof4STxrJGGUSy3eRe6A3ueDYyPCILqBH-5lsZgjQ55CMjJy-uW2EKt_IvfjF9_EUXCjlh0Ti7tplF7e3Cdh_vYBorHTaV5pETA7YbOYCV03gAiG48i4JQEuCMJMvVjZh39wFBQYN917eGb_UauB0WBlswXGbmBZ8SLTYdDfSx8goQYG4WvT8SuAqC7OPb3_jJKflePMHopcMIDhSrqffHi8ZvZdNpQVaSGy_n3FbK6TMoaOUNCgYbp6IzeFecVSAPvobqEpZf2rAJ3TYJzGddIAEZweo1NL3rnEyvag-6wlqrTc1prWBQvV-e2CEMNtqLo?testcase_id=6610635090821120 <style> br { visibility:hidden; </style> <script> var af = [], i = 0; function main(){af[i++ % af.length]()} af.push(function (){ document.execCommand("SelectAll"); document.designMode="on"; }) af.push(function (){ document.execCommand("InsertOrderedList"); }) setInterval(main); </script> Issue filed automatically. See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
,
Jan 27 2017
Lowering to P2 due to low usage of 'insertOrderedList'
When 'insertOrderedList' started, the document is just an empty body. Then InsertListCommand created the following structure:
<ol>
<li>
<br>
</li>
</ol>
However, due to the visibility:hidden style applied to <br>, it is unable to create a non-null VisiblePosition, which results in the DCHECK hit...
,
May 10 2017
,
May 22 2017
Bulk set to Pri-3 for cluster fuzz bugs. Since these issues are happens with unusual HTML.
,
Aug 2 2017
ClusterFuzz testcase 6610635090821120 is flaky and no longer reproduces, so closing issue. If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by mummare...@chromium.org
, Jan 27 2017Labels: Test-Predator-Wrong M-56
Owner: xiaoche...@chromium.org
Status: Assigned (was: Untriaged)