Title: [229441] tags/Safari-606.1.8

Diff

Modified: tags/Safari-606.1.8/LayoutTests/ChangeLog (229440 => 229441)


--- tags/Safari-606.1.8/LayoutTests/ChangeLog	2018-03-09 00:18:34 UTC (rev 229440)
+++ tags/Safari-606.1.8/LayoutTests/ChangeLog	2018-03-09 00:18:37 UTC (rev 229441)
@@ -1,5 +1,9 @@
 2018-03-08  Jason Marcell  <[email protected]>
 
+        Revert r229310. rdar://problem/37764380
+
+2018-03-08  Jason Marcell  <[email protected]>
+
         Revert r229344. rdar://problem/38188685
 
 2018-03-08  Kocsen Chung  <[email protected]>

Deleted: tags/Safari-606.1.8/LayoutTests/accessibility/mac/AOM-events-all-expected.txt (229440 => 229441)


--- tags/Safari-606.1.8/LayoutTests/accessibility/mac/AOM-events-all-expected.txt	2018-03-09 00:18:34 UTC (rev 229440)
+++ tags/Safari-606.1.8/LayoutTests/accessibility/mac/AOM-events-all-expected.txt	2018-03-09 00:18:37 UTC (rev 229441)
@@ -1,26 +0,0 @@
-  button  
-This tests all accessibility events.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Test accessibleincrement and accessibledecrement
-received accessibleincrement event
-received accessibledecrement event
-
-Test accessiblefocus
-received accessiblefocus event
-
-Test accessiblescrollintoview
-received accessiblescrollintoview event
-
-Test accessiblecontextmenu
-received accessiblecontextmenu event
-
-Test accessibleselect
-received accessibleselect event
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: tags/Safari-606.1.8/LayoutTests/accessibility/mac/AOM-events-all.html (229440 => 229441)


--- tags/Safari-606.1.8/LayoutTests/accessibility/mac/AOM-events-all.html	2018-03-09 00:18:34 UTC (rev 229440)
+++ tags/Safari-606.1.8/LayoutTests/accessibility/mac/AOM-events-all.html	2018-03-09 00:18:37 UTC (rev 229441)
@@ -1,105 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body id="body">
-<script src=""
-<div id="content">
-
-<input type="range" min="0" max="100" value="25" step="25" id="slider"/>
-<input type="text" id="input">
-<button id="button">button</button>
-
-<select id="group" multiple="multiple">
-    <option id="option">Option 1</option>
-    <option>Option 2</option>
-</select>
-
-</div>
-
-<p id="description"></p>
-<div id="console"></div>
-
-<script>
-
-    description("This tests all accessibility events.");
-
-    if (window.accessibilityController) {
-        jsTestIsAsync = true;
-       
-        var node;
-        var axNode;
-        
-        testIncrementDecrement();
-       
-        function testIncrementDecrement() {
-            debug("\nTest accessibleincrement and accessibledecrement");
-            node = document.getElementById("slider");
-            axNode = accessibilityController.accessibleElementById("slider");
-
-            node._onaccessibleincrement_ = function() {
-                debug("received accessibleincrement event");
-            };
-            node._onaccessibledecrement_ = function() {
-                debug("received accessibledecrement event");
-            };
-            axNode.increment();
-            axNode.decrement();
-
-            testFocus();
-        }
-
-        function testFocus() {
-            debug("\nTest accessiblefocus");
-            node = document.getElementById("input");
-            axNode = accessibilityController.accessibleElementById("input");
-
-            node._onaccessiblefocus_ = function() {
-                debug("received accessiblefocus event");
-                testScrollIntoView();
-            };
-            axNode.takeFocus();
-        }
-
-        function testScrollIntoView() {
-            debug("\nTest accessiblescrollintoview");
-            node = document.getElementById("button");
-            axNode = accessibilityController.accessibleElementById("button");
-
-            node._onaccessiblescrollintoview_ = function() {
-                debug("received accessiblescrollintoview event");
-                testShowContextMenu();
-            };
-            axNode.scrollToMakeVisible();
-        }
-
-        function testShowContextMenu() {
-            debug("\nTest accessiblecontextmenu");
-            node = document.getElementById("button");
-            axNode = accessibilityController.accessibleElementById("button");
-
-            node._onaccessiblecontextmenu_ = function() {
-                debug("received accessiblecontextmenu event");
-                testSelect();
-            };
-            axNode.showMenu();
-        }
-
-        function testSelect() {
-            debug("\nTest accessibleselect");
-            node = document.getElementById("option");
-            axNode = accessibilityController.accessibleElementById("group");
-            node._onaccessibleselect_ = function() {
-                debug("received accessibleselect event");
-                finishJSTest();
-            }
-            axNode.setSelectedChildAtIndex(0);
-        }
-
-    } else {
-        testFailed("Could not load accessibility controller");
-    }
-
-</script>
-
-<script src=""
-</body>
-</html>

Modified: tags/Safari-606.1.8/Source/WebCore/ChangeLog (229440 => 229441)


--- tags/Safari-606.1.8/Source/WebCore/ChangeLog	2018-03-09 00:18:34 UTC (rev 229440)
+++ tags/Safari-606.1.8/Source/WebCore/ChangeLog	2018-03-09 00:18:37 UTC (rev 229441)
@@ -1,5 +1,9 @@
 2018-03-08  Jason Marcell  <[email protected]>
 
+        Revert r229310. rdar://problem/37764380
+
+2018-03-08  Jason Marcell  <[email protected]>
+
         Revert r229344. rdar://problem/38188685
 
 2018-03-08  Kocsen Chung  <[email protected]>

Modified: tags/Safari-606.1.8/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm (229440 => 229441)


--- tags/Safari-606.1.8/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm	2018-03-09 00:18:34 UTC (rev 229440)
+++ tags/Safari-606.1.8/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm	2018-03-09 00:18:37 UTC (rev 229441)
@@ -3539,9 +3539,6 @@
     if (!page)
         return;
     
-    if (m_object->dispatchAccessibilityEventWithType(AccessibilityEventType::ContextMenu))
-        return;
-    
     IntRect rect = snappedIntRect(m_object->elementRect());
     FrameView* frameView = m_object->documentFrameView();
     
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to