Closed
Bug 1017029
Opened 11 years ago
Closed 11 years ago
[appmgr v2] Validation is not triggered after the file manifest has changed
Categories
(DevTools Graveyard :: WebIDE, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 32
People
(Reporter: paul, Assigned: paul)
References
Details
Attachments
(1 file)
5.22 KB,
patch
|
ochameau
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Small fix, big test.
Attachment #8430091 -
Flags: review?(poirot.alex)
Comment 2•11 years ago
|
||
Comment on attachment 8430091 [details] [diff] [review]
v1
Review of attachment 8430091 [details] [diff] [review]:
-----------------------------------------------------------------
Can you ensure running this test on try before landing?
The previous try run you gave on bug 1007218 didn't seem to be running webide test:
https://tbpl.mozilla.org/?tree=Try&rev=b27aaed038bc
::: browser/devtools/webide/test/test_manifestUpdate.html
@@ +35,5 @@
> +
> + let project = win.AppManager.selectedProject;
> +
> + let deferred = promise.defer();
> + win.UI.projecteditor.once("onEditorCreated", deferred.resolve);
What about registering the listener before the call that is going to dispatch the event (importPackagedApp?)?
Is it Task-proof?
@@ +59,5 @@
> + let json = JSON.parse(data);
> + is(json.name, "xxx", "manifest written on disc");
> +
> + // Make the manifest invalid on disk
> + delete json.name
miss `;`
Attachment #8430091 -
Flags: review?(poirot.alex) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Alexandre Poirot (:ochameau) from comment #2)
> Comment on attachment 8430091 [details] [diff] [review]
> v1
>
> Review of attachment 8430091 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Can you ensure running this test on try before landing?
> The previous try run you gave on bug 1007218 didn't seem to be running
> webide test:
> https://tbpl.mozilla.org/?tree=Try&rev=b27aaed038bc
I'll make sure all the tests pass in bug 1007057 (not required to land this patch).
> ::: browser/devtools/webide/test/test_manifestUpdate.html
> @@ +35,5 @@
> > +
> > + let project = win.AppManager.selectedProject;
> > +
> > + let deferred = promise.defer();
> > + win.UI.projecteditor.once("onEditorCreated", deferred.resolve);
>
> What about registering the listener before the call that is going to
> dispatch the event (importPackagedApp?)?
> Is it Task-proof?
projecteditor is not available earlier.
> @@ +59,5 @@
> > + let json = JSON.parse(data);
> > + is(json.name, "xxx", "manifest written on disc");
> > +
> > + // Make the manifest invalid on disk
> > + delete json.name
>
> miss `;`
Ok.
Assignee | ||
Comment 4•11 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 5•11 years ago
|
||
Damn, I pushed and forgot to add the ';'. I don't want to push again just for this. I'll add the ';' in bug 1016924.
Comment 6•11 years ago
|
||
Assignee: nobody → paul
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•