InsertOrderedList crashes with display:inline-block |
|||||
Issue descriptionDetailed report: https://cluster-fuzz.appspot.com/testcase?key=4749281474379776 Fuzzer: mbarbella_js_mutation_layout Job Type: linux_debug_content_shell_drt Platform Id: linux Crash Type: ASSERT Crash Address: Crash State: ASSERTION FAILED: endOfSelection.isNotNull() blink::InsertListCommand::doApply blink::CompositeEditCommand::apply Minimized Testcase (0.37 Kb): Download: https://cluster-fuzz.appspot.com/download/AMIfv97jNKjEXkIzw1TuyOAoCHBdCJVjeUnKa9d9gZuRBptOV9fLlZPLHMqwBP6I5grxZQsOol08u9PGZUjvZPGFwCi3l56IPHCUSLc2c2OL3uAwF229aP2jR7burPyZ36MhUkTd6Ju2MpuKsIIckgQzDr57pyNh_g <p> This line should be green. </p> <script> function __f_0() { document.execCommand("SelectAll"); document.execCommand("InsertOrderedList"); } </script> <body contenteditable="true"</html><style> div { display: inline-block; border: 2px solid black; </style> <div> </div> ; <script> runTest = __f_0; runTest(); </script> Filer: ashejole See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
,
Mar 22 2016
,
Mar 23 2016
Lower to Pri-2, since real world usage of InsertOrderedList is low.
It seems we can get rid of this assertion, since next line handles this case.
ASSERT(endOfSelection.isNotNull());
if (endOfSelection.isNull() || !rootEditableElementOf(endOfSelection))
return;
DOM tree at assertion:
m_endingSelection.showTreeForThis()
BODY 000002F7D1B23250 (editable) (focused)
P 000002F7D1B23E90 (editable)
OL 000002F7D1B23E18 (editable)
LI 000002F7D1B23850 (editable)
SE #text 000002F7D1B23A48 "This line should be green."
DIV 000002F7D1B23C90 (editable)
P 000002F7D1B232B8 (editable)
OL 000002F7D1B237D8 (editable)
LI 000002F7D1B23B00 (editable)
#text 000002F7D1B23D60 "\n;"
#text 000002F7D1B23370 "\n "
SCRIPT 000002F7D1B233C0 (editable)
#text 000002F7D1B23438 "\nfunction __f_0() {\n document.execCommand("SelectAll");\n document.execCommand("InsertOrderedList");\n}\n "
#text 000002F7D1B23488 "\n "
STYLE 000002F7D1B234D8 (editable)
#text 000002F7D1B23568 "\ndiv {\n display: inline-block;\n border: 2px solid black;\n"
#text 000002F7D1B235B8 "\n "
SCRIPT 000002F7D1B23710 (editable)
#text 000002F7D1B23788 "\n runTest = __f_0; \n runTest(); \n"
,
Nov 22 2016
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 2 2017
ClusterFuzz testcase 4749281474379776 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 ashej...@chromium.org
, Mar 22 2016Labels: -Pri-1 findit-wrong Te-Logged M-51 Pri-2
Owner: tkent@chromium.org
Status: Assigned (was: Available)