3 <script src="../fast/js/resources/js-test-pre.js"></script>
6 var intentTag = document.createElement("intent");
7 intentTag.setAttribute("action", "a");
8 intentTag.setAttribute("type", "t");
9 intentTag.setAttribute("href", "http://example.com/dynamic");
10 intentTag.setAttribute("title", "Dynamic Title");
11 intentTag.setAttribute("disposition", "window");
12 document.body.appendChild(intentTag);
14 var divTag = document.createElement("div");
15 document.body.appendChild(divTag);
16 divTag.innerHTML = "<intent action=\"aa\" type=\"bb\" title=\"cc\" href=\"http://example.com/innerhtml\" disposition=\"inline\"></intent>";
20 <body onload="loaded()">
21 <intent action="action" type="type" title="Title" href="http://example.com/service" disposition="inline"></intent>
22 Registered Intent Service.
24 <script src="../fast/js/resources/js-test-post.js"></script>