Title: [126006] trunk/LayoutTests
Revision
126006
Author
[email protected]
Date
2012-08-20 01:14:34 -0700 (Mon, 20 Aug 2012)

Log Message

[chromium] context-menu.html fails on Chromium Mac
https://bugs.webkit.org/show_bug.cgi?id=94367

Reviewed by Kenneth Rohde Christiansen.

Set editing behaviour explicitly so the test behaves the same independent of host OS.

* touchadjustment/context-menu.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (126005 => 126006)


--- trunk/LayoutTests/ChangeLog	2012-08-20 07:53:33 UTC (rev 126005)
+++ trunk/LayoutTests/ChangeLog	2012-08-20 08:14:34 UTC (rev 126006)
@@ -1,3 +1,14 @@
+2012-08-20  Allan Sandfeld Jensen  <[email protected]>
+
+        [chromium] context-menu.html fails on Chromium Mac
+        https://bugs.webkit.org/show_bug.cgi?id=94367
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Set editing behaviour explicitly so the test behaves the same independent of host OS.
+
+        * touchadjustment/context-menu.html:
+
 2012-08-20  Yoshifumi Inoue  <[email protected]>
 
         [Tests] time-multiple-fields-appearance-basic.html and time-multiple-fields-appearance-pseudo-elements.html are failed on Chromium Mac

Modified: trunk/LayoutTests/touchadjustment/context-menu.html (126005 => 126006)


--- trunk/LayoutTests/touchadjustment/context-menu.html	2012-08-20 07:53:33 UTC (rev 126005)
+++ trunk/LayoutTests/touchadjustment/context-menu.html	2012-08-20 08:14:34 UTC (rev 126006)
@@ -75,8 +75,10 @@
 
     function runTests()
     {
-        if (window.testRunner && window.internals && internals.touchNodeAdjustedToBestClickableNode) {
+        if (window.testRunner && window.internals && internals.touchNodeAdjustedToBestContextMenuNode) {
             description('Test touch adjustment for context-menu gestures.');
+            // Set editing-behaviour to win, so context-menu gesture does not trigger selections.
+            internals.settings.setEditingBehavior('win');
             testDirectTouches();
             testAdjustedTouches();
             e.sandbox.style.display = 'none';
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to