ignore href in integration test to avoid fail when code changed

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent c30cc04548
commit 3cfe0c56b8
4 changed files with 23 additions and 2333 deletions

16
test/html/t.html Normal file
View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
</head>
<body>
<script id="_code">
const s = document.querySelector('#_code');
eval(`window.d = 123`);
document.body.removeChild(s);
</script>
</body>
</html>