about:accounts Doesn't load anything in the white box when 'Get started' is clicked on Firefox 30 (i.e. Aurora) #1017
Comments
David, Is there anything getting logged to the Developer Tools console? On Sunday, April 27, 2014, David Bailey notifications@github.com wrote:
|
Problems seen on both Ubuntu builds and Mozilla builds. See also a discussion in the Sumo support forum https://support.mozilla.org/en-US/questions/996664 |
@aka-John99 @DevilishDB hey! Are you able to navigate to https://accounts.firefox.com/legal/privacy and see the page? Also do you get any errors (besides |
@aka-John99 I was the one who started that discussion! ;-) |
@DevilishDB
Yes that was how I found this. I thought others may be interested in the cross reference as the support thread may gather other confirmations or spin off bugzilla bugs. Within the next few days I anticipate the support forum getting a lot of attention relating to Fx 29 as Fx29 Releases with great fanfare on Tuesday.
Yes
Browser console Canonical Fx30 (Using a working profile) Browser console Mozilla Fx29 no errors. |
@aka-John99 @DevilishDB any issues downloading this file https://accounts.firefox.com/scripts/8f998cda.main.js (check the networking tab)? |
Not sure what you need checking but the js does seem to load & reload ok. Console networking tab shows. (Tested in working profile Canonical GET https://accounts.firefox.com/scripts/8f998cda.main.js [HTTP/1.1 304 Not Modified 809ms] |
Correction
Should read Canonical Fx30 |
From this console, this looks like the Modernizr issue from #949 |
@shane-tomlinson is able to repro in Ubuntu. The plot thickens. |
In Ubuntu, the request to
|
From
|
If I add |
The key is removing all supported languages. If the browser sends |
Possibly related to #979; Blank pages and 404ing client.json when you don't have a locale selected? |
@DevilishDB - what languages are you set up to support? Could you copy in your |
confirmed that |
Based on current thinking, this is unlikely. |
@pdehaan @shane-tomlinson @ckarlof How can I add a language to the |
@DevilishDB - Can you try this experiment to see if this solves your problem -
|
diff --git a/app/scripts/lib/translator.js b/app/scripts/lib/translator.js
index dd2b1c8..3f25f92 100644
--- a/app/scripts/lib/translator.js
+++ b/app/scripts/lib/translator.js
@@ -31,7 +31,17 @@ function (_, $, Strings) {
.done(function (data) {
self.translations = data;
})
- .always(done);
+ .fail(function () {
+ // allow for 404's. `.get` will use the key for the translation
+ // if a value is not found in the translations table. This means
+ // English will be the fallback.
+ self.translations = {};
+ })
+ .always(function () {
+ // do not surface any errors, allow the app to load even
+ // if there are no translations for this locale.
+ done();
+ });
},
/** Note, this is not a fix for the core issue, which is "why isn't the server using the fallback locale"? This only works around the problem. |
Possibly my Canonical Fx30 is seeing a different issue. Using the working profile it has Mozilla Fx29 on Ubuntu however also has a problem that is giving 404 on My Mozilla Fx31 had no problems, on the same machine, as I reported in the support.mozilla thread. Canonical Fx30Edit - unrelated issueTurns out two problems
Mozilla Fx29
|
Thanks @aka-John99! We're working on a fix for this (hopefully) to be released today. |
Yes good news, hope the fix goes ok. Thanks for the work. The Canonical fx30 issue turned out to be an addon Noscript, causing the issue. Once en-US was available I had to either disable NoScript or use its lowest "allow scripts globally" setting. |
The "Noscript" add-on sounds interesting. We currently have a block which will display the following message if your browser has JavaScript disabled (via about:config; set
I'm guessing the Noscript add-on throws a small wrench into that, as Firefox/Noscript must be reporting JavaScript as enabled, yet blocking JavaScript from running so the noscript block doesn't appear and new content is blocked from loading, giving us a fantastically minimal page. "Neat". I can do some more investigation tonight/tomorrow and file a separate bug for noscript (and link it back here to @aka-John99's comments above). As for this bug, it sounds like it was fixed (#1025) and already pushed to staging server (and hopefully to prod soon). |
I think @DevilishDB's issue is fixed since he was using "en-gb" as a language, which isnt one of the supported languages, and the fallback language of "en-us" wasnt resolving on the server correctly. @aka-John99 had 2 issues:
So I think all the issues above were fixed via #1025 and via disabling/adjusting the Noscript add-on. Closing as fixed via #1025 We can discuss any new issues in a separate bug and link back here as this bug is already getting a bit crowded. |
Yep, the problem is fixed now, thanks all for your help! |
When you go to the sync page from the Firefox menu, the nice sync page will load up with a button asking you if you want to get started:
But when you go any further and click get started, this just happens:
In Chromium the whole thing works fine (Firefox's sync page in Chromium, at accounts.firefox.com) and the exact iframe inside the blank box also works fine in Chromium, displaying the page where you can sign up or sign in.
It's unlikely to be a problem with add-ons since I disabled them all at one point to test and restarted, didn't fix. I also cleared localStorage and the cache just to check, still didn't fix it.
The text was updated successfully, but these errors were encountered: