I'm attempting to include a script at the beginning of my XBL file, however even the test below is not functioning. Any insight on why this might be happening?
<bindings xmlns="http://www.mozilla.org/xbl"
xmlns:xbl="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script language="javascript" type="text/javascript"><![CDATA[
while(true) {
dump("OK");
}
]]></script>
</bindings>
--update
The reason for this infinite loop is because I need a piece of code to continuously run. It's part of a communication process with an embedded system.