Closed
Bug 1170595
Opened 9 years ago
Closed 9 years ago
fix race between document shutdown in child and parent sending messages
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: tbsaunde, Assigned: tbsaunde)
Details
Attachments
(3 files)
1.53 KB,
patch
|
lsocks
:
review+
|
Details | Diff | Splinter Review |
5.03 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
1.38 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8614108 -
Flags: review?(lorien)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8614109 -
Flags: review?(dbolter)
Updated•9 years ago
|
Assignee: nobody → tbsaunde+mozbugs
Comment 3•9 years ago
|
||
Comment on attachment 8614109 [details] [diff] [review] switch to sending __delete__ from the parent instead of the child Review of attachment 8614109 [details] [diff] [review]: ----------------------------------------------------------------- r=me. Thanks for IRC'ing. (__delete__ is still a bit of mysterious to me) ::: accessible/ipc/DocAccessibleChild.h @@ +33,5 @@ > ~DocAccessibleChild() > { > + MOZ_ASSERT(!mDoc); > + if (mDoc) > + mDoc->SetIPCDoc(nullptr); nit: If you have any hunches why we need this maybe add a comment?
Attachment #8614109 -
Flags: review?(dbolter) → review+
Updated•9 years ago
|
Attachment #8614108 -
Flags: review?(lorien) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8615992 -
Flags: review?(bugs)
Comment 5•9 years ago
|
||
Comment on attachment 8615992 [details] [diff] [review] only send __delete__ from DocAccessibleParent if the tab isn't destroyed > DocAccessibleParent::RecvShutdown() > { > Destroy(); >+ >+ if (!static_cast<dom::TabParent*>(Manager())->IsDestroyed()) { > return PDocAccessibleParent::Send__delete__(this); Missing 2 space indentation for the return
Attachment #8615992 -
Flags: review?(bugs) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/33283f55d8ef https://hg.mozilla.org/integration/mozilla-inbound/rev/78fc82c0601a
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/33283f55d8ef https://hg.mozilla.org/mozilla-central/rev/78fc82c0601a
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•