Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/xul/test/chrome.toml
<?xml version="1.0"?>
<!--
-->
<!-- test results are displayed in the html:body -->
</body>
<!-- test code goes here -->
<script type="application/javascript"><![CDATA[
SimpleTest.waitForExplicitFinish();
window.onload = function onload() {
var element = $("item");
$("container").removeChild($("item"));
$("broadcaster").removeAttribute("disabled");
$("container").appendChild(element);
is($("item").hasAttribute("disabled"), $("broadcaster").hasAttribute("disabled"));
SimpleTest.finish();
}
]]></script>
<box id="container">
<box id="item">
<observes element="broadcaster" attribute="disabled"/>
</box>
</box>
<broadcasterset>
<broadcaster id="broadcaster" disabled="true"/>
</broadcasterset>
</window>