8000 REGRESSION(256491@main): [ macOS wk2 ] http/tests/navigation/fragment… · WebKit/WebKit@c266db2 · GitHub
[go: up one dir, main page]

Skip to content

Commit c266db2

Browse files
REGRESSION(256491@main): [ macOS wk2 ] http/tests/navigation/fragment-navigation-policy-ignore.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=248997 rdar://103160219 Reviewed by Tim Horton. When the policy delegate makes its decision not to load the fragment navigation (which now happens in the UI process) it also tells the test to finish. In this case we need to wait for the setTimeout(fn, 0) to tell it to finish to get the correct output. * LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore.html: * LayoutTests/platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/259395@main
1 parent 7e9c19c commit c266db2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
description("Checks that the client can prevent a fragment navigation via the decidePolicyForNavigationAction delegate.");
99
jsTestIsAsync = true;
1010

11-
if (window.testRunner)
11+
if (window.testRunner) {
1212
testRunner.setCustomPolicyDelegate(true, false);
13+
testRunner.skipPolicyDelegateNotifyDone();
14+
}
1315

1416
onload = function() {
1517
location = "#test";

LayoutTests/platform/mac-wk2/TestExpectations

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,8 +1803,6 @@ webkit.org/b/248734 media/video-inaccurate-duration-ended.html [ Crash ]
18031803
[ Monterey+ Debug x86_64 ] storage/indexeddb/request-with-null-open-db-request.html [ Pass Crash ]
18041804
[ BigSur+ ] imported/w3c/web-platform-tests/service-workers/cache-storage/cross-partition.https.tentative.html [ Pass Failure Crash ]
18051805

1806-
webkit.org/b/248997 [ BigSur+ ] http/tests/navigation/fragment-navigation-policy-ignore.html [ Pass Failure ]
1807-
18081806
# WebGL in OffscreenCanvas requires the GPUP.
18091807
imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.getcontext.worker.html [ Skip ]
18101808
imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.to.imagebitmap.w.html [ Skip ]

0 commit comments

Comments
 (0)
0