Bug 19071 - Sequence of Editing commands hangs Safari (forever)
Summary: Sequence of Editing commands hangs Safari (forever)
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P1 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 18858
  Show dependency treegraph
 
Reported: 2008-05-15 02:06 PDT by Eric Seidel (no email)
Modified: 2008-06-27 09:42 PDT (History)
1 user (show)

See Also:


Attachments
test case (hangs Safari) (590 bytes, text/html)
2008-05-15 02:07 PDT, Eric Seidel (no email)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-05-15 02:06:43 PDT
Sequence of Editing commands hangs Safari (forever)

  doc.execCommand('insertorderedlist');
  doc.execCommand('inserthorizontalrule');
  doc.execCommand('inserthorizontalrule');
  doc.execCommand('inserthorizontalrule');
  doc.execCommand('createLink', 0, '</table>');
  doc.execCommand('indent');
  doc.execCommand('insertorderedlist');

See attached test case.  Removing any one of those commands causes the hang to go away, it seems.
Comment 1 Eric Seidel (no email) 2008-05-15 02:07:12 PDT
Created attachment 21155 [details]
test case (hangs Safari)
Comment 2 Eric Seidel (no email) 2008-06-27 09:42:13 PDT
This test case no longer seems to hang Safari for me.  I guess this got fixed by something Justin did.