News for hackers. Stuff that matters.
Re:Firefox 23 will block non-SSL content on SSL pages by def... by stcredzero on Monday April 08, 2013 @07:29PM (#5515432)
Definitely sounds like file:// is problematic, then.
Re:Firefox 23 will block non-SSL content on SSL pages by def... by jtheory on Monday April 08, 2013 @08:17PM (#5515637)
Using a local server (instead of file:// access) would be a solution to that problem, not another problem.

That's not great...

A lot of folks get started editing HTML by downloading an existing page, editing it in some small way, and viewing the resulting page to see if it worked.

This would break that approach.

Re:Firefox 23 will block non-SSL content on SSL pages by def... by gingerlime on Tuesday April 09, 2013 @04:19AM (#5516983)
I agree, and I think not just for novice people editing HTML pages. Being able to load HTML pages locally, or send them in a zip file is important some times.

When I built Giraffe[1], a front-end for Graphite, one of my aims was that people can launch the dashboard from their desktop, then add dashboards to it by editing one file locally. So most of these people will use a server one day, but forcing them to launch a local server before they even start, really decreases the ability to play with it instantly and try it out... the code in giraffe's index.html needs to work both on the server and locally.

I already experienced strange behaviour with loading JSON/JSONP from a file:// based url, and I know it's an edge case, but it's still a useful use-case in my opinion.

[1]http://kenhub.github.io/giraffe

Re:Firefox 23 will block non-SSL content on SSL pages by def... by Hello71 on Monday April 08, 2013 @08:31PM (#5515699)
Firefox saves all assets to a _files directory then fixes the URLs to point in there.

If you really, really want to use //:

  busybox httpd -p 8080
Re:Firefox 23 will block non-SSL content on SSL pages by def... by khuey on Monday April 08, 2013 @08:44PM (#5515742)
or python -m SimpleHTTPServer 8080
Re:Firefox 23 will block non-SSL content on SSL pages by def... by fein on Monday April 08, 2013 @10:05PM (#5516047)
Hell, even new PHP comes with a packaged local dev server.
Re:Firefox 23 will block non-SSL content on SSL pages by def... by TeMPOraL on Tuesday April 09, 2013 @01:34AM (#5516614)
But it would suck that you'd have to launch a server just to view an HTML file locally... (actually, the problem is already here for some time, thanks to JS requiring protocols to match to fetch data).
Re:Firefox 23 will block non-SSL content on SSL pages by def... by kyrias on Monday April 08, 2013 @08:18PM (#5515643)
It's not file:// that's problematic, it's that you're using relative protocol URLs without an actual server to be relative to
Re:Firefox 23 will block non-SSL content on SSL pages by def... by somesay on Tuesday April 09, 2013 @06:48AM (#5517265)
Guy, you haven't got this right.