Changeset 20386 in webkit


Ignore:
Timestamp:
Mar 22, 2007 2:21:11 AM (17 years ago)
Author:
aroben
Message:

LayoutTests:

Reviewed by Ada.

Added a new test to make sure that eventSender.mouseClick works
correctly.

  • fast/events/click-count-expected.txt: Added.
  • fast/events/click-count.html: Added.

Updated results for some tests that depended on the broken version of
eventSender.mouseClick.

  • fast/events/objc-event-api-expected.txt:
  • fast/forms/focus-selection-input-expected.txt:
  • fast/forms/focus-selection-textarea-expected.txt:

WebKitTools:

Reviewed by Ada.

Make eventSender.mouseClick actually send a mouse up event.

  • DumpRenderTree/EventSendingController.m: (-[EventSendingController mouseClick]):
Location:
trunk
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r20380 r20386  
     12007-03-22  Adam Roben  <aroben@apple.com>
     2
     3        Reviewed by Ada.
     4
     5        Added a new test to make sure that eventSender.mouseClick works
     6        correctly.
     7
     8        * fast/events/click-count-expected.txt: Added.
     9        * fast/events/click-count.html: Added.
     10
     11        Updated results for some tests that depended on the broken version of
     12        eventSender.mouseClick.
     13
     14        * fast/events/objc-event-api-expected.txt:
     15        * fast/forms/focus-selection-input-expected.txt:
     16        * fast/forms/focus-selection-textarea-expected.txt:
     17
    1182007-03-21  Mitz Pettel  <mitz@webkit.org>
    219
  • trunk/LayoutTests/fast/events/objc-event-api-expected.txt

    r19158 r20386  
    196196  bubbles:       1
    197197  cancelable:    1
     198event type:      mouseup
     199  target:        <div>
     200  eventPhase:    3
     201  bubbles:       1
     202  cancelable:    1
     203  detail:        2
     204  view:          OK (document: OK)
     205  button:        0
     206  clientX:       400
     207  clientY:       150
     208  screenX:       -9600
     209  screenY:       -9850
     210  modifier keys: c:0 s:0 a:0 m:0
     211event type:      click
     212  target:        <div>
     213  eventPhase:    3
     214  bubbles:       1
     215  cancelable:    1
     216  detail:        2
     217  view:          OK (document: OK)
     218  button:        0
     219  clientX:       400
     220  clientY:       150
     221  screenX:       -9600
     222  screenY:       -9850
     223  modifier keys: c:0 s:0 a:0 m:0
     224event type:      dblclick
     225  target:        <div>
     226  eventPhase:    3
     227  bubbles:       1
     228  cancelable:    1
     229  detail:        2
     230  view:          OK (document: OK)
     231  button:        0
     232  clientX:       400
     233  clientY:       150
     234  screenX:       -9600
     235  screenY:       -9850
     236  modifier keys: c:0 s:0 a:0 m:0
     237event type:      mousemove
     238  target:        <div>
     239  eventPhase:    3
     240  bubbles:       1
     241  cancelable:    0
     242  detail:        0
     243  view:          OK (document: OK)
     244  button:        0
     245  clientX:       400
     246  clientY:       150
     247  screenX:       -9600
     248  screenY:       -9850
     249  modifier keys: c:0 s:0 a:0 m:0
    198250event type:      mousedown
    199251  target:        <div>
  • trunk/LayoutTests/fast/forms/focus-selection-input-expected.txt

    r20072 r20386  
    1313EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > LABEL > BODY > HTML > #document to 5 of #text > LABEL > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    1414EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     15EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     16EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     17EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
    1518EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1619EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
  • trunk/LayoutTests/fast/forms/focus-selection-textarea-expected.txt

    r20072 r20386  
    99EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1010EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > LABEL > BODY > HTML > #document to 5 of #text > LABEL > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     11EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     12EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1113EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1214EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
  • trunk/WebKitTools/ChangeLog

    r20311 r20386  
     12007-03-22  Adam Roben  <aroben@apple.com>
     2
     3        Reviewed by Ada.
     4
     5        Make eventSender.mouseClick actually send a mouse up event.
     6
     7        * DumpRenderTree/EventSendingController.m:
     8        (-[EventSendingController mouseClick]):
     9
    1102007-03-19  David Hyatt  <hyatt@apple.com>
    211
  • trunk/WebKitTools/DumpRenderTree/EventSendingController.m

    r19571 r20386  
    319319                                                 clickCount:clickCount
    320320                                                   pressure:0.0];
    321         [NSApp postEvent:mouseUpEvent atStart:NO];
    322321        [subView mouseDown:mouseDownEvent];
     322        [subView mouseUp:mouseUpEvent];
    323323        lastClick = [mouseUpEvent timestamp];
    324324    }
Note: See TracChangeset for help on using the changeset viewer.