Bug 121269 Allow displaying HTML source for debugging
With the new AJAX-based viewer, one can no longer see the HTML source of the page. This is extremely inconvenient for debugging engine problems, because there is not an easy way to see the HTML source code. This might fall into the category an enhancement, but since it significantly reduces other people's work efficiency, I listed its severity as a "major".
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
if ( WebViewer.PDF.equalsIgnoreCase( format ) )
		{
			root = createURL( "run", report, format ); 
		}
		else
		{
			root = createURL( "frameset", report, format ); 
		}
		try
		{
			BrowserAccessor.getPreviewBrowser( false ).displayURL( root );
		}
		catch ( Exception e )
		{
			
		}
	}
	/**
	 * Displays the specified url useing eclipse SWT browser.
	 * 
	 * @param report report report
	 * @param format report format
	 * @param browser SWT browser instance
	 */
	public static void display( String report, String format, Browser browser )
	{
		startWebApp( );
		browser.setUrl( createURL( "run", report, format ) ); 
	}
}