mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-10 02:01:03 +00:00
24 lines
587 B
HTML
24 lines
587 B
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<script src="include.js"></script>
|
||
|
|
<script>
|
||
|
|
test(() => {
|
||
|
|
const inputTypes = [
|
||
|
|
"text",
|
||
|
|
"search",
|
||
|
|
"tel",
|
||
|
|
"url",
|
||
|
|
"email",
|
||
|
|
"password",
|
||
|
|
];
|
||
|
|
|
||
|
|
inputTypes.forEach(type => {
|
||
|
|
const input = document.createElement("input");
|
||
|
|
input.type = type;
|
||
|
|
document.body.appendChild(input);
|
||
|
|
internals.sendText(input, "PASS");
|
||
|
|
println(`input[type=${type}] value: ${input.value}`);
|
||
|
|
input.remove();
|
||
|
|
});
|
||
|
|
});
|
||
|
|
</script>
|