Closed
Bug 919831
Opened 11 years ago
Closed 11 years ago
Can't debug new packaged app with custom origin
Categories
(DevTools Graveyard :: WebIDE, defect, P1)
DevTools Graveyard
WebIDE
Tracking
(firefox26 verified, firefox27 verified, b2g-v1.2 fixed)
RESOLVED
FIXED
Firefox 27
People
(Reporter: jryans, Assigned: ochameau)
Details
(Keywords: verifyme, Whiteboard: [needs-coverage])
Attachments
(2 files)
17.98 KB,
application/x-gzip
|
Details | |
4.89 KB,
patch
|
paul
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR: 1. Add the attached app to the App Manager 2. Connect to a device or simulator 3. Click "Debug" ER: You are supposed to get a toolbox connected to the app. AR: The app is installed on the device, but it does not start, and no toolbox is shown. Eventually, the message "Unable to connect to app" appears. However, it *is* possible to connect to the app if you disconnect, reconnect, go to Installed Apps (it doesn't update the list until you reconnect), and click "Debug" there. Even after this reconnection dance, it is still not possible to debug from the projects page. That button attempts to reinstall the app again.
Assignee | ||
Comment 1•11 years ago
|
||
Ok, that's because of the custom app origin field in its manifest. "origin": "app://test.webapi.permissions.com", As the app is a packaged app, we create a random uuid for it and use app://$(random-uuid)/manifest.webapp manifest URL... but the app is installed with the manifest URL following its manifest overriden origin. app://test.webapi.permissions.com/manifest.webapp. So when we try to launch the app, it fails, and it also fails when we try to get its actors.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → poirot.alex
Assignee | ||
Comment 2•11 years ago
|
||
Updated•11 years ago
|
Attachment #809869 -
Flags: review+
Reporter | ||
Updated•11 years ago
|
Summary: Can't debug new packaged app → Can't debug new packaged app with custom origin
Updated•11 years ago
|
Summary: Can't debug new packaged app with custom origin → Can't debug new packaged app
Whiteboard: [needed-in-aurora-26]
Updated•11 years ago
|
Summary: Can't debug new packaged app → Can't debug new packaged app with custom origin
Reporter | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/5fd6af0ff7f8
Keywords: checkin-needed
Whiteboard: [needed-in-aurora-26] → [needed-in-aurora-26][fixed-in-fx-team]
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5fd6af0ff7f8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [needed-in-aurora-26][fixed-in-fx-team] → [needed-in-aurora-26]
Target Milestone: --- → Firefox 27
Comment 5•11 years ago
|
||
Comment on attachment 809869 [details] [diff] [review] Fix support of packaged apps with custom origin r=paul [Approval Request Comment] Bug caused by (feature/regressing bug #): new feature (app manager) User impact if declined: some app Testing completed (on m-c, etc.): Some project can't be debugged Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch: none
Attachment #809869 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Whiteboard: [needed-in-aurora-26] → [waiting-for-aurora-approval]
Updated•11 years ago
|
Attachment #809869 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 6•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/11994bee127d
status-b2g-v1.2:
--- → fixed
status-firefox26:
--- → fixed
status-firefox27:
--- → fixed
Whiteboard: [waiting-for-aurora-approval]
Comment 7•11 years ago
|
||
I am not able to open the attached app using Firefox OS 1.3 Simulator. The format of the app is not recognized by the app manager. Ryan can you please provide some STR about how this attached app can be opened?
Flags: needinfo?(jryans)
Reporter | ||
Comment 8•11 years ago
|
||
You'll need to expand the .tgz file into a directory first. On Linux or Mac, you could do that with the command "tar xzvf test-webapi-permissions.tgz". Then, you should be able to point the App Manager at the expanded directory that you get from that. Hopefully that helps!
Flags: needinfo?(jryans)
Comment 9•11 years ago
|
||
Verified as fixed on FF 26.05 Build identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 Build id:20131114085019 Environments used: Win 7 x64 Mac Os 10.7.5 Ubuntu 12.10 x32
Comment 10•11 years ago
|
||
Verified as fixed with Firefox 27 beta 1 (build ID: 20131209204824) on: Win 7 64-bit, Ubuntu 12.04 32-bit and Mac OS X 10.7.5
Reporter | ||
Updated•10 years ago
|
Whiteboard: [needs-coverage]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•