mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
Tests/LibWeb: Remove unused code from dialog test
This commit is contained in:
parent
816d24f647
commit
88fe236c77
1 changed files with 1 additions and 6 deletions
|
@ -1,7 +1,3 @@
|
||||||
<style>
|
|
||||||
#test-dialog {
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<script src="./include.js"></script>
|
<script src="./include.js"></script>
|
||||||
<dialog id="test-dialog" open>
|
<dialog id="test-dialog" open>
|
||||||
<form method="dialog">
|
<form method="dialog">
|
||||||
|
@ -12,8 +8,7 @@
|
||||||
test(() => {
|
test(() => {
|
||||||
const dialog = document.getElementById("test-dialog");
|
const dialog = document.getElementById("test-dialog");
|
||||||
const submitter = document.getElementById("submit-button");
|
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}`);
|
println(`dialog.open before form submit: ${dialog.open}`);
|
||||||
form.submit();
|
form.submit();
|
||||||
println(`dialog.open after form submit: ${dialog.open}`);
|
println(`dialog.open after form submit: ${dialog.open}`);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue