Implements HTMLDialogElement#close

This commit is contained in:
clstl 2016-08-13 16:17:03 +03:00
parent d29f61af31
commit aa5edd1118
5 changed files with 30 additions and 21 deletions

View file

@ -1,17 +1,5 @@
[dialog-close.html]
type: testharness
[close() fires a close event]
expected: FAIL
[close() on a <dialog> that doesn't have an open attribute throws an InvalidStateError exception]
expected: FAIL
[close() removes the open attribute and set the returnValue to the first argument]
expected: FAIL
[close() without argument removes the open attribute and there's no returnValue]
expected: FAIL
[close() should set the returnValue IDL attribute but not the JS property]
expected: FAIL