| Index: LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html
|
| diff --git a/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html b/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html
|
| index e051e5b963012e20e7d990db517404d7c6851f8a..9d4262cd50fca3ddb22a7fa4b124d7d4d7261070 100644
|
| --- a/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html
|
| +++ b/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html
|
| @@ -40,11 +40,6 @@
|
| dialog.close();
|
| shouldBe("dialog.returnValue", "'Should not change because no argument to close()'");
|
|
|
| -dialog.returnValue = 'Should not change because of undefined argument to close()';
|
| -dialog.show();
|
| -dialog.close(undefined);
|
| -shouldBe("dialog.returnValue", "'Should not change because of undefined argument to close()'");
|
| -
|
| dialog.returnValue = 'Should not change because close() is invalid';
|
| shouldThrow("dialog.close('blah')", '"InvalidStateError: Failed to execute \'close\' on \'HTMLDialogElement\': The element does not have an \'open\' attribute, and therefore cannot be closed."');
|
| shouldBe("dialog.returnValue", "'Should not change because close() is invalid'");
|
|
|