WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
259832
AX: Cache the ProcessID in the AXIsolatedTree so that it can be retrieved off the main thread.
https://bugs.webkit.org/show_bug.cgi?id=259832
Summary
AX: Cache the ProcessID in the AXIsolatedTree so that it can be retrieved off...
Andres Gonzalez
Reported
2023-08-04 12:15:12 PDT
.
Attachments
Patch
(6.95 KB, patch)
2023-08-04 12:30 PDT
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Patch
(6.99 KB, patch)
2023-08-07 08:49 PDT
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-08-04 12:15:39 PDT
<
rdar://problem/113407757
>
Andres Gonzalez
Comment 2
2023-08-04 12:30:20 PDT
Created
attachment 467198
[details]
Patch
Tyler Wilcock
Comment 3
2023-08-04 12:36:02 PDT
Do we need to update this new property when RuntimeApplicationChecks::setPresentingApplicationPID is called?
Andres Gonzalez
Comment 4
2023-08-07 08:49:44 PDT
Created
attachment 467212
[details]
Patch
Andres Gonzalez
Comment 5
2023-08-07 08:57:15 PDT
(In reply to Tyler Wilcock from
comment #3
)
> Do we need to update this new property when > RuntimeApplicationChecks::setPresentingApplicationPID is called?
setPresentingApplicationPID is called only during the web process initialization which is too early to update AX. In the second revision, the ProcessID is cached in the AXIsolatedTree instead of in the individual objects, which makes more sense since this is a global property. If in the future we have changing ProcessID, we will need to update this member in the AXIsolatedTree class if it already exists at that point.
Tyler Wilcock
Comment 6
2023-08-07 10:04:16 PDT
Comment on
attachment 467212
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=467212&action=review
> Source/WebCore/accessibility/AccessibilityObject.h:76 > + ProcessID processID() const override;
Not necessary to spin a new patch, but seems like this could be `final` instead of `override`.
> Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h:54 > + ProcessID processID() const override { return tree()->processID(); }
Not necessary to spin a new patch, but seems like this could be `final` instead of `override`.
EWS
Comment 7
2023-08-07 13:46:25 PDT
Committed
266654@main
(68677a255c20): <
https://commits.webkit.org/266654@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 467212
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug