4 https://bugzilla.mozilla.org/show_bug.cgi?id=1094930
8 <title>Test for Bug
1094930</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
11 <iframe id=
"ifr"></iframe>
14 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=1094930">Mozilla Bug
1094930</a>
16 <script type=
"application/javascript">
17 SimpleTest.waitForExplicitFinish();
18 class XFoo extends frames[
0].HTMLElement {
20 ok(true,
"connectedCallback was called");
25 customElements.define.call(frames[
0].customElements,
"x-foo", XFoo);
26 frames[
0].document.firstChild.appendChild(new XFoo());