Closed
Bug 1321622
Opened 8 years ago
Closed 8 years ago
DocAccessibleParent::Unbind does not call ProxyAccessible::SetChildDoc(nullptr)
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla53
People
(Reporter: bugzilla, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
(Whiteboard: aes+)
Attachments
(1 file)
2.07 KB,
patch
|
tbsaunde
:
review+
jcristau
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Since Unbind just does a little bit more work than RemoveChildDoc, I think I'll modify it to delegate the shared stuff to RemoveChildDoc.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8816237 -
Flags: review?(tbsaunde+mozbugs)
Comment 2•8 years ago
|
||
Comment on attachment 8816237 [details] [diff] [review]
Make Unbind delegate some work to RemoveChildDoc
> /*
> * Called when the document in the content process this object represents
>- * notifies the main process a child document has been removed.
>+ * notifies the main process a child document has been removed. It is also
>+ * called as part of an Unbind.
unbind isn't really a high level operation that I think makes sense, does it make more sense to just say called to remove a child document from its parent.
> */
> void RemoveChildDoc(DocAccessibleParent* aChildDoc)
> {
> aChildDoc->Parent()->SetChildDoc(nullptr);
> mChildDocs.RemoveElement(aChildDoc);
> aChildDoc->mParentDoc = nullptr;
> MOZ_ASSERT(aChildDoc->mChildDocs.Length() == 0);
I'm not sure that needs to hold in the case its called from Unbind() but I guess we can fix that if it comes up.
Attachment #8816237 -
Flags: review?(tbsaunde+mozbugs) → review+
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dbdc4e234e1f
Make DocAccessibleParent::Unbind delegate to DocAccessibleParent::RemoveChildDoc; r=tbsaunde
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/dbdc4e234e1f129f8a475a8709fa5e672fc93a34
Bug 1321622: Make DocAccessibleParent::Unbind delegate to DocAccessibleParent::RemoveChildDoc; r=tbsaunde
Comment 5•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8816237 [details] [diff] [review]
Make Unbind delegate some work to RemoveChildDoc
Approval Request Comment
[Feature/Bug causing the regression]: a11y+e10s
[User impact if declined]: Correctness and/or stability problems.
[Is this code covered by automated tests?]: Yes
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: No
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: No
[Why is the change risky/not risky?]: Trivial patch
[String changes made/needed]: None
Attachment #8816237 -
Flags: approval-mozilla-aurora?
Comment 7•8 years ago
|
||
Comment on attachment 8816237 [details] [diff] [review]
Make Unbind delegate some work to RemoveChildDoc
a11y/e10s fix for aurora52
Attachment #8816237 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 8•8 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•