| Index: third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element.html b/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element.html
|
| index c54f4a335d592de11618f9e9d25fa602131eb59c..485b74ad9555254f78837b90cbbc22c594a36301 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element.html
|
| @@ -32,12 +32,11 @@ function afterSubmit(form)
|
| form.removeChild(hidden);
|
| }
|
|
|
| -document.getElementById('target').onload = function(event) {
|
| - shouldBeEqualToString('event.target.contentWindow.location.search', '?textData=b&submitform=Step');
|
| - finishJSTest();
|
| -}
|
| -
|
| window.onload = function() {
|
| + document.getElementById('target').onload = function(event) {
|
| + shouldBeEqualToString('event.target.contentWindow.location.search', '?textData=b&submitform=Step');
|
| + finishJSTest();
|
| + }
|
| document.getElementById('submitButton').click();
|
| }
|
|
|
|
|