Skip to content

Commit

Permalink
fast/forms/select/mac-wk2/inactive-appearance.html doesn't produce re…
Browse files Browse the repository at this point in the history
…sults

https://bugs.webkit.org/show_bug.cgi?id=273441
rdar://127258496

Reviewed by Aditya Keerthi.

* LayoutTests/fast/forms/select/mac-wk2/inactive-appearance.html: Replace js-test.js with
testRunner.waitUntilDone/testRunner.notifyDone.
* LayoutTests/platform/mac-wk2/TestExpectations: fast/forms/select/mac-wk2/inactive-appearance.html
now fails.

Canonical link: https://commits.webkit.org/278267@main
  • Loading branch information
JonWBedard committed May 2, 2024
1 parent a65cb64 commit 03028cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<script src="../../../../resources/js-test.js"></script>
<script src="../../../../resources/ui-helper.js"></script>
</head>
<body>
Expand All @@ -11,14 +10,16 @@
</body>
<script>

jsTestIsAsync = true;
if (window.testRunner)
testRunner.waitUntilDone();

addEventListener("load", async () => {
if (window.internals)
window.internals.setPageIsFocusedAndActive(false);

await UIHelper.renderingUpdate();
finishJSTest();
if (window.testRunner)
testRunner.notifyDone();
});

</script>
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/platform/mac-wk2/TestExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -1909,4 +1909,4 @@ webkit.org/b/272685 [ Ventura+ x86_64 ] imported/w3c/web-platform-tests/svg/pain

webkit.org/b/273012 [ Ventura+ x86_64 ] imported/w3c/web-platform-tests/svg/painting/reftests/percentage.svg [ ImageOnlyFailure ]

webkit.org/b/273441 fast/forms/select/mac-wk2/inactive-appearance.html [ Skip ]
webkit.org/b/273588 fast/forms/select/mac-wk2/inactive-appearance.html [ Pass ImageOnlyFailure ]

0 comments on commit 03028cd

Please sign in to comment.