Hi, so, I've been working on bug 891443 [1] for some time now, and I think I've tried everything I could.
Let me explain what's happening: * While running the First Time Experience we want to display some web pages in some situations if the user has configured some way to access Internet * one of these web pages is the Firefox OS Privacy Page at https://www.mozilla.org/privacy/firefox-os/ (which gets eventually redirected (twice) to https://www.mozilla.org/en-US/privacy/policies/firefox-os/ for english users) * we used to display these web pages using an embedded mozbrowser iframe, the FTU is inside the communications webapp which has the "browser" permission. * all web pages except the Firefox OS privacy page are displayed correctly. * the same page on allizom works fine * this is true for 1.1 and master builds, but _not_ for 1.0.1 builds (ie: it works in 1.0.1). However, flashing a full 1.0.1 build, and _then_ a 1.1 gecko, or a gaia master or 1.1, and it still works. * same behavior whether FTU is loaded after first reset, or later from the Settings app. Here is what I tried * replacing the internal mozbrowser iframe with a call to window.open: same bug. Strangely, the same code and same URL in a "normal" app works fine. * I added Necko logs and replaced the initial URL with the second or third redirected URL. Basically, we're doing one redirect and stop here without displaying anything. Using directly the third URL works fine. See the comment 41 [2] for the details. Now I'm lost, and I'm ready to try any foolish idea you may have. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=891443 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=891443#c41 -- Julien
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
