RESOLVED FIXED 208434
Fix for LayoutTests/accessibility/mac/search-text/search-text.html in IsolatedTree mode.
https://bugs.webkit.org/show_bug.cgi?id=208434
Summary Fix for LayoutTests/accessibility/mac/search-text/search-text.html in Isolate...
Andres Gonzalez
Reported 2020-03-01 16:42:55 PST
Fix for LayoutTests/accessibility/mac/search-text/search-text.html in IsolatedTree mode.
Attachments
Patch (32.15 KB, patch)
2020-03-01 17:02 PST, Andres Gonzalez
no flags
Patch (32.53 KB, patch)
2020-03-02 05:32 PST, Andres Gonzalez
no flags
Patch (34.55 KB, patch)
2020-03-02 13:30 PST, Andres Gonzalez
no flags
Andres Gonzalez
Comment 1 2020-03-01 17:02:36 PST
chris fleizach
Comment 2 2020-03-01 22:43:27 PST
Comment on attachment 392111 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=392111&action=review > Source/WebCore/accessibility/AccessibilityObject.h:759 > + AccessibilityObject* webAreaObject() const override { return nullptr; } the type here is AccessibilityObject, but in the interface it's AXCoreObject > Source/WebCore/accessibility/AccessibilityScrollView.h:44 > + AccessibilityObject* webAreaObject() const override; interface class defines this as AXCoreObject > Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:229 > + && item.m_wrapper) this line can go on the last one. it looks like it's short enough
Andres Gonzalez
Comment 3 2020-03-02 05:32:02 PST
Andres Gonzalez
Comment 4 2020-03-02 05:43:09 PST
(In reply to chris fleizach from comment #2) > Comment on attachment 392111 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=392111&action=review > > > Source/WebCore/accessibility/AccessibilityObject.h:759 > > + AccessibilityObject* webAreaObject() const override { return nullptr; } > > the type here is AccessibilityObject, but in the interface it's AXCoreObject It is a long chain to change this since callers are assigning the return value to AccessibilityObject. It works because the override is returning a subclass. There are other methods whose overrides also return a subclass. I propose we leave it like this for now, and make a complete pass through to clean them up all at once in a separate patch. > > > Source/WebCore/accessibility/AccessibilityScrollView.h:44 > > + AccessibilityObject* webAreaObject() const override; > > interface class defines this as AXCoreObject Same comment as above. > > > Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:229 > > + && item.m_wrapper) > > this line can go on the last one. it looks like it's short enough Done.
Andres Gonzalez
Comment 5 2020-03-02 13:30:02 PST
Andres Gonzalez
Comment 6 2020-03-02 13:31:54 PST
(In reply to Andres Gonzalez from comment #5) > Created attachment 392180 [details] > Patch Fix for GTK build.
WebKit Commit Bot
Comment 7 2020-03-02 14:50:37 PST
Comment on attachment 392180 [details] Patch Clearing flags on attachment: 392180 Committed r257739: <https://trac.webkit.org/changeset/257739>
WebKit Commit Bot
Comment 8 2020-03-02 14:50:38 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2020-03-02 14:51:16 PST
Ryan Haddad
Comment 10 2020-03-02 17:16:16 PST
This change appears to have introduced layout test crashes, as indicated by EWS: https://ews-build.webkit.org/#/builders/31/builds/4027 See: https://bugs.webkit.org/show_bug.cgi?id=208488
Note You need to log in before you can comment on or make changes to this bug.