Bug 209169 - AXIsolatedTree removal should set all nodes to be removed on AX secondary thread.
Summary: AXIsolatedTree removal should set all nodes to be removed on AX secondary thr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andres Gonzalez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-16 21:21 PDT by Andres Gonzalez
Modified: 2020-03-17 13:11 PDT (History)
11 users (show)

See Also:


Attachments
Patch (4.38 KB, patch)
2020-03-16 21:33 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff
Patch (4.38 KB, patch)
2020-03-17 07:36 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Gonzalez 2020-03-16 21:21:54 PDT
AXIsolatedTree removal should set all nodes to be removed on AX secondary thread.
Comment 1 Andres Gonzalez 2020-03-16 21:33:17 PDT
Created attachment 393726 [details]
Patch
Comment 2 chris fleizach 2020-03-16 23:38:09 PDT
Comment on attachment 393726 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393726&action=review

> Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:105
> +    ASSERT(isMainThread);

I think this should be 
ASSERT(isMainThread());
Comment 3 Andres Gonzalez 2020-03-17 07:36:36 PDT
Created attachment 393754 [details]
Patch
Comment 4 Andres Gonzalez 2020-03-17 07:38:55 PDT
(In reply to chris fleizach from comment #2)
> Comment on attachment 393726 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=393726&action=review
> 
> > Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:105
> > +    ASSERT(isMainThread);
> 
> I think this should be 
> ASSERT(isMainThread());

Corrected, thanks!
Comment 5 WebKit Commit Bot 2020-03-17 11:07:16 PDT
Comment on attachment 393754 [details]
Patch

Clearing flags on attachment: 393754

Committed r258560: <https://trac.webkit.org/changeset/258560>
Comment 6 WebKit Commit Bot 2020-03-17 11:07:17 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2020-03-17 11:08:15 PDT
<rdar://problem/60545793>
Comment 8 Darin Adler 2020-03-17 13:11:54 PDT
Comment on attachment 393754 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393754&action=review

> Source/WebCore/accessibility/AccessibilityMenuList.cpp:105
> +    if (is<RenderMenuList>(renderer))
> +        return !downcast<RenderMenuList>(*renderer).popupIsVisible();
> +    return true;

I like using && in cases like this instead of an if statement.