[webkit-changes] [WebKit/WebKit] ed4665: Make priority hints tests more stable
Rob Buis
noreply at github.com
Wed Apr 12 13:40:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ed46651c79801e40b8e2d1fa5fd53d9dad7af48f
https://github.com/WebKit/WebKit/commit/ed46651c79801e40b8e2d1fa5fd53d9dad7af48f
Author: Rob Buis <rbuis at igalia.com>
Date: 2023-04-12 (Wed, 12 Apr 2023)
Changed paths:
M LayoutTests/http/tests/priority-hints/fetch-api-priority.html
M LayoutTests/http/tests/priority-hints/link-header-fetch-priority.py
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
Log Message:
-----------
Make priority hints tests more stable
https://bugs.webkit.org/show_bug.cgi?id=254885
Reviewed by Fujii Hironori.
Make two priority hints tests stable. To fix fetch-api-priority.html
in addition we need getResourcePriority to fallback to the memory
cache, since gc could clear the document resources in CachedResourceLoader
at any time.
* LayoutTests/http/tests/priority-hints/fetch-api-priority.html:
* LayoutTests/http/tests/priority-hints/link-header-fetch-priority.py:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::isLoadingFromMemoryCache):
(WebCore::Internals::resourceFromMemoryCache):
(WebCore::Internals::getResourcePriority):
* Source/WebCore/testing/Internals.h:
Canonical link: https://commits.webkit.org/262883@main
More information about the webkit-changes
mailing list