LibWeb: Change attribute type to USVString where applicable

Also mark USVString attributes as containing a URL, where applicable.
This commit is contained in:
Tim Ledbetter 2024-08-08 10:35:57 +01:00 committed by Andreas Kling
commit 1369fc5069
Notes: github-actions[bot] 2024-08-17 05:59:13 +00:00
19 changed files with 66 additions and 23 deletions

View file

@ -9,7 +9,8 @@
return new Promise((resolve, reject) => {
input.addEventListener("load", () => {
resolve(`${input.src} loaded`);
const filename = input.src.split('/').pop();
resolve(`${filename} loaded`);
});
input.addEventListener("error", () => {
resolve(`${input.src} failed`);