Summary: | [ iOS ] http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-without-interaction.py is a flaky failure | ||
---|---|---|---|
Product: | WebKit | Reporter: | ayumi_kojima |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | achristensen, cdumez, katherine_cheney, webkit-bot-watchers-bugzilla, webkit-bug-importer, wilander |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | iPhone / iPad | ||
OS: | Unspecified |
Description
ayumi_kojima
2021-10-12 09:41:43 PDT
Marked test expectations https://trac.webkit.org/changeset/283989/webkit I was not able to reproduce the failure locally using run-webkit-tests --ios-simulator --iterations 50 --exit-after-n-failures 1 http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-without-interaction.py --force Based on the Apache Access log, I think we fail on step 1: case "#step1": setSessionCookie(); setPersistentCookie(); checkCookies(true, true); if (testRunner.hasStatisticsIsolatedSession(prevalentOrigin)) testPassed("Origin has isolated session."); else { testFailed("Origin has no isolated session."); setEnableFeature(false, finishJSTest); } document.location.href = nonPrevalentOrigin + "/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-without-interaction.py#step2"; break; I am unclear why the session would not be recognized as isolated, since sessions are isolated unconditionally nowadays. I could only see 2 reasons: 1. We have not done any loads for that origin yet. This seems unlikely since the origin in question is "http://127.0.0.1:8000" and we should have just loaded the main resource of the test from this origin. 2. Something is clearing the isolated session. I do see there is a NetworkSessionCocoa::clearIsolatedSessions() for e.g. I haven't been able to reproduce on iOS simulator so far and I currently don't have any idea of how this could fail. This test no longer exists. It was reverted. |