Title: [221429] trunk/LayoutTests
Revision
221429
Author
[email protected]
Date
2017-08-31 11:37:38 -0700 (Thu, 31 Aug 2017)

Log Message

iOS should include both iPad and iPhone when running layout tests
https://bugs.webkit.org/show_bug.cgi?id=176172
<rdar://problem/34190219>

Reviewed by Tim Horton.

* resources/ui-helper.js:
(window.UIHelper.isIOS):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (221428 => 221429)


--- trunk/LayoutTests/ChangeLog	2017-08-31 18:31:22 UTC (rev 221428)
+++ trunk/LayoutTests/ChangeLog	2017-08-31 18:37:38 UTC (rev 221429)
@@ -1,3 +1,14 @@
+2017-08-31  Jonathan Bedard  <[email protected]>
+
+        iOS should include both iPad and iPhone when running layout tests
+        https://bugs.webkit.org/show_bug.cgi?id=176172
+        <rdar://problem/34190219>
+
+        Reviewed by Tim Horton.
+
+        * resources/ui-helper.js:
+        (window.UIHelper.isIOS): 
+
 2017-08-31  Youenn Fablet  <[email protected]>
 
         Take into account removed caches in Caches::remove assertion

Modified: trunk/LayoutTests/resources/ui-helper.js (221428 => 221429)


--- trunk/LayoutTests/resources/ui-helper.js	2017-08-31 18:31:22 UTC (rev 221428)
+++ trunk/LayoutTests/resources/ui-helper.js	2017-08-31 18:37:38 UTC (rev 221429)
@@ -2,7 +2,7 @@
 window.UIHelper = class UIHelper {
     static isIOS()
     {
-        return navigator.userAgent.includes('iPhone');
+        return navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad');
     }
 
     static isWebKit2()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to