File tree 2 files changed +1
-3
lines changed
src/org/openqa/selenium/remote/http
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ public W3CHttpCommandCodec() {
294
294
"if (!form.ownerDocument) { throw Error('Unable to find owning document'); }\n " +
295
295
"var e = form.ownerDocument.createEvent('Event');\n " +
296
296
"e.initEvent('submit', true, true);\n " +
297
- "if (form.dispatchEvent(e)) { form. submit( ) }\n " ,
297
+ "if (form.dispatchEvent(e)) { HTMLFormElement.prototype. submit.call(form ) }\n " ,
298
298
asElement (parameters .get ("id" )));
299
299
300
300
default :
Original file line number Diff line number Diff line change @@ -308,7 +308,6 @@ public void testCanClickOnAnExternalImplicitSubmitButton() {
308
308
}
309
309
310
310
@ Test
311
- @ Ignore (value = MARIONETTE , issue = "3398" )
312
311
public void canSubmitFormWithSubmitButtonIdEqualToSubmit () {
313
312
String blank = appServer .create (new Page ().withTitle ("Submitted Successfully!" ));
314
313
driver .get (appServer .create (new Page ().withBody (
@@ -321,7 +320,6 @@ public void canSubmitFormWithSubmitButtonIdEqualToSubmit() {
321
320
}
322
321
323
322
@ Test
324
- @ Ignore (value = MARIONETTE , issue = "3398" )
325
323
public void canSubmitFormWithSubmitButtonNameEqualToSubmit () {
326
324
String blank = appServer .create (new Page ().withTitle ("Submitted Successfully!" ));
327
325
driver .get (appServer .create (new Page ().withBody (
You can’t perform that action at this time.
0 commit comments