Bug 158256 Parameter dialog won't pop up in web viewer with internal browser
Steps to reproduce: 1.Open Window->Preferences->Preview, untick "Always use external browsers"and choose "Default System Browser" 2.New a parameter without default value 3.Preview in Web Viewer, input "a" as the parameter value 4.Close the browser, and preview in Web Viewer again Expected result: Parameter dialog pops up for value input Actual result: Parameter dialog won't pop up, and its value comes from the generated document
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/browsers/embedded/EmbeddedBrowserAdapter.java
* Set browser window size.
	 * 
	 * @param width browser window width
	 * @param height browser window height
	 */
	public void setSize( final int width, final int height )
	{
		Display defaultDisplay = Display.getDefault( );
		if ( defaultDisplay == Display.getCurrent( ) )
		{
			uiSetSize( width, height );
		}
		else
		{
			defaultDisplay.syncExec( new Runnable( ) {
				public void run( )
				{
					uiSetSize( width, height );
				}
			} );
		}
	}
	/**
	 * Must be run on UI thread
	 */
	private void uiSetSize( int width, int height )
	{
		getBrowser( ).setSize( width, height );
	}
}