Closed Bug 792015 Opened 12 years ago Closed 12 years ago

B2G desktop build does not have a homescreen

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vingtetun, Assigned: fabrice)

Details

Attachments

(1 file, 2 obsolete files)

Sounds like the new mechanism to prevent race introduce one :)
Attached patch Patch (obsolete) — Splinter Review
Assignee: nobody → 21
Status: NEW → ASSIGNED
Attachment #662133 - Flags: review?(fabrice)
Looks like the patch is not helping :/
(In reply to Etienne Segonzac from comment #2)
> Looks like the patch is not helping :/

Sigh. Works for me :(
Comment on attachment 662133 [details] [diff] [review]
Patch

Review of attachment 662133 [details] [diff] [review]:
-----------------------------------------------------------------

Doing that just delays loading webapps.jsm but gives no guarantee that the activities are registered when you fire webapps-registry-ready
Attachment #662133 - Flags: review?(fabrice) → review-
Attached patch patch (obsolete) — Splinter Review
This patch makes sure we actually registered activities before firing webapps-registry-ready, also refactors the startup path to be ready for bug 787439
Assignee: 21 → fabrice
Attachment #662133 - Attachment is obsolete: true
Attachment #662201 - Flags: review?(21)
Attached patch patch v2Splinter Review
In this version I also moved loading webapps.jsm when we fire 'contentstart' to be sure that an extremely slow loading system app would not lose a race against the webapps registry.
Attachment #662201 - Attachment is obsolete: true
Attachment #662201 - Flags: review?(21)
Attachment #662358 - Flags: review?(21)
Comment on attachment 662358 [details] [diff] [review]
patch v2

Review of attachment 662358 [details] [diff] [review]:
-----------------------------------------------------------------

r+ but I would like a local variable.

::: dom/apps/src/Webapps.jsm
@@ +189,5 @@
> +              }
> +            }
> +            // XXXX once bug 758269 is ready, revoke perms for this app
> +            // installPermissions(this.webapps[id].localId);
> +          }

What about making a local variable of this.webapps[id] ?
Attachment #662358 - Flags: review?(21) → review+
https://hg.mozilla.org/mozilla-central/rev/8c813f40ea4e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: