Closed
Bug 920478
Opened 12 years ago
Closed 12 years ago
[app manager] if the launch path of an app is missing or invalid, we don't show any warning
Categories
(DevTools Graveyard :: WebIDE, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: paul, Assigned: ochameau)
References
Details
Attachments
(1 file, 5 obsolete files)
|
13.55 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → poirot.alex
| Assignee | ||
Comment 1•12 years ago
|
||
This adds a bunch of tests against the launch path in the validator
and comes with unit tests.
https://tbpl.mozilla.org/?tree=Try&rev=20580121d10b
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #815135 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 816491 [details] [diff] [review]
Print errors when something is wrong with app launch path r=paul
Review of attachment 816491 [details] [diff] [review]:
-----------------------------------------------------------------
https://tbpl.mozilla.org/?tree=Try&rev=1c0688ee4510
::: browser/devtools/app-manager/app-validator.js
@@ +54,5 @@
> this.error(strings.formatStringFromName("validator.invalidManifestURL", [manifestURL], 1));
> deferred.resolve(null);
> return deferred.promise;
> }
> + req.channel.loadFlags |= Ci.nsIRequest.LOAD_BYPASS_CACHE | Ci.nsIRequest.INHIBIT_CACHING;
This additional flag was required for tests to behave sanely. So it may fix bug 925219.
Attachment #816491 -
Flags: review?(paul)
| Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 816491 [details] [diff] [review]
Print errors when something is wrong with app launch path r=paul
> + req.channel.loadFlags |= Ci.nsIRequest.LOAD_BYPASS_CACHE | Ci.nsIRequest.INHIBIT_CACHING;
This is important for bug 925219 and we need it in aurora.
But we can't land the whole patch in Aurora (strings).
Can you fix that in bug 925219, or have 2 different patches in this bug?
Attachment #816491 -
Flags: review?(paul) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Attachment #816491 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Attachment #816502 -
Flags: review+
| Assignee | ||
Comment 6•12 years ago
|
||
I had to modify bug 926332 per review comments.
The getTestFile method is now getTestFilePath and returns a file path instead of nsIFile.
I also fixed a test failure on windows.
I'm carrying over the review as it is really simple updates, but feel free to take another look at it.
Attachment #816502 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Attachment #817128 -
Flags: review+
| Reporter | ||
Updated•12 years ago
|
Attachment #817128 -
Flags: review+
| Assignee | ||
Comment 7•12 years ago
|
||
Attachment #817128 -
Attachment is obsolete: true
| Assignee | ||
Comment 8•12 years ago
|
||
Attachment #817846 -
Attachment is obsolete: true
| Reporter | ||
Updated•12 years ago
|
Attachment #817869 -
Flags: review+
| Assignee | ||
Comment 9•12 years ago
|
||
Test are green and dependency (bug 926332) is ready to land.
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Sorry, I had to back out this change because it depends on bug 926332 which was backed out:
https://hg.mozilla.org/integration/fx-team/rev/c31df2ff673f
Comment 12•12 years ago
|
||
Status: NEW → ASSIGNED
Comment 13•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•