Skip to content

Truly independent web browser

Tests/LibWeb: Unskip tests whose crashes and races were removed

Jelle Raaijmakers001ba37ccab6
diff --git a/Tests/LibWeb/TestConfig.ini b/Tests/LibWeb/TestConfig.ini
index deed556428d..8d4d54c6bb5 100644
--- a/Tests/LibWeb/TestConfig.ini
+++ b/Tests/LibWeb/TestConfig.ini
@@ -1214,9 +1214,6 @@ Text/input/wpt-import/encoding/unsupported-labels.window.html
; Times out on CI, possibly animation related: https://github.com/LadybirdBrowser/ladybird/issues/7742
Crash/wpt-import/editing/crashtests/designMode-caret-change.html
-; Times out on CI - https://github.com/LadybirdBrowser/ladybird/issues/7790
-Text/input/device-pixel-ratio-media-query.html
-
; WPT ref-tests that currently fail
Ref/input/wpt-import/css/CSS2/floats/float-nowrap-3.html
Ref/input/wpt-import/css/CSS2/floats/float-nowrap-8.html
@@ -1280,10 +1277,6 @@ Ref/input/wpt-import/css/css-contain/contain-paint-change-opacity.html
; Timing out; https://github.com/LadybirdBrowser/ladybird/issues/3912
Text/input/wpt-import/html/rendering/replaced-elements/svg-inline-sizing/svg-inline.html
-; The number of subtests that pass is inconsistent, maybe a race condition?
-; https://github.com/LadybirdBrowser/ladybird/issues/4190
-Text/input/wpt-import/css/mediaqueries/media-query-matches-in-iframe.html
-
; Times out due to us not implementing auto-commit the correct way.
; Text/input/wpt-import/IndexedDB/idbfactory_open.any.html
@@ -1304,13 +1297,6 @@ Ref/input/wpt-import/html/browsers/sandboxing/noscript-iframe.html
; https://github.com/LadybirdBrowser/ladybird/issues/6069
Text/input/input-file.html
-; Times out due to `document.adoptNode` invocation
-; https://github.com/LadybirdBrowser/ladybird/issues/6150
-Crash/wpt-import/css/css-view-transitions/first-line-reparent-crash.html
-
-; Flaky: https://github.com/LadybirdBrowser/ladybird/issues/5257
-Text/input/selection-over-multiple-code-units.html
-
; File tests that frequently time out on CI
; https://github.com/LadybirdBrowser/ladybird/issues/7179
Text/input/HTML/StructuredClone-serializable-FileList.html
@@ -1335,10 +1321,6 @@ Text/input/HTML/Navigation-object-properties.html
; https://github.com/LadybirdBrowser/ladybird/issues/8152
Text/input/keyboard-scroll-cursor-into-view.html
-; Crashes in CI.
-; https://github.com/LadybirdBrowser/ladybird/issues/8151
-Text/input/wpt-import/fullscreen/rendering/fullscreen-root-block-scroll.html
-
; Timing out Fullscreen tests
Ref/input/wpt-import/fullscreen/rendering/backdrop-iframe.html
Ref/input/wpt-import/fullscreen/rendering/backdrop-inherit.html
@@ -1384,7 +1366,3 @@ Text/input/wpt-import/scroll-to-text-fragment/redirects-target2.html
Text/input/wpt-import/scroll-to-text-fragment/scroll-to-text-fragment-after-DOMContentLoaded-target.html
Text/input/wpt-import/scroll-to-text-fragment/scroll-to-text-fragment-scroll-to-center-target.html
Text/input/wpt-import/scroll-to-text-fragment/scroll-to-text-fragment-target.html
-
-; Flaky due to performing a lot of fetches, and us not cleaning up sockets fast enough.
-; https://github.com/LadybirdBrowser/ladybird/issues/11033
-Text/input/wpt-import/scroll-to-text-fragment/redirects.html
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/mediaqueries/media-query-matches-in-iframe.txt b/Tests/LibWeb/Text/expected/wpt-import/css/mediaqueries/media-query-matches-in-iframe.txt
index dc9f63216b9..3ea697b368e 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/css/mediaqueries/media-query-matches-in-iframe.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/mediaqueries/media-query-matches-in-iframe.txt
@@ -2,8 +2,7 @@ Harness status: OK
Found 22 tests
-17 Pass
-5 Fail
+22 Pass
Pass matchMedia('(max-width: 150px)').matches should update immediately
Pass matchMedia('(width: 100px)').matches should update immediately
Pass matchMedia('(orientation: portrait)').matches should update immediately
@@ -21,8 +20,8 @@ Pass matchMedia('(width: 100px)') should not receive a change event until update
Pass matchMedia('(orientation: portrait)') should not receive a change event until update the rendering step of HTML5 event loop
Pass matchMedia('(aspect-ratio: 1/1)') should not receive a change event until update the rendering step of HTML5 event loop
Pass matchMedia('(max-aspect-ratio: 4/3)') should not receive a change event until update the rendering step of HTML5 event loop
-Fail matchMedia('(max-width: 150px)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
-Fail matchMedia('(width: 100px)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
-Fail matchMedia('(orientation: portrait)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
-Fail matchMedia('(aspect-ratio: 1/1)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
-Fail matchMedia('(max-aspect-ratio: 4/3)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
\ No newline at end of file
+Pass matchMedia('(max-width: 150px)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
+Pass matchMedia('(width: 100px)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
+Pass matchMedia('(orientation: portrait)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
+Pass matchMedia('(aspect-ratio: 1/1)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
+Pass matchMedia('(max-aspect-ratio: 4/3)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called
\ No newline at end of file