Fix for InnerBrowser::submitForm Issue 1274

Fix for submitting a form with a document-relative path including test
code.