Last Comment Bug 746771 - Mac installer needs to use updated webapp.json structure with registryDir instead of app.profile
: Mac installer needs to use updated webapp.json structure with registryDir ins...
Product: Firefox Graveyard
Classification: Graveyard
Component: Web Apps (show other bugs)
: 14 Branch
: x86 Mac OS X
-- normal
: Firefox 14
Assigned To: :Felipe Gomes (needinfo me!)
: Jason Smith [:jsmith]
Depends on: 725408 739636
Blocks: 746213
  Show dependency treegraph
Reported: 2012-04-18 15:25 PDT by Ed Lee :Mardak
Modified: 2016-02-04 15:00 PST (History)
6 users (show)
jsmith: in‑moztrap-
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

Patch (712 bytes, patch)
2012-04-18 15:34 PDT, :Felipe Gomes (needinfo me!)
myk: review+
Details | Diff | Splinter Review
for checkin (1.12 KB, patch)
2012-04-20 15:39 PDT, Ed Lee :Mardak
no flags Details | Diff | Splinter Review

Description User image Ed Lee :Mardak 2012-04-18 15:25:26 PDT
The code from bug 739636 creates a json object of format:
  app: {
    profile: ..,
    origin: ..,
    installOrigin: ..,
    manifest: ..

The runtime from bug 725408 is expecting a top level registryDir property on this config file.
Comment 1 User image Jason Smith [:jsmith] 2012-04-18 15:29:16 PDT
Dan - Any ideas?
Comment 2 User image :Felipe Gomes (needinfo me!) 2012-04-18 15:34:14 PDT
Created attachment 616320 [details] [diff] [review]

I'll wait for Mardak to confirm this is the correct fix before requesting review
Comment 3 User image Myk Melez [:myk] [@mykmelez] 2012-04-19 16:02:27 PDT
Comment on attachment 616320 [details] [diff] [review]

This is the right fix, per the install flow <>.  However, also remove the `profile` property from the `app` structure, as it is redundant and unnecessary.
Comment 4 User image Ed Lee :Mardak 2012-04-20 15:39:20 PDT
Created attachment 617125 [details] [diff] [review]
for checkin
Comment 6 User image Phil Ringnalda (:philor) 2012-04-21 23:53:29 PDT
Comment 7 User image Jason Smith [:jsmith] 2012-05-18 17:59:20 PDT
To verify this bug, I need to install an application and check that the webapp.json file contains registryDir, right?

For some reason when I do "Show Package Contents" on Mac, I can't find the webapp.json file. Is this expected?
Comment 8 User image Ed Lee :Mardak 2012-05-19 10:05:12 PDT
webapp.json actually appears in the user's profile and not part of the application:

~/Library/Application Support/;https;-1/webapp.json
Comment 9 User image Jason Smith [:jsmith] 2012-05-24 17:51:34 PDT
Verified on OS X 10.7.

Note You need to log in before you can comment on or make changes to this bug.