[webkit-changes] cvs commit: LayoutTests/editing/selection doubleclick-crash-expected.checksum doubleclick-crash-expected.png doubleclick-crash-expected.txt doubleclick-crash.html

David harrison at opensource.apple.com
Mon Nov 7 16:49:37 PST 2005


harrison    05/11/07 16:49:37

  Modified:    .        ChangeLog
  Added:       editing/selection doubleclick-crash-expected.checksum
                        doubleclick-crash-expected.png
                        doubleclick-crash-expected.txt
                        doubleclick-crash.html
  Log:
          Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3739
          Unreproducible - Assertion failure in isEqualIgnoringAffinity on double-click
  
          * editing/selection/doubleclick-crash-expected.checksum: Added.
          * editing/inserting/doubleclick-crash-expected.png: Added.
          * editing/inserting/doubleclick-crash-expected.txt: Added.
          * editing/inserting/doubleclick-crash.html: Added.
  
  Revision  Changes    Path
  1.77      +10 -0     LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- ChangeLog	7 Nov 2005 19:59:31 -0000	1.76
  +++ ChangeLog	8 Nov 2005 00:49:35 -0000	1.77
  @@ -1,3 +1,13 @@
  +2005-11-07  David Harrison  <harrison at apple.com>
  +
  +        Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3739
  +        Unreproducible - Assertion failure in isEqualIgnoringAffinity on double-click
  +        
  +        * editing/selection/doubleclick-crash-expected.checksum: Added.
  +        * editing/inserting/doubleclick-crash-expected.png: Added.
  +        * editing/inserting/doubleclick-crash-expected.txt: Added.
  +        * editing/inserting/doubleclick-crash.html: Added.
  +
   2005-11-07  Justin Garcia  <justin.garcia at apple.com>
   
           Reviewed by harrison
  
  
  
  1.1                  LayoutTests/editing/selection/doubleclick-crash-expected.checksum
  
  Index: doubleclick-crash-expected.checksum
  ===================================================================
  170fb09f344f7040e139ccbf01899a99
  
  
  1.1                  LayoutTests/editing/selection/doubleclick-crash-expected.png
  
  	<<Binary file>>
  
  
  1.1                  LayoutTests/editing/selection/doubleclick-crash-expected.txt
  
  Index: doubleclick-crash-expected.txt
  ===================================================================
  EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > PRE > BODY > HTML > #document to 5 of #text > PRE > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
  EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > PRE > BODY > HTML > #document to 5 of #text > PRE > BODY > HTML > #document toDOMRange:range from 5 of #text > PRE > BODY > HTML > #document to 6 of #text > PRE > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
  layer at (0,0) size 800x600
    RenderCanvas at (0,0) size 800x600
  layer at (0,0) size 800x600
    RenderBlock {HTML} at (0,0) size 800x600
      RenderBody {BODY} at (0,0) size 800x587
        RenderBlock {PRE} at (0,0) size 800x75
          RenderText {TEXT} at (0,0) size 40x30
            text run at (0,0) width 40: "Test."
            text run at (0,15) width 40: "Test."
          RenderText {TEXT} at (0,0) size 0x0
          RenderText {TEXT} at (0,0) size 0x0
          RenderText {TEXT} at (0,0) size 0x0
  selection start: position 5 of child 0 {TEXT} of child 1 {PRE} of child 1 {BODY} of child 0 {HTML} of document
  selection end:   position 6 of child 0 {TEXT} of child 1 {PRE} of child 1 {BODY} of child 0 {HTML} of document
  
  
  
  1.1                  LayoutTests/editing/selection/doubleclick-crash.html
  
  Index: doubleclick-crash.html
  ===================================================================
  <html>
  <head>
  <style>
  body { margin: 0; padding: 0 }
  </style>
  <script type="text/javascript">
  function step4()
  {
      eventSender.mouseUp();
      layoutTestController.notifyDone();
  }
  
  function step3()
  {
      eventSender.mouseDown();
      window.setTimeout(step4, 1);
  }
  
  function step2()
  {
      eventSender.mouseUp();
      window.setTimeout(step3, 100);
  }
  
  function step1()
  {
      eventSender.mouseDown();
      window.setTimeout(step2, 1);
  }
  
  function step0()
  {
      eventSender.mouseMoveTo(50, 10);
      window.setTimeout(step1, 1);
  }
  
  step0();
  layoutTestController.waitUntilDone();
  </script>
  </head>
  <body>
  <pre>
  Test.
  Test.
  </body>
  </html>
  <!-- http://bugzilla.opendarwin.org/show_bug.cgi?id=3739 - only testing for crashing, not the actual results. -->
  
  
  



More information about the webkit-changes mailing list