Closed Bug 884202 Opened 11 years ago Closed 7 years ago

"ASSERTION: Can't create an accessible for the document!" with pagehide event abuse

Categories

(Core :: Disability Access APIs, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
With accessibility enabled, the testcase hits:

###!!! ASSERTION: Can't create an accessible for the document!: 'parentDocAcc', file accessible/src/base/DocManager.cpp, line 389
We should fix some day, but seems just case of we've torn down docunment and then somebody adds stuff to DOM.    Probablynot too important.
No longer blocks: 888531
(In reply to Trevor Saunders (:tbsaunde) from comment #1)
> We should fix some day, but seems just case of we've torn down docunment and
> then somebody adds stuff to DOM.    Probablynot too important.

what would a fix look like? just remove an assertion or a11y logic changes?
(In reply to alexander :surkov from comment #2)
> (In reply to Trevor Saunders (:tbsaunde) from comment #1)
> > We should fix some day, but seems just case of we've torn down docunment and
> > then somebody adds stuff to DOM.    Probablynot too important.
> 
> what would a fix look like? just remove an assertion or a11y logic changes?

haven't investigated enough to be sure, but removing the assert doesn't sound totally crazy.
I think I see this assertion in a real life and it's annoying. I'd be good either fix the problem or remove it.
(In reply to alexander :surkov from comment #4)
> I think I see this assertion in a real life and it's annoying. I'd be good
> either fix the problem or remove it.

I didn't say *you* shouldn't care :-p

The no frame for text getting one gets hit a lot more often for me and annoys me a lot more.
Flags: needinfo?(ryanvm)
This still asserts when e10s is disabled, but doesn't with e10s enabled. Per discussion with eeejay, I'm just going to call this bug WFM at this point and land the testcase as a crashtest since e10s isn't far away from being the only supported mode anyway.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(ryanvm) → in-testsuite+
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: