mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
Fix for bug 49187. ViewSource now emits HTML. The VIEW_SOURCE_HTML #define at the top of nsViewSourceHTML.cpp and nsLayoutDLF.cpp allows us to switch back to XML if necessary. The VIEW_SOURCE_COLORING #define in nsViewSourceHTML.cpp allows us to turn on source coloring. Without source coloring (the default right now), bringing up source is considerably faster. r=harishd
This commit is contained in:
parent
3f51b584d7
commit
6705a3f95e
@ -1332,7 +1332,7 @@ function BrowserChangeTextSize(newSize)
|
||||
//now try to open a view-source window while inheriting the charset
|
||||
window.openDialog( "chrome://navigator/content/viewSource.xul",
|
||||
"_blank",
|
||||
"chrome,dialog=no",
|
||||
"scrollbars,chrome,dialog=no",
|
||||
window._content.location, docCharset);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user