refactor test infra so most test cases could be implemented by pure HTML
This commit is contained in:
@@ -11,8 +11,27 @@
|
||||
<body>
|
||||
<script src="a.js"></script>
|
||||
<script>
|
||||
console.log(1)
|
||||
var a = 1 + 1;
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<!-- TEST_DIVIDER -->
|
||||
|
||||
<!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>with script</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript src="a.js"></noscript>
|
||||
<noscript></noscript>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user