Allow tools to build a concrete panel rather than only a promise of a panel

RESOLVED FIXED in Firefox 22

Status

()

Firefox
Developer Tools: Framework
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jwalker, Assigned: jwalker)

Tracking

Trunk
Firefox 22
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

i.e. Allow:

    build: function(frame, target) {
      return new MyPanel(frame, target);
    }

In addition to

    build: function(frame, target) {
      var panel = new MyPanel(frame, target);
      return panel.open(window);
    }
    MyPanel.prototype.open = function() {
      return Promise.resolve(this);
    };
Created attachment 726140 [details] [diff] [review]
v1
Assignee: nobody → jwalker
Status: NEW → ASSIGNED
Attachment #726140 - Flags: review?(mratcliffe)
Comment on attachment 726140 [details] [diff] [review]
v1

Review of attachment 726140 [details] [diff] [review]:
-----------------------------------------------------------------

Simple enough.
Attachment #726140 - Flags: review?(mratcliffe) → review+
https://hg.mozilla.org/mozilla-central/rev/ed8fc1dfe8aa
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 22
You need to log in before you can comment on or make changes to this bug.