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:
vidur%netscape.com 2006-09-14 05:53:04 +00:00
parent 3f51b584d7
commit 6705a3f95e

View File

@ -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);
}