mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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
23 lines
652 B
HTML
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>
|