Meta: Add DOCTYPEs to most text tests

This commit is contained in:
Psychpsyo 2025-03-18 19:28:35 +01:00 committed by Jelle Raaijmakers
commit b3487d8994
Notes: github-actions[bot] 2025-03-20 10:52:03 +00:00
536 changed files with 536 additions and 4 deletions

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
promiseTest(async () => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<form id="formy">
<input type="text" name="foo">
<button type="button" name="bar"></button>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<form id="formy">
<input type="text" name="foo">
<button type="button" name="bar"></button>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id=test></div>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<form>
<input name="one" id="formcontrol" type="button" />
<input name="two" id="formcontrol" type="text" />

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<button id="myButton"></button>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div contenteditable="true" id="contenteditable"></div>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<b>foo<div>bar</div>baz</b>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<style>
* {
margin: 0;

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<head>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<head>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<input id="input-element" value="100" style="display: none;" />
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id="test-element">Test Element</div>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest((done) => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../../include.js"></script>
<script type="module">
import m from "./import-in-a-module.js";

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
function shadowRealmEvalAsync(realm, asyncBody) {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
const TYPED_ARRAYS = [

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<input id="input1" type="file" multiple />
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id="textContainer">
<div style="display: none">This is hidden</div>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<embed name="m_bed" src="" type="">
<img name="im_adge" src="">

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<iframe name="framey" src=""></iframe>
<iframe name=spices></iframe>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<body>
<iframe style="display: none" id="message-iframe" srcdoc="
<body>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script id="__NEXT_DATA__"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<a id="a" href="http://serenityos.org"></a>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<a id="anchor" href="http://ladybird.org/foo%C2%91%91"></a>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<body><canvas id=c width=1 height=2></div>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<body><canvas id=c width=1 height=2></div>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<iframe id="i"></iframe>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<test-element></test-element>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<details id="details0" name="group1">
<summary>Summary 0</summary>
<span>Contents 0</span>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
function go(tagName) {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
document.write("PASS");

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id="target" style="width: 200px; height: 200px"></div>
<script src="../include.js"></script>
<script type="text/javascript">

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<form id="testForm"></form>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<head>
<!--
These style rules ensure the (x,y) coordinates clicked below are the same as the resulting

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<form id="defaultButton">
<input />
<button>PASS</button>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id="id1">
<ol reversed xml:myattribute></ol>
<ol xmlns:somename></ol>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<iframe id="i1"></iframe>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<iframe id="test-iframe"></iframe>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
let canvas = document.createElement("canvas");

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest((done) => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<a id="username-and-password" href="http://user%20name:pa%40ss%3Aword@www.ladybird.org"></a>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<iframe id="frame" src="../../data/local-storage-iframe.html"></iframe>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<img height="2147483647">
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
let readyStates = []

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id="foo"><b>hello students</b></div>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<iframe id="i"></iframe>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(done => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest((done) => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest((done) => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
var rafIds = [];

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<select id="test-select">
<option value="0" selected>Option 0</option>
<optgroup label="Group 1">

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id=test></div>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id=test></div>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<iframe id="ifr" srcdoc=""></iframe>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id=test></div>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id=container></div>
<script type="text/javascript">

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id="oldBox"><p>A box.</p></div>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<body bgcolor="foo">
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<form id="theForm" style="display:none"><button id="theButton" type="submit" disabled></button></form>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<table id="table"><td id="td"></td></table>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<table><tbody id="tbody"><tr></tr></tbody></table>
<script src="../include.js"></script>
<script>