зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
6b14827f17
Коммит
05e18c0a15
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче