fune/devtools/server/tests/browser/director-script-target.html
2018-03-12 13:44:41 -05:00

18 lines
457 B
HTML

<html>
<head>
<script>
/* exported globalAccessibleVar */
"use strict";
// change the eval function to ensure the window object
// in the debug-script is correctly wrapped
// eslint-disable-next-line no-eval
window.eval = function() {
return "unsecure-eval-called";
};
var globalAccessibleVar = "global-value";
</script>
</head>
<body>
<h1>debug script target</h1>
</body>
</html>