mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Change attribute type to USVString where applicable
Also mark USVString attributes as containing a URL, where applicable.
This commit is contained in:
parent
335d51d678
commit
1369fc5069
Notes:
github-actions[bot]
2024-08-17 05:59:13 +00:00
Author: https://github.com/tcl3
Commit: 1369fc5069
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1059
Reviewed-by: https://github.com/shannonbooth
19 changed files with 66 additions and 23 deletions
|
@ -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`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue