Closed
Bug 830905
Opened 11 years ago
Closed 11 years ago
"Add to homescreen" is broken
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed)
VERIFIED
FIXED
blocking-b2g | tef+ |
People
(Reporter: cjones, Assigned: arthurcc)
References
Details
(Keywords: regression, Whiteboard: [EU_TPE_TRIAGED])
Attachments
(1 file)
STR (1) Open browser (2) Go to soso.com (3) Tap star icon, then "Add to homescreen" Nothing happens. Nothing in logcat. $ (cd gecko/ && git rev-parse HEAD && cd ../gaia && git rev-parse HEAD) f02c5c070c9b4e589cfa23c17a76c1eafe840947 a03f7b532e9998e646d55f93a0fc03a04d7ca7d9 Broken feature, obvious blocker (however we're counting them).
Comment 1•11 years ago
|
||
Same is true of e.me. This was working in the first build out this morning that was still dated the 14th.
Comment 2•11 years ago
|
||
window.open does not return the window called 'name' [1] in order to send the 'ADD_BOOKMARK' message to homescreen app https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/js/bookmark.js#L78
this may have something to do with : bug 804824
Updated•11 years ago
|
Assignee: nobody → ben
blocking-b2g: tef? → tef+
Updated•11 years ago
|
Whiteboard: [EU_TPE_TRIAGED]
Comment 4•11 years ago
|
||
this is a critical feature, what is the regression window for this one?
Updated•11 years ago
|
Keywords: regressionwindow-wanted
Home page works on this build: Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/a4f51b077734 Gaia 9d4983b18d5ff79b5900a8075d38eea352635728 BuildID 20130111112953 Version 18.0 I'll have to narrow the window down a little further.
to note : bug 804824 was a separate issue. The build in comment 5 shows home screen on m.soso.com.
Comment 7•11 years ago
|
||
The code that was added to turn this into an inline activity which was working, is now no longer working https://github.com/mozilla-b2g/gaia/commit/3b3276f7726238d2e5170dd91c781b3c8e89bc35 As crdlc says, this is because it's expecting window.open('', 'main'); to return the main Window object of the homescreen app but it is in fact returning null. That results in there being no window object on which to send the postMessage which triggers the actual saving to homescreen. I've yet to figure out why this is.
Still working on : Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/f2460bf17811 Gaia df38c1bb813029f3ccfa4a997fb1529b3ff1a1ff BuildID 20130114230201 Version 18.0 Broken: Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/0a7c51803227 Gaia a03f7b532e9998e646d55f93a0fc03a04d7ca7d9 BuildID 20130115230201 Version 18.0
This is broken as well: Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/67503cae6a5a Gaia a03f7b532e9998e646d55f93a0fc03a04d7ca7d9 BuildID 20130115070201 Version 18.0
Assignee | ||
Comment 10•11 years ago
|
||
This bug is a side effect resulted from the resolution of bug 824677. It assigned the name of the window to a wrong object and that's why we are unable to get the correct window object using window.open. The proposed patch simply fixes it.
Comment 11•11 years ago
|
||
Comment on attachment 703155 [details]
Patch v1
r=me.
Please add a comment before that line why we need to set the attribute for app iframe.
Attachment #703155 -
Flags: review+
Assignee | ||
Comment 13•11 years ago
|
||
Fixed. https://github.com/mozilla-b2g/gaia/commit/9cbe94ede33d6247320decdf79ab0fd9a75fc95a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-b2g18:
--- → fixed
Assignee | ||
Comment 15•11 years ago
|
||
Land on v1.0.0. https://github.com/mozilla-b2g/gaia/commit/672209502c2f8e8e6df7ab160d2df70e46c20959
Comment 17•11 years ago
|
||
Gaia: Rev 7cacbcb8042b49d816a34de8e9767dcedefa6d84 B-D 2013-01-25 02:57:10 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/32c2cc3e19ff BuildID 20130124140859 Version 18.0 Verified.
Status: RESOLVED → VERIFIED
Comment 18•11 years ago
|
||
Landed on mozilla-b2g18/gaia master prior to the 1/25 branching to mozilla-b2g18_v1_0_0/v1.0.0, updating status-b2g-v1.0.0 to fixed.
status-b2g18-v1.0.0:
--- → fixed
Updated•11 years ago
|
Keywords: regressionwindow-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•