Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>iframe wrapper for the debugger custom page</title>
<style type="text/css">
html, body {
height: 100%;
width: 100%;
}
iframe {
border-style: none;
height: 100%;
position: absolute;
width: 100%;
}
</style>
</head>
<body>
<!-- For now we load the iframe in the same site as the damp top frame.
DevTools work against remote frames. -->
<iframe src="http://damp.top.com/tests/devtools/addon/content/pages/custom/debugger/app-build/iframe.html"></iframe>
<script>
// We are using eval + sourceURL in order to prevent doing any HTTP request
// and speed up the test runtime.
for(let i = 0; i < 500; i++) {
eval("function evalScript() {} //# sourceURL=eval/eval-script-" + i +".js");
}
</script>
</body>
</html>