Bug 240344 Paste in bultin-browser goes to address field instead of form input field
Build ID: I20080617-2000 Steps To Reproduce: Launch a web application into the built-in browser that has a form. Click in a form field to place the cursor there. Press Ctrl-V or Select Edit/Paste in the menu. In either case the cliboard content is appended to the address bar in the browser.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserEditorActionBarContributor.java
});
							return menu;
						}
	
						public Menu getMenu(final Menu parent) {
							Menu menu = new Menu(parent);
							
							// locked favorites
							Iterator iterator = WebBrowserUtil.getLockedFavorites().iterator();
							if (iterator.hasNext()) {
								while (iterator.hasNext()) {
									final Favorite f = (Favorite) iterator.next();
									MenuItem item = new MenuItem(menu, SWT.NONE);
									item.setText(f.getName());
									item.setImage(ImageResource.getImage(ImageResource.IMG_FAVORITE));
									item.addSelectionListener(new SelectionAdapter() {
										public void widgetSelected(SelectionEvent event) {
											getWebBrowser().setURL(f.getURL());
										}
									});
								}
								
								new MenuItem(menu, SWT.SEPARATOR);
							}
							
							iterator = WebBrowserPreference.getInternalWebBrowserFavorites().iterator();
							if (!iterator.hasNext()) {
								MenuItem item = new MenuItem(menu, SWT.NONE);
								item.setText(Messages.actionWebBrowserNoFavorites"));
							}