forked from LadybirdBrowser/ladybird
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb: Change attribute type to USVString where applicable
Also mark USVString attributes as containing a URL, where applicable.
- Loading branch information
Showing
19 changed files
with
67 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
../../Layout/input/120.png loaded | ||
120.png loaded | ||
file:///i-do-no-exist-i-swear.png failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
audio.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
embed.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
frame.longDesc final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
frame.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
iframe.longDesc final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
iframe.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
img.longDesc final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
img.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
input.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
link.href final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
script.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
source.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
track.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
video.poster final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD | ||
video.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
wfh | ||
file:///example/file/location/wfh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
failed to load: "data:" | ||
failed to load: "file:///i-do-no-exist-i-swear" | ||
failed to load: "https://i-do-no-exist-i-swear.net.uk" | ||
failed to load: "https://i-do-no-exist-i-swear.net.uk/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<script src="include.js"></script> | ||
<script> | ||
test(() => { | ||
let elementList = [ | ||
{ "audio": "src" }, | ||
{ "embed": "src" }, | ||
{ "frame": "longDesc" }, | ||
{ "frame": "src" }, | ||
{ "iframe": "longDesc" }, | ||
{ "iframe": "src" }, | ||
{ "img": "longDesc" }, | ||
{ "img": "src" }, | ||
{ "input": "src" }, | ||
{ "link": "href" }, | ||
{ "script": "src" }, | ||
{ "source": "src" }, | ||
{ "track": "src" }, | ||
{ "video": "poster" }, | ||
{ "video": "src" }, | ||
]; | ||
for (const elementDescriptor of elementList) { | ||
[elementName, propertyName] = Object.entries(elementDescriptor)[0]; | ||
const element = document.createElement(elementName); | ||
element[propertyName] = "\udddda\uddddb\udddd"; | ||
println(`${elementName}.${propertyName} final URL path segment: ${element[propertyName].split("/").pop()}`); | ||
} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters