Closed Bug 896773 Opened 12 years ago Closed 12 years ago

setDisplayedApp case 2 does not even try to call the callback

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: khuey, Assigned: alive)

References

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

In particular this is bad because it means that we leak the <iframe mozbrowser>. Leaking leaking an <iframe mozbrowser> is particularly bad because it leaks a bunch of IPC machinery.
Whiteboard: [MemShrink]
Which section do you mean? // Just run the callback right away if it is not homescreen if (callback) { callback(); } this one?
I know what you mean now. I think we could simply add callback() in the |windowOpened|.
Though this is an edge case but the callback indeed isn't invoked in case 2. (Only used for removeFrame)
Attachment #779744 - Flags: review?(timdream)
Attachment #779744 - Flags: review?(timdream) → review+
blocking-b2g: --- → leo?
Blocks a blocker.
blocking-b2g: leo? → leo+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Uplifted bcc157b46e364856cdbc1eaa0ce159f2e10df1d6 to: v1-train: 5bffab09198da3abfaf2c937f1f8b34fbe2b6046
v1.1.0hd: 5bffab09198da3abfaf2c937f1f8b34fbe2b6046
Whiteboard: [MemShrink] → [MemShrink] [LeoVB-]
Whiteboard: [MemShrink] [LeoVB-] → [MemShrink]
Assignee: nobody → alive
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: