| Summary: | AX: Crash in accessing AXObjectCache in textMarkerDataForVisiblePosition | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | chris fleizach <cfleizach> | ||||||
| Component: | Accessibility | Assignee: | chris fleizach <cfleizach> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aboxhall, apinheiro, commit-queue, dmazzoni, ews-watchlist, jcraig, jdiggs, n_wang, samuel_white, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
chris fleizach
2018-07-10 10:51:26 PDT
Created attachment 344712 [details]
patch
Comment on attachment 344712 [details]
patch
r=me
There are other instances of calling someobject->document().axObjectCache(). Do we need to null check those as well? Or is there a better way to know that document is being destructed.
(In reply to Nan Wang from comment #3) > Comment on attachment 344712 [details] > patch > > r=me > There are other instances of calling someobject->document().axObjectCache(). > Do we need to null check those as well? Or is there a better way to know > that document is being destructed. I'll check those other instances in this area. we could check if the document is destroyed, but checking the cache seems a bit more straight-forward and does the same thing for our purposes. Created attachment 344713 [details]
patch
Comment on attachment 344713 [details] patch Clearing flags on attachment: 344713 Committed r233699: <https://trac.webkit.org/changeset/233699> All reviewed patches have been landed. Closing bug. |