diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-22 23:56:11 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-22 23:34:32 +0000 |
commit | d005b1ad1b085fc1758854084609a9006c6df7f9 (patch) | |
tree | ee4fe88d75690a72cb6efeaaf262c13a89a117f0 /Tests/LibWeb/Layout/input/link-sheet.html | |
parent | 652676fdc101cebbafcafd230047027625ec1d70 (diff) | |
download | serenity-d005b1ad1b085fc1758854084609a9006c6df7f9.zip |
LibWeb: Support loading file:// URLs via fetch (through ResourceLoader)
This builds on the existing ad-hoc ResourceLoader code for HTTP fetches
which works for files as well.
This also includes a test that checks that stylesheets loaded with the
"file" URL scheme actually work.
Diffstat (limited to 'Tests/LibWeb/Layout/input/link-sheet.html')
-rw-r--r-- | Tests/LibWeb/Layout/input/link-sheet.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/link-sheet.html b/Tests/LibWeb/Layout/input/link-sheet.html new file mode 100644 index 0000000000..359b136bd4 --- /dev/null +++ b/Tests/LibWeb/Layout/input/link-sheet.html @@ -0,0 +1 @@ +<!DOCTYPE html><head><link rel="stylesheet" href="link-sheet.css"></head><body><div id="foo">
\ No newline at end of file |