mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Port of bug 341112 r+sr=jag
This commit is contained in:
parent
bd5b405454
commit
0a54e8f24c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user