Closed
Bug 854880
Opened 11 years ago
Closed 11 years ago
Canceling a RunnableFunction does not do anything
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file)
633 bytes,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
ipc::RunnableFunction::Cancel() is empty. That is...not what I expected that function to do. Patch in a moment.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → justin.lebar+bug
Assignee | ||
Comment 1•11 years ago
|
||
This is such a wtf, I find it hard to believe it's unintentional. But I can't see why one would want this behavior, and it's breaking code we have in ContentChild that naively expects canelling a runnable will prevent it from running. Am I missing something, Ben?
Attachment #729506 -
Flags: review?
Assignee | ||
Comment 2•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=2a27e9aada69
Assignee | ||
Updated•11 years ago
|
Attachment #729506 -
Flags: review? → review?(bent.mozilla)
Comment on attachment 729506 [details] [diff] [review] Patch, v1 Review of attachment 729506 [details] [diff] [review]: ----------------------------------------------------------------- r=me.
Attachment #729506 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f1b0e51c1b92
Assignee | ||
Comment 5•11 years ago
|
||
tef? -- This indirectly blocks a blocker. This is actually a bit scary, since it's hard to find all the people who call Cancel() and make sure that they don't blow up if the task is not canceled. We might be able to work around this bug on branches the blocking issue by making only this one task be canceled, but there are many costs to fragmenting our code base like that. In particular, since m-c gets essentially zero b2g testing, checking in a branch-only change would essentially remove any b2g testing of this patch on m-c. Then when we eventually switch back to m-c, we'll have big problems. I would prefer to avoid that.
blocking-b2g: --- → tef?
Updated•11 years ago
|
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f1b0e51c1b92
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Comment 7•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/bacaaa4ae31f https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/6bd8fab5b597
status-b2g18-v1.0.0:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → wontfix
status-firefox22:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•