Closed
Bug 1093883
Opened 10 years ago
Closed 10 years ago
Disable app install for runtimes that don't allow it
Categories
(DevTools Graveyard :: WebIDE, defect)
DevTools Graveyard
WebIDE
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 36
People
(Reporter: jryans, Assigned: paul)
References
Details
Attachments
(1 file)
7.70 KB,
patch
|
jryans
:
review+
|
Details | Diff | Splinter Review |
Some people during Dev. Edition trials attempted to install an app to:
* Local Runtime
* Chrome Desktop
This does not work because they don't support apps today, but we still let you try, which confusing.
Reporter | ||
Comment 2•10 years ago
|
||
I was thinking we could disable based on whether the webapps actor exists.
Assignee | ||
Comment 3•10 years ago
|
||
Yes. And we can add a warning/error to details.xhtml to say that the app can not be installed on this runtime.
Flags: needinfo?(paul)
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
I don't have any iOS device at the moment to test this patch.
Reporter | ||
Comment 8•10 years ago
|
||
Comment on attachment 8519729 [details] [diff] [review]
v1
Review of attachment 8519729 [details] [diff] [review]:
-----------------------------------------------------------------
Works as intended for Chrome and iOS. (P.S. if you have a Mac but no iOS device, you can also connect to the iOS Simulator.)
For the Local Runtime, the play button is still enabled, but then fails with "Not B2G. Can't launch app.". What's a good way to do better here? We could use a trait on Firefox desktop like "webappsLaunch: false", or something. Does that seem like that a good idea? Anyway, probably best in a followup.
Attachment #8519729 -
Flags: review?(jryans) → review+
Assignee | ||
Comment 10•10 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] from comment #8)
> Comment on attachment 8519729 [details] [diff] [review]
> v1
>
> Review of attachment 8519729 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Works as intended for Chrome and iOS. (P.S. if you have a Mac but no iOS
> device, you can also connect to the iOS Simulator.)
>
> For the Local Runtime, the play button is still enabled, but then fails with
> "Not B2G. Can't launch app.". What's a good way to do better here? We
> could use a trait on Firefox desktop like "webappsLaunch: false", or
> something. Does that seem like that a good idea? Anyway, probably best in
> a followup.
Yes. I saw that (that's why I had to change how errors are displayed).
Because we can't do much with the apps actor on Firefox desktop, we should not register this actor for the browser.
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 36
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
•