Closed
Bug 1204070
Opened 9 years ago
Closed 9 years ago
add a little more checking to proxy subtree removal
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: tbsaunde, Assigned: tbsaunde)
References
Details
Attachments
(1 file)
2.46 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8660049 -
Flags: review?(dbolter)
Comment 2•9 years ago
|
||
Comment on attachment 8660049 [details] [diff] [review] add a little more checking to proxy subtree removal Review of attachment 8660049 [details] [diff] [review]: ----------------------------------------------------------------- r=me with one change requested inline below: ::: accessible/ipc/DocAccessibleParent.cpp @@ +109,5 @@ > + // We shouldn't actually need this because mAccessibles shouldn't have an > + // entry for the document itself, but it doesn't hurt to be explicit. > + if (!aRootID) { > + NS_ERROR("trying to hide entire document?"); > + return false; Please return true here. Returning false destroys the world I think.
Attachment #8660049 -
Flags: review?(dbolter) → review+
Updated•9 years ago
|
Assignee: nobody → tbsaunde+mozbugs
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to David Bolter [:davidb] from comment #2) > Comment on attachment 8660049 [details] [diff] [review] > add a little more checking to proxy subtree removal > > Review of attachment 8660049 [details] [diff] [review]: > ----------------------------------------------------------------- > > r=me with one change requested inline below: > > ::: accessible/ipc/DocAccessibleParent.cpp > @@ +109,5 @@ > > + // We shouldn't actually need this because mAccessibles shouldn't have an > > + // entry for the document itself, but it doesn't hurt to be explicit. > > + if (!aRootID) { > > + NS_ERROR("trying to hide entire document?"); > > + return false; > > Please return true here. Returning false destroys the world I think. which we want to do here (at least until we find it exposes a bunch of content side bugs we need to hack around)
Comment 4•9 years ago
|
||
Maybe Maybe MOZ_DIAGNOSTIC_ASSERT(aRoodID) is good?
https://hg.mozilla.org/mozilla-central/rev/6d8da59723c3
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•