Closed Bug 1337983 Opened 9 years ago Closed 9 years ago

Intermittent accessible/tests/browser/e10s/browser_treeupdate_visibility.js | application crashed [@ mozilla::a11y::DocAccessibleParent::SetCOMProxy(RefPtr<IAccessible> const &)]

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox52 --- wontfix
firefox53 --- wontfix
firefox54 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: tbsaunde)

References

Details

(Keywords: intermittent-failure, Whiteboard: aes+)

Attachments

(1 file)

So it looks like Manager() is returning null while within RecvPDocAccessibleConstructor. That doesn't seem right, is there some odd case it can happen?
Flags: needinfo?(wmccloskey)
Flags: needinfo?(bugs)
It looks to me like GetOwnerElement() is returning null from OuterDocOfRemoteBrowser(). I think that can happen while the <browser> is being constructed. I'm guessing this happens on the window.open path while we're processing a nested event loop. Fixing this so that GetOwnerElement() never returns null would be pretty tricky I think. If you can deal with GetOwnerElement() returning null in a way that makes sense, that would be the easiest fix. Otherwise, you could try to avoid sending the PDocAccessible constructor until window.open() has finished.
Flags: needinfo?(wmccloskey)
Flags: needinfo?(bugs)
(In reply to Bill McCloskey (:billm) from comment #2) > It looks to me like GetOwnerElement() is returning null from > OuterDocOfRemoteBrowser(). I think that can happen while the <browser> is > being constructed. I'm guessing this happens on the window.open path while > we're processing a nested event loop. Fixing this so that GetOwnerElement() > never returns null would be pretty tricky I think. err, I should have noticed the message was different, I was kind of in a hurry and just matched line numbers. That said we don't see the NS_ASSERTION() about frame in OuterDocOfRemoteBrowser() so I would suspect the browser element doesn't yet have an accessible. Which seems possible. > If you can deal with GetOwnerElement() returning null in a way that makes > sense, that would be the easiest fix. Otherwise, you could try to avoid > sending the PDocAccessible constructor until window.open() has finished. hmm, I'm not sure how hard it would be to deal with not having a accessible for the browser element at this point. Its probably easier than blocking PDocAccessibleConstructor though. We'd need to figure out somethingelse for the com proxy stuff, but that's the only thing that needs it.
Whiteboard: aes+
Blocks: 1332690
the outer doc of a top level content document does not necessarily exist when we recieve the PDocAccessibleConstructor message for it. So we shouldn't asser there is an outer doc here. We need to fix this more, but for now lets just remove the assert because its pretty clearly bogus.
Attachment #8836201 - Flags: review?(aklotz)
Attachment #8836201 - Flags: review?(aklotz) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Looks like this assertion goes back to Fx52. Does this need to be backported?
Assignee: nobody → tbsaunde+mozbugs
Flags: needinfo?(tbsaunde+mozbugs)
Flags: needinfo?(tbsaunde+mozbugs)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: