RESOLVED FIXED 200277
AX: com.apple.WebKit.WebContent at com.apple.WebKit: -[WKAccessibilityWebPageObject accessibilityParameterizedAttributeNames]
https://bugs.webkit.org/show_bug.cgi?id=200277
Summary AX: com.apple.WebKit.WebContent at com.apple.WebKit: -[WKAccessibilityWebPage...
chris fleizach
Reported 2019-07-30 11:37:04 PDT
6 WebKit: -[WKAccessibilityWebPageObject accessibilityParameterizedAttributeNames] <== 6 AppKit: __NSAccessibilityEntryPointParameterizedAttributeNames_block_invoke.611.llvm.16512287332241650554 6 AppKit: NSAccessibilityPerformEntryPointObject.llvm.16512287332241650554 6 AppKit: NSAccessibilityEntryPointParameterizedAttributeNames 6 AppKit: CopyParameterizedAttributeNames 6 HIServices: _AXXMIGCopyParameterizedAttributeNames
Attachments
patch (1.91 KB, patch)
2019-07-30 11:39 PDT, chris fleizach
no flags
chris fleizach
Comment 1 2019-07-30 11:37:16 PDT
chris fleizach
Comment 2 2019-07-30 11:39:10 PDT
Per Arne Vollan
Comment 3 2019-07-30 17:45:56 PDT
Comment on attachment 375166 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=375166&action=review R=me. > Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:102 > + if (auto corePage = m_page->corePage()) { I think there always is a core page unless we're in the destructor of WebPage, so this check is possibly not needed.
chris fleizach
Comment 4 2019-07-30 17:46:58 PDT
Comment on attachment 375166 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=375166&action=review >> Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:102 >> + if (auto corePage = m_page->corePage()) { > > I think there always is a core page unless we're in the destructor of WebPage, so this check is possibly not needed. do you want me to remove, or should I leave for safety? or is there a reference style method I should use instead of getting the pointer
chris fleizach
Comment 5 2019-07-31 07:06:55 PDT
Comment on attachment 375166 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=375166&action=review >>> Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:102 >>> + if (auto corePage = m_page->corePage()) { >> >> I think there always is a core page unless we're in the destructor of WebPage, so this check is possibly not needed. > > do you want me to remove, or should I leave for safety? > or is there a reference style method I should use instead of getting the pointer leaving in for safety for now.
Per Arne Vollan
Comment 6 2019-07-31 07:20:15 PDT
(In reply to chris fleizach from comment #5) > Comment on attachment 375166 [details] > patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=375166&action=review > > >>> Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:102 > >>> + if (auto corePage = m_page->corePage()) { > >> > >> I think there always is a core page unless we're in the destructor of WebPage, so this check is possibly not needed. > > > > do you want me to remove, or should I leave for safety? > > or is there a reference style method I should use instead of getting the pointer > > leaving in for safety for now. After closing the WebPage, the core page will be null. If this code is not reachable after closing, the null check could be removed, but it does not seem trivial to verify that.
WebKit Commit Bot
Comment 7 2019-07-31 07:38:48 PDT
Comment on attachment 375166 [details] patch Clearing flags on attachment: 375166 Committed r248038: <https://trac.webkit.org/changeset/248038>
WebKit Commit Bot
Comment 8 2019-07-31 07:38:50 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.