From 88fe236c77ad2ceaa8205ace07cc00fd537cb14d Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Thu, 15 Feb 2024 18:29:53 +0000 Subject: [PATCH] Tests/LibWeb: Remove unused code from dialog test --- Tests/LibWeb/Text/input/form-method-dialog.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Tests/LibWeb/Text/input/form-method-dialog.html b/Tests/LibWeb/Text/input/form-method-dialog.html index 9e24c2221b..3fe6737e61 100644 --- a/Tests/LibWeb/Text/input/form-method-dialog.html +++ b/Tests/LibWeb/Text/input/form-method-dialog.html @@ -1,7 +1,3 @@ -
@@ -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}`);