The issue occurs as well if one tries to load a local files (e.g. PAC files).
Easier STR: 1) Open Scratchpad in Firefox 16. 2) Set the Environment to Browser (you need to set the devtools.chrome.enabled preference to true). 3) Run this code: open("view-source:" + "http://getfoxyproxy.org/downloads.html", "", "scrollbars,resizable,chrome,dialog=no,width=450,height=425"); This should show the error, though the source viewer displays with no apparent problems. Running the same code in the Content environment, or removing the 'chrome' feature in the open call removes the error.
Yeah I'm looking at this. Gimme a few more.
This is bug 774633 :-( The patches in that bug fix this bug. Now they if only we could get them reviewed. ;-)
Bug 774633 is fixed now, and the STR in Comment 3 doesn't trigger an error using: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20130505 Firefox/23.0 So I guess this bug can be resolved?
sounds good to me.