Closed
Bug 789721
Opened 13 years ago
Closed 13 years ago
Check dom.mozBrowserFramesEnabled before BrowserElementPromptService initialized
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kk1fff, Assigned: kk1fff)
References
Details
Attachments
(1 file, 1 obsolete file)
3.75 KB,
patch
|
justin.lebar+bug
:
review+
mfinkle
:
feedback+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
To prevent from installing wrapped BrowserElementPromptService in application that don't use mozbrowser.
Pushed to try https://tbpl.mozilla.org/?tree=Try&rev=22cd4454a899
Attachment #659516 -
Flags: review?(justin.lebar+bug)
Comment 2•13 years ago
|
||
Mark, can you verify that this fixes the problem for you? If the commit mentioned in bug 789572 is actually the problem, I'd be surprised if this fixed anything.
Comment 3•13 years ago
|
||
Comment on attachment 659516 [details] [diff] [review]
Patch
Please add code to ensure that we don't run _init() twice.
r=me with that change, but I'd like someone to verify that this actually fixes the problem.
Attachment #659516 -
Flags: review?(justin.lebar+bug)
Attachment #659516 -
Flags: review+
Attachment #659516 -
Flags: feedback?(mark.finkle)
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #659516 -
Attachment is obsolete: true
Attachment #659516 -
Flags: feedback?(mark.finkle)
Attachment #659546 -
Flags: review?(justin.lebar+bug)
Attachment #659546 -
Flags: feedback?(mark.finkle)
Comment 5•13 years ago
|
||
Comment on attachment 659546 [details] [diff] [review]
Patch
Maybe this is a nit, but I'd move the |this._initialized = true| line earlier in _init() because if we throw an exception in the middle of _init(), I think we should just give up, rather than try to re-initialize when the pref changes again.
r+ means you don't need to re-request review on the next patch, but I would prefer to hear from mfinkle if this solves their problem before checking it in.
Attachment #659546 -
Flags: review?(justin.lebar+bug) → review+
Comment 6•13 years ago
|
||
I tested the Try build and it seems to work fine. I get the prompt when trying to install a webapp and when trying to install an add-on
Updated•13 years ago
|
Attachment #659546 -
Flags: feedback?(mark.finkle) → feedback+
Comment 7•13 years ago
|
||
Since it's a trivial change and we want to get it in the next nightly, I've pushed Patrick's patch with my last nit addressed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f94df8af137d
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•