diff options
author | athenian200 <athenian200@outlook.com> | 2020-01-27 22:59:08 -0600 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-01-27 22:59:08 -0600 |
commit | 3c4f414db74b84f7d2a6fb13fd888a47a153699b (patch) | |
tree | ea81fca559849967a79d598a6f460830762ec9ea /js/xpconnect/tests/mochitest/test_bug1094930.html | |
parent | 1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03 (diff) | |
parent | c4b0715baaffc541670fd1158557aa7e61e521d3 (diff) | |
download | UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.gz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.lz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.xz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into form-disabled-issue
Diffstat (limited to 'js/xpconnect/tests/mochitest/test_bug1094930.html')
-rw-r--r-- | js/xpconnect/tests/mochitest/test_bug1094930.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/xpconnect/tests/mochitest/test_bug1094930.html b/js/xpconnect/tests/mochitest/test_bug1094930.html index 434949360..674edfe47 100644 --- a/js/xpconnect/tests/mochitest/test_bug1094930.html +++ b/js/xpconnect/tests/mochitest/test_bug1094930.html @@ -16,14 +16,14 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1094930 <script type="application/javascript"> SimpleTest.waitForExplicitFinish(); var proto = { - createdCallback: function() { - ok(true, "createdCallback was called"); + connectedCallback: function() { + ok(true, "connectedCallback was called"); SimpleTest.finish() } }; var f = document.registerElement.call(frames[0].document, "x-foo", { prototype: proto }); - var inst = new f(); + frames[0].document.firstChild.appendChild(new f()); </script> </body> </html> |