WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
117201
AX: WK2: accessibility position is calculated every time window frame is updated
https://bugs.webkit.org/show_bug.cgi?id=117201
Summary
AX: WK2: accessibility position is calculated every time window frame is updated
chris fleizach
Reported
2013-06-04 08:48:27 PDT
Evertyime WKView:_updateWIndowAndFrames is called, the AX position is also calculated. This impacts performance for all users.
Attachments
patch
(4.34 KB, patch)
2013-06-04 08:51 PDT
,
chris fleizach
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
chris fleizach
Comment 1
2013-06-04 08:51:02 PDT
Created
attachment 203703
[details]
patch
Tim Horton
Comment 2
2013-06-04 10:33:23 PDT
Comment on
attachment 203703
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=203703&action=review
> Source/WebKit2/UIProcess/API/mac/WKView.mm:460 > + if (WebCore::AXObjectCache::accessibilityEnabled())
does this really work in the UIProcess? how?
chris fleizach
Comment 3
2013-06-04 10:36:00 PDT
(In reply to
comment #2
)
> (From update of
attachment 203703
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=203703&action=review
> > > Source/WebKit2/UIProcess/API/mac/WKView.mm:460 > > + if (WebCore::AXObjectCache::accessibilityEnabled()) > > does this really work in the UIProcess? how?
it just a static boolean, so we can use it to store whether we're enabled or not and it's valid for the lifetime of the process using it
Tim Horton
Comment 4
2013-06-04 11:31:16 PDT
Comment on
attachment 203703
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=203703&action=review
>>> Source/WebKit2/UIProcess/API/mac/WKView.mm:460 >>> + if (WebCore::AXObjectCache::accessibilityEnabled()) >> >> does this really work in the UIProcess? how? > > it just a static boolean, so we can use it to store whether we're enabled or not and it's valid for the lifetime of the process using it
OK, separate values tracking the same thing in the same place, but not needing to be kept in sync explicitly.
chris fleizach
Comment 5
2013-06-04 11:34:04 PDT
(In reply to
comment #4
)
> (From update of
attachment 203703
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=203703&action=review
> > >>> Source/WebKit2/UIProcess/API/mac/WKView.mm:460 > >>> + if (WebCore::AXObjectCache::accessibilityEnabled()) > >> > >> does this really work in the UIProcess? how? > > > > it just a static boolean, so we can use it to store whether we're enabled or not and it's valid for the lifetime of the process using it > > OK, separate values tracking the same thing in the same place, but not needing to be kept in sync explicitly.
correct
WebKit Commit Bot
Comment 6
2013-06-04 13:05:32 PDT
Comment on
attachment 203703
[details]
patch Clearing flags on attachment: 203703 Committed
r151181
: <
http://trac.webkit.org/changeset/151181
>
WebKit Commit Bot
Comment 7
2013-06-04 13:05:35 PDT
All reviewed patches have been landed. Closing bug.
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