toolkit/components/extensions/test/mochitest/file_privilege_escalation.html
author Kris Maglione <maglione.k@gmail.com>
Tue, 22 Dec 2015 23:43:23 -0500
changeset 317182 a357c7e76527ac42fc450826d37f57c3c99ad97f
parent 310805 f127897cdf0193ac09fa96f6f5bec5d2ae2d2331
permissions -rw-r--r--
Bug 1234755: [webext] Make JS in HTML files pass ESLint. r?billm This also changes the `type` attribute in our script tags to text/javascript, since that's currently all the eslint-html plugin supports.

<!DOCTYPE HTML>

<html>
<head>
<meta charset="utf-8">
</head>
<body>
  <script type="text/javascript">
    "use strict";
    throw new Error(`WebExt Privilege Escalation: typeof(browser) = ${typeof(browser)}`);
  </script>
</body>
</html>