WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
144860
AX: Crash at WebCore::AccessibilityMenuList::addChildren()
https://bugs.webkit.org/show_bug.cgi?id=144860
Summary
AX: Crash at WebCore::AccessibilityMenuList::addChildren()
chris fleizach
Reported
2015-05-11 00:47:52 PDT
It's possible to make AX code crash in AXMenuList when trying to access children after the object has been hidden <
rdar://problem/20774337
>
Attachments
patch
(4.19 KB, patch)
2015-05-11 00:52 PDT
,
chris fleizach
no flags
Details
Formatted Diff
Diff
patch
(4.19 KB, patch)
2015-05-11 00:53 PDT
,
chris fleizach
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
chris fleizach
Comment 1
2015-05-11 00:52:06 PDT
Created
attachment 252845
[details]
patch
chris fleizach
Comment 2
2015-05-11 00:53:46 PDT
Created
attachment 252846
[details]
patch
Mario Sanchez Prada
Comment 3
2015-05-11 02:43:31 PDT
Comment on
attachment 252846
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252846&action=review
> Source/WebCore/accessibility/AccessibilityMenuList.cpp:67 > - m_haveChildren = true; > - > - AXObjectCache* cache = m_renderer->document().axObjectCache(); > - > + if (!m_renderer) > + return; > + > + AXObjectCache* cache = axObjectCache(); > + if (!cache) > + return; > +
Indeed. This was an accident waiting to happen.
WebKit Commit Bot
Comment 4
2015-05-11 08:09:26 PDT
Comment on
attachment 252846
[details]
patch Clearing flags on attachment: 252846 Committed
r184097
: <
http://trac.webkit.org/changeset/184097
>
WebKit Commit Bot
Comment 5
2015-05-11 08:09:31 PDT
All reviewed patches have been landed. Closing bug.
Andreas Kling
Comment 6
2015-05-11 12:53:08 PDT
This test is failing on Windows bots since it was added:
https://build.webkit.org/results/Apple%20Win%207%20Debug%20(Tests)/r184105%20(66146)/accessibility/menu-list-crash2-pretty-diff.html
--- /home/buildbot/slave/win-debug-tests/build/layout-test-results/accessibility/menu-list-crash2-expected.txt +++ /home/buildbot/slave/win-debug-tests/build/layout-test-results/accessibility/menu-list-crash2-actual.txt @@ -5,8 +5,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -Role before removal: AXRole: AXPopUpButton -Role after removal: AXRole: +Role before removal: AXRole: AXComboBox +Role after removal: AXRole: AXComboBox PASS successfullyParsed is true TEST COMPLETE
chris fleizach
Comment 7
2015-05-11 13:13:58 PDT
We need a windows expectation file I can do that today but not for a few hours (In reply to
comment #6
)
> This test is failing on Windows bots since it was added: > >
https://build.webkit.org/results/Apple%20Win%207%20Debug%20(Tests)/
>
r184105
%20(66146)/accessibility/menu-list-crash2-pretty-diff.html > > --- > /home/buildbot/slave/win-debug-tests/build/layout-test-results/accessibility/ > menu-list-crash2-expected.txt > +++ > /home/buildbot/slave/win-debug-tests/build/layout-test-results/accessibility/ > menu-list-crash2-actual.txt > @@ -5,8 +5,8 @@ > On success, you will see a series of "PASS" messages, followed by "TEST > COMPLETE". > > > -Role before removal: AXRole: AXPopUpButton > -Role after removal: AXRole: > +Role before removal: AXRole: AXComboBox > +Role after removal: AXRole: AXComboBox > PASS successfullyParsed is true > > TEST COMPLETE
Andreas Kling
Comment 8
2015-05-11 13:26:44 PDT
(In reply to
comment #7
)
> We need a windows expectation file > > I can do that today but not for a few hours
I'll land one then :)
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