diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-09-25 13:24:11 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-09-25 13:24:11 (GMT) |
commit | 567df9318fff6d1bb570191c33ea68cd6ef88bee (patch) | |
tree | 72e310c422cea117abe859a6bddf0b613a2db589 /test/samples/uscxml/test-instant-messaging.scxml | |
parent | be3c180fec71866a91b5f9297708d581bc1d6435 (diff) | |
download | uscxml-567df9318fff6d1bb570191c33ea68cd6ef88bee.zip uscxml-567df9318fff6d1bb570191c33ea68cd6ef88bee.tar.gz uscxml-567df9318fff6d1bb570191c33ea68cd6ef88bee.tar.bz2 |
More work on IMInvoker, renamed Blob attributes and some XPath datamodel fixes
Diffstat (limited to 'test/samples/uscxml/test-instant-messaging.scxml')
-rw-r--r-- | test/samples/uscxml/test-instant-messaging.scxml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/samples/uscxml/test-instant-messaging.scxml b/test/samples/uscxml/test-instant-messaging.scxml index 569ec59..6ca39d4 100644 --- a/test/samples/uscxml/test-instant-messaging.scxml +++ b/test/samples/uscxml/test-instant-messaging.scxml @@ -1,4 +1,14 @@ <scxml datamodel="ecmascript"> + <script> +//<![CDATA[ + someBinaryData = new ArrayBuffer(256); + var view = new Uint8Array(someBinaryData); + for (var i = 0; i < view.length; i++) { + view[i] = i; + } +//]]> + </script> + <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> <state id="idle"> <onentry> @@ -13,7 +23,13 @@ <state id="dump"> <transition event="dump" target="dump"> - <script>dump(_invokers['im']);</script> + <send event="dump" delay="1000ms" /> + <script>//dump(_invokers['im']);</script> + <send target="#_im" event="im.send"> + <param name="receiver" expr="'sradomski@localhost'" /> + <param name="data" expr="someBinaryData" /> + <content>Hey There!</content> + </send> </transition> </state> </state> |