Closed
Bug 1214316
Opened 9 years ago
Closed 9 years ago
Improve assertions on top level remote accessible doc handling
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(3 files)
1.38 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
1.48 KB,
patch
|
Details | Diff | Splinter Review | |
1.79 KB,
patch
|
Details | Diff | Splinter Review |
The assertion in OuterDocAccessible::RemoteChildDoc() can easily fire if we haven't yet initialized the remote part.
TabParent::GetTopLevelDocAccessible() on the other hand should assert that if we don't have a top level accessible doc, we shouldn't have any other docs either.
Attachment #8673236 -
Flags: review?(tbsaunde+mozbugs)
Comment 1•9 years ago
|
||
Comment on attachment 8673236 [details] [diff] [review]
v1
> if (DocAccessibleParent* doc = tab->GetTopLevelDocAccessible()) {
> return doc;
> }
>
>- MOZ_ASSERT(false, "no top level tab document?");
> return nullptr;
might as well just be return tab->GetTopLevelDocAccessible() right?
Attachment #8673236 -
Flags: review?(tbsaunde+mozbugs) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Well, I thought you want minimal patches ;) But sure.
Assignee | ||
Comment 3•9 years ago
|
||
Assignee | ||
Comment 4•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•