New issue
Advanced search Search tips

Issue 606517 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

FormatBlock command crashes with CSS property height

Project Member Reported by ClusterFuzz, Apr 25 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5539788093915136

Fuzzer: inferno_layout_test_unmodified
Job Type: linux_debug_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  CHECK failed: pos.anchorNode()->layoutObject(). #text "\n"@afterAnchor in Compos
  blink::CompositeEditCommand::insertBlockPlaceholder
  blink::FormatBlockCommand::formatRange
  

Minimized Testcase (0.25 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv95DnS2HGMIbCzEC2T-fXp9Zxr_TuLE7eoXBHkLs7rgaFsLWpwXsk2VwZRxvVNiBP6Y2jE6vsiRnRAtJK2WDbuai713QJOq_OjpDi4ywrFe0yDXKJULMEo6uj0LyuXZLmHta7hsk7GE4d7Fy7Q3vR3iremRdyA
<script>
onload = function() {
    document.designMode = 'on';
    document.execCommand('SelectAll');
    document.execCommand('FormatBlock', false, '<pre>');
};
  </script>
 ">
  ab
<style>
   div {
        height: 100px;
</style>
  <div>
  </div>
  <div>


Filer: manoranjanr

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: tkent@chromium.org
Components: Tools>Test>FindIt>NoResult Blink>Architecture
Labels: Te-Logged
Owner: koten...@yandex-team.ru
Status: Assigned (was: Available)
kotenkov@, could you please look into this? Please mark it as 'Duplicate' if it is same as https://bugs.chromium.org/p/chromium/issues/detail?id=606515

Thank you!

Comment 2 by tkent@chromium.org, Apr 25 2016

Cc: -tkent@chromium.org
Components: -Blink>Architecture Blink>Editing
Owner: ----
Status: Untriaged (was: Assigned)
Route to Editing triage

Comment 3 by yosin@chromium.org, Apr 26 2016

Summary: FormatBlock command crashes with CSS property height (was: CHECK failed: pos.anchorNode()->layoutObject(). #text "\n"@afterAnchor in Compos)

Comment 4 by yosin@chromium.org, Apr 26 2016

Cc: pucchakayala@google.com
 Issue 594287  has been merged into this issue.

Comment 5 by yosin@chromium.org, Apr 26 2016

Components: -Blink>Editing Blink>Editing>Command
Status: Available (was: Untriaged)
Project Member

Comment 6 by ClusterFuzz, Jul 2 2016

ClusterFuzz has detected this issue as fixed in range 389884:390111.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5539788093915136

Fuzzer: inferno_layout_test_unmodified
Job Type: linux_debug_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  pos.anchorNode()->layoutObject(). #text "\n"@afterAnchor in CompositeEditCommand
  blink::CompositeEditCommand::insertBlockPlaceholder
  blink::FormatBlockCommand::formatRange
  
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_content_shell_drt&range=389884:390111

Minimized Testcase (0.25 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv96fLTv7OxHSGqI2qzey7Tu5LyR-jyuhZj2GqglhhroXb6EnIfkMVFzCLk92Hpq8Mv0gPp9lzxKSPn_7doAlaPTAvMvQ_CbVk5xf7VFXBvTIoO1EcC_IurOoBvOZ-_0OLKvgDStADk39FXhhE53dQc7baJpimg?testcase_id=5539788093915136
<script>
onload = function() {
    document.designMode = 'on';
    document.execCommand('SelectAll');
    document.execCommand('FormatBlock', false, '<pre>');
};
  </script>
 ">
  ab
<style>
   div {
        height: 100px;
</style>
  <div>
  </div>
  <div>


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 7 by ClusterFuzz, Jul 2 2016

Labels: ClusterFuzz-Verified
Status: Verified (was: Available)
ClusterFuzz testcase is verified as fixed, closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Components: -Tools>Test>FindIt>NoResult
Project Member

Comment 9 by sheriffbot@chromium.org, Nov 22 2016

Labels: -Restrict-View-EditIssue
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

Sign in to add a comment