Title: [238223] trunk
Revision
238223
Author
[email protected]
Date
2018-11-15 05:57:50 -0800 (Thu, 15 Nov 2018)

Log Message

REGRESSION(r238178): fast/forms/access-key-mutated.html and fast/forms/access-key-case-insensitive.html are timing out
https://bugs.webkit.org/show_bug.cgi?id=191642

Reviewed by Zalan Bujtas.

Source/WebCore:

Invalidate access key map even when thorttling style recalcs.

* dom/Document.cpp:
(WebCore::Document::scheduleStyleRecalc):

LayoutTests:

* TestExpectations: Unskip
* platform/mac-wk2/TestExpectations: Unskip
* platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt:

Rebase. Focus timings depends on layout timings.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (238222 => 238223)


--- trunk/LayoutTests/ChangeLog	2018-11-15 13:48:52 UTC (rev 238222)
+++ trunk/LayoutTests/ChangeLog	2018-11-15 13:57:50 UTC (rev 238223)
@@ -1,5 +1,18 @@
 2018-11-15  Antti Koivisto  <[email protected]>
 
+        REGRESSION(r238178): fast/forms/access-key-mutated.html and fast/forms/access-key-case-insensitive.html are timing out
+        https://bugs.webkit.org/show_bug.cgi?id=191642
+
+        Reviewed by Zalan Bujtas.
+
+        * TestExpectations: Unskip
+        * platform/mac-wk2/TestExpectations: Unskip
+        * platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt:
+
+        Rebase. Focus timings depends on layout timings.
+
+2018-11-15  Antti Koivisto  <[email protected]>
+
         Remove fonts from CSSFontFaceSet safely
         https://bugs.webkit.org/show_bug.cgi?id=191676
 

Modified: trunk/LayoutTests/TestExpectations (238222 => 238223)


--- trunk/LayoutTests/TestExpectations	2018-11-15 13:48:52 UTC (rev 238222)
+++ trunk/LayoutTests/TestExpectations	2018-11-15 13:57:50 UTC (rev 238223)
@@ -2950,6 +2950,3 @@
 fast/mediacapturefromelement/CanvasCaptureMediaStream-imagebitmaprenderingcontext.html [ Skip ]
 fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html [ Skip ]
 fast/mediacapturefromelement/CanvasCaptureMediaStream-capture-out-of-DOM-element.html [ Skip ]
-
-webkit.org/b/191642 fast/forms/access-key-case-insensitive.html [ Skip ]
-webkit.org/b/191642 fast/forms/access-key-mutated.html [ Skip ]
\ No newline at end of file

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (238222 => 238223)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2018-11-15 13:48:52 UTC (rev 238222)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2018-11-15 13:57:50 UTC (rev 238223)
@@ -907,6 +907,4 @@
 
 webkit.org/b/191644 [ Sierra ] fast/workers/worker-cloneport.html [ Pass Failure ]
 
-webkit.org/b/191642 accessibility/mac/selection-notification-focus-change.html [ Skip ]
-
 webkit.org/b/191658 [ Sierra Release ] fast/layers/no-clipping-overflow-hidden-added-after-transform.html [ Pass ImageOnlyFailure ]

Modified: trunk/LayoutTests/platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt (238222 => 238223)


--- trunk/LayoutTests/platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt	2018-11-15 13:48:52 UTC (rev 238222)
+++ trunk/LayoutTests/platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt	2018-11-15 13:57:50 UTC (rev 238223)
@@ -7,9 +7,9 @@
 eventSender.keyDown(tabCharacter);
 Received AXSelectedTextChanged
 PASS userInfo["AXTextSelectionChangedFocus"] is true
+Received AXFocusChanged
 Received AXSelectedTextChanged
 PASS userInfo["AXTextSelectionChangedFocus"] is true
-Received AXFocusChanged
 
 PASS accessibilityController.accessibleElementById("1").isFocusable is true
 accessibilityController.accessibleElementById("1").takeFocus()

Modified: trunk/Source/WebCore/ChangeLog (238222 => 238223)


--- trunk/Source/WebCore/ChangeLog	2018-11-15 13:48:52 UTC (rev 238222)
+++ trunk/Source/WebCore/ChangeLog	2018-11-15 13:57:50 UTC (rev 238223)
@@ -1,5 +1,17 @@
 2018-11-15  Antti Koivisto  <[email protected]>
 
+        REGRESSION(r238178): fast/forms/access-key-mutated.html and fast/forms/access-key-case-insensitive.html are timing out
+        https://bugs.webkit.org/show_bug.cgi?id=191642
+
+        Reviewed by Zalan Bujtas.
+
+        Invalidate access key map even when thorttling style recalcs.
+
+        * dom/Document.cpp:
+        (WebCore::Document::scheduleStyleRecalc):
+
+2018-11-15  Antti Koivisto  <[email protected]>
+
         Remove fonts from CSSFontFaceSet safely
         https://bugs.webkit.org/show_bug.cgi?id=191676
 

Modified: trunk/Source/WebCore/dom/Document.cpp (238222 => 238223)


--- trunk/Source/WebCore/dom/Document.cpp	2018-11-15 13:48:52 UTC (rev 238222)
+++ trunk/Source/WebCore/dom/Document.cpp	2018-11-15 13:57:50 UTC (rev 238223)
@@ -1804,6 +1804,9 @@
 
     ASSERT(childNeedsStyleRecalc() || m_pendingStyleRecalcShouldForce);
 
+    // FIXME: Why on earth is this here? This is clearly misplaced.
+    invalidateAccessKeyMap();
+
     auto shouldThrottleStyleRecalc = [&] {
         if (m_pendingStyleRecalcShouldForce)
             return false;
@@ -1817,9 +1820,6 @@
     if (shouldThrottleStyleRecalc())
         return;
 
-    // FIXME: Why on earth is this here? This is clearly misplaced.
-    invalidateAccessKeyMap();
-    
     m_styleRecalcTimer.startOneShot(0_s);
 
     InspectorInstrumentation::didScheduleStyleRecalculation(*this);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to