Files
Nicolas Chevobbe 5f2e48a307 Bug 1744179 - [devtools] Add doctype to all webconsole test pages.
Now what we show a warning message on pages with invalid/no doctype,
a lot of tests were failing because of it.
This patch only adds doctype on all webconsole test pages.

Differential Revision: https://phabricator.services.mozilla.com/D132793
2021-12-03 15:41:06 +00:00

23 lines
652 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Testing the console API after adding an iframe</title>
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
</head>
<body>
<p>test for bug 613013</p>
<script type="text/javascript">
/* eslint-disable */
(function () {
var iframe = document.createElement('iframe');
iframe.src = 'data:text/html;charset=utf-8,<!DOCTYPE html>little iframe';
document.body.appendChild(iframe);
console.log("iframe added");
})();
</script>
</body>
</html>