Closed Bug 952316 Opened 11 years ago Closed 9 years ago

Console errors on the about:accounts page

Categories

(Cloud Services :: Server: Firefox Accounts, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pdehaan, Unassigned)

References

Details

(Whiteboard: [qa+])

Steps to reproduce:
1. Go to "about:accounts"
2. Open up the developer console.


Actual results:
Four JavaScript/Security warnings:
1) SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery-2.0.0.min.js:1
2) Error: https://accounts-latest.dev.lcip.org/javascripts/jquery-2.0.0.min.js is being assigned a //# sourceMappingURL, but already has one
3) Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More]
4) XUL box for x-tab element contained an inline #text child, forcing all its children to be wrapped in a block.

It looks like #1 (SyntaxError/sourceMap) is coming from jQuery and can be ignored, but the other 3 should be investigated. I can't understand why we're seeing the insecure passwords error since it looks like we're serving this locally.
Blocks: 951296
Assignee: rfkelly → nobody
I'm currently seeing just #3.
(In reply to [:tracy] Tracy Walker - QA Mentor from comment #1)
> I'm currently seeing just #3.

Everything is over https, but I suspect it might be freaking out we're embedding an https iframe containing password fields on an "about" page, and whatever is throwing that error is actually upset that there are passwords on a page that is "not https", rather than "http".
More info on #3: here's what checks the URI to determine if it isn't safe: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/InsecurePasswordUtils.jsm#78

"about" pages fail that check, so fixing this bug involves fixing that.
Not for Firefox 29.
Blocks: 975219
No longer blocks: 969626
Scary warning moved out into separate bug: https://bugzilla.mozilla.org/show_bug.cgi?id=983326
Since (3) is tracked separately and the others no longer appear, I'm closing out this bug
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.