mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Tests/LibWeb: Move assets used by multiple test types into Assets/
Having to go through multiple levels of .. is not ideal, but less odd than reaching into another test type's data files.
This commit is contained in:
Notes:
github-actions[bot]
2024-11-05 16:45:25 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/08253d6aee0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2175 Reviewed-by: https://github.com/gmta ✅
@@ -21,7 +21,7 @@
|
||||
println(`zeroBytesFace.family: ${zeroBytesFace.family}`); // "Empty Font"
|
||||
});
|
||||
|
||||
const fontData = await fetch("../../../Ref/assets/HashSans.woff").then(
|
||||
const fontData = await fetch("../../../Assets/HashSans.woff").then(
|
||||
response => response.arrayBuffer(),
|
||||
(reason) => {
|
||||
println(`FAILED to fetch font from local file ${reason}`);
|
||||
|
||||
Reference in New Issue
Block a user