Title: [244482] trunk/LayoutTests
- Revision
- 244482
- Author
- [email protected]
- Date
- 2019-04-19 20:57:42 -0700 (Fri, 19 Apr 2019)
Log 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:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (244481 => 244482)
--- trunk/LayoutTests/ChangeLog 2019-04-20 03:29:40 UTC (rev 244481)
+++ trunk/LayoutTests/ChangeLog 2019-04-20 03:57:42 UTC (rev 244482)
@@ -1,3 +1,16 @@
+2019-04-19 Megan Gardner <[email protected]>
+
+ 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:
+
2019-04-19 John Wilander <[email protected]>
Disable Ad Click Attribution in ephemeral sessions and make sure conversion requests use an ephemeral, stateless session
Modified: trunk/LayoutTests/fast/events/touch/ios/long-press-on-image-expected.txt (244481 => 244482)
--- trunk/LayoutTests/fast/events/touch/ios/long-press-on-image-expected.txt 2019-04-20 03:29:40 UTC (rev 244481)
+++ trunk/LayoutTests/fast/events/touch/ios/long-press-on-image-expected.txt 2019-04-20 03:57:42 UTC (rev 244482)
@@ -1,5 +1,6 @@
Available Actions:
-Save Image
+Share…
+Add to Photos
Copy
Cancel
PASS
Modified: trunk/LayoutTests/fast/events/touch/ios/long-press-on-image.html (244481 => 244482)
--- trunk/LayoutTests/fast/events/touch/ios/long-press-on-image.html 2019-04-20 03:29:40 UTC (rev 244481)
+++ trunk/LayoutTests/fast/events/touch/ios/long-press-on-image.html 2019-04-20 03:57:42 UTC (rev 244482)
@@ -1,4 +1,5 @@
<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true ] -->
+<meta charset="utf-8">
<html>
<head>
@@ -29,14 +30,18 @@
var actionDictionary = JSON.parse(result);
var actionStrings = actionDictionary.actionSheet;
var output = '';
- if (actionStrings[0] == 'Save Image' && actionStrings[1] == 'Copy' && actionStrings[2] == 'Cancel') {
+ if (actionStrings[0] == 'Share…' && actionStrings[1] == 'Add to Photos' && actionStrings[2] == 'Copy' && actionStrings[3] == 'Cancel') {
output += 'Available Actions: <br>';
output += actionStrings.join('<br>');
output += '<br>';
output += 'PASS';
}
- else
- output = 'FAIL'
+ else {
+ output += 'Available Actions: <br>';
+ output += actionStrings.join('<br>');
+ output += '<br>';
+ output += 'FAIL'
+ }
document.getElementById('target').innerHTML = output;
testRunner.notifyDone();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes