Tests/LibWeb: Remove unused code from dialog test
This commit is contained in:
parent
816d24f647
commit
88fe236c77
Notes:
sideshowbarker
2024-07-17 02:38:39 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/88fe236c77 Pull-request: https://github.com/SerenityOS/serenity/pull/23204 Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 1 additions and 6 deletions
|
@ -1,7 +1,3 @@
|
|||
<style>
|
||||
#test-dialog {
|
||||
}
|
||||
</style>
|
||||
<script src="./include.js"></script>
|
||||
<dialog id="test-dialog" open>
|
||||
<form method="dialog">
|
||||
|
@ -12,8 +8,7 @@
|
|||
test(() => {
|
||||
const dialog = document.getElementById("test-dialog");
|
||||
const submitter = document.getElementById("submit-button");
|
||||
const submitterRect = submitter.getBoundingClientRect();
|
||||
const form = document.forms[0];
|
||||
const form = document.forms[0];
|
||||
println(`dialog.open before form submit: ${dialog.open}`);
|
||||
form.submit();
|
||||
println(`dialog.open after form submit: ${dialog.open}`);
|
||||
|
|
Loading…
Add table
Reference in a new issue