summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/test/xpcshell/data/file_script_bad.js
blob: ff4572865b3319d5c1e67d14746072038f927b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";

window.failure = true;
window.addEventListener(
  "load",
  () => {
    let el = document.createElement("div");
    el.setAttribute("id", "bad");
    document.body.appendChild(el);
  },
  { once: true }
);