Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/interactive-elements/the-dialog-element/dialog-close-expected.txt

Issue 2355743005: Queue a close event for dialog.close (Closed)
Patch Set: Queue a close event for dialog.close Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 FAIL close() fires a close event assert_true: close event should be queued expec ted true got false 2 PASS close() fires a close event
3 FAIL close() on a <dialog> that doesn't have an open attribute aborts the steps Failed to execute 'close' on 'HTMLDialogElement': The element does not have an ' open' attribute, and therefore cannot be closed. 3 FAIL close() on a <dialog> that doesn't have an open attribute aborts the steps Failed to execute 'close' on 'HTMLDialogElement': The element does not have an ' open' attribute, and therefore cannot be closed.
4 PASS close() removes the open attribute and set the returnValue to the first arg ument 4 PASS close() removes the open attribute and set the returnValue to the first arg ument
5 PASS close() without argument removes the open attribute and there's no returnVa lue 5 PASS close() without argument removes the open attribute and there's no returnVa lue
6 PASS close() should set the returnValue IDL attribute but not the JS property 6 PASS close() should set the returnValue IDL attribute but not the JS property
7 Harness: the test ran to completion. 7 Harness: the test ran to completion.
8 8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698