Changeset 244482 in webkit


Ignore:
Timestamp:
Apr 19, 2019 8:57:42 PM (5 years ago)
Author:
Megan Gardner
Message:

Fix Long Press Image Test
https://bugs.webkit.org/show_bug.cgi?id=197130
<rdar://problem/50058818>

Reviewed by Wenson Hsieh.

Fixing up test to reflect changes in https://bugs.webkit.org/show_bug.cgi?id=196833

  • fast/events/touch/ios/long-press-on-image-expected.txt:
  • fast/events/touch/ios/long-press-on-image.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r244475 r244482  
     12019-04-19  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Fix Long Press Image Test
     4        https://bugs.webkit.org/show_bug.cgi?id=197130
     5        <rdar://problem/50058818>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        Fixing up test to reflect changes in https://bugs.webkit.org/show_bug.cgi?id=196833
     10
     11        * fast/events/touch/ios/long-press-on-image-expected.txt:
     12        * fast/events/touch/ios/long-press-on-image.html:
     13
    1142019-04-19  John Wilander  <wilander@apple.com>
    215
  • trunk/LayoutTests/fast/events/touch/ios/long-press-on-image-expected.txt

    r206645 r244482  
    11Available Actions:
    2 Save Image
     2Share…
     3Add to Photos
    34Copy
    45Cancel
  • trunk/LayoutTests/fast/events/touch/ios/long-press-on-image.html

    r206645 r244482  
    11<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true ] -->
     2<meta charset="utf-8">
    23
    34<html>
     
    3031                    var actionStrings = actionDictionary.actionSheet;
    3132                    var output = '';
    32                     if (actionStrings[0] == 'Save Image' && actionStrings[1] == 'Copy' && actionStrings[2] == 'Cancel') {
     33                    if (actionStrings[0] == 'Share…' && actionStrings[1] == 'Add to Photos' && actionStrings[2] == 'Copy' && actionStrings[3] == 'Cancel') {
    3334                        output += 'Available Actions: <br>';
    3435                        output +=  actionStrings.join('<br>');
     
    3637                        output += 'PASS';
    3738                    }
    38                     else
    39                         output = 'FAIL'
     39                    else {
     40                        output += 'Available Actions: <br>';
     41                        output += actionStrings.join('<br>');
     42                        output += '<br>';
     43                        output += 'FAIL'
     44                    }
    4045
    4146                    document.getElementById('target').innerHTML = output;
Note: See TracChangeset for help on using the changeset viewer.