Closed Bug 1185770 Opened 10 years ago Closed 10 years ago

Promises actor does not need global: true

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
Firefox 43
Tracking Status
firefox43 --- fixed

People

(Reporter: jryans, Assigned: gl)

References

Details

Attachments

(1 file)

In bug 1084525, a promises actor was added, but was set as: type: { global: true, tab: true } in server/main.js[1]. global: true is only meant for actors that correspond to the entire application, like "preferences". Actors that are meant to used in a page context, including browser toolbox, etc. only need tab: true. We should remove global: true, unless there is something I'm missing here. [1]: https://dxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/main.js#551
:gl, can you take a look at this?
Flags: needinfo?(gabriel.luong)
Assignee: nobody → gabriel.luong
Flags: needinfo?(gabriel.luong)
Status: NEW → ASSIGNED
Attachment #8651658 - Flags: review?(nfitzgerald)
Attachment #8651658 - Flags: review?(nfitzgerald) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: