Closed
Bug 1250963
Opened 8 years ago
Closed 8 years ago
Stop passing a JSContext to ModifyBusyCount
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Whiteboard: btpp-active)
Attachments
(2 files)
8.52 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
4.61 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
It's not needed, afaict.
Assignee | ||
Comment 1•8 years ago
|
||
The only reason NotifyRunnable::Dispatch needs a JSContext is so that it can call ModifyBusyCount in Pre/PostDispatch. The only reason that needs a JSContext is to call Cancel(), which only needs it to call Notify(), which only needs it to call NotifyPrivate, which only needs it to dispatch a NotifyRunnable.
Attachment #8723120 -
Flags: review?(khuey)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8723121 -
Flags: review?(khuey)
Attachment #8723120 -
Flags: review?(khuey) → review+
Attachment #8723121 -
Flags: review?(khuey) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/0e868ee89abc https://hg.mozilla.org/integration/mozilla-inbound/rev/257324c2ae17
Updated•8 years ago
|
Whiteboard: btpp-active
I had to back this (and bug 1250975) out for build bustage like https://treeherder.mozilla.org/logviewer.html#?job_id=22432284&repo=mozilla-inbound https://hg.mozilla.org/integration/mozilla-inbound/rev/8b81d4ca0680
Flags: needinfo?(bzbarsky)
There was also an android mochitest failure when these patches were in the tree: https://treeherder.mozilla.org/logviewer.html#?job_id=22434259&repo=mozilla-inbound Unsure if that'd be fixed as part of the fix for the build bustage or if it's a separate issue.
Assignee | ||
Comment 6•8 years ago
|
||
The issue was bug 1250975 for the static analysis issues. I'm not sure which one is the Android issue; will look into it.
Flags: needinfo?(bzbarsky)
Assignee | ||
Comment 7•8 years ago
|
||
That was bug 1250975 too.
https://hg.mozilla.org/integration/mozilla-inbound/rev/a702f6bf9459 https://hg.mozilla.org/integration/mozilla-inbound/rev/6d6d703d61e0
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a702f6bf9459 https://hg.mozilla.org/mozilla-central/rev/6d6d703d61e0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•