Port of bug 341112 r+sr=jag

git-svn-id: svn://10.0.0.236/trunk@201798 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk 2006-07-09 19:03:53 +00:00
parent 4fccec0b85
commit 4d29d12da7

View File

@ -203,7 +203,7 @@ function viewPartialSourceForSelection(selection)
}
// all our content is held by the data:URI and URIs are internally stored as utf-8 (see nsIURI.idl)
var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;
getBrowser().webNavigation
.loadURI("view-source:data:text/html;charset=utf-8," + encodeURIComponent(tmpNode.innerHTML),
loadFlags, null, null, null);