4 <script src="../../../resources/js-test.js"></script>
5 <link id="harness" rel="import" href="resources/async-child.html">
9 description("This test ensures that de-duped import can be dynamically added.");
11 window.jsTestIsAsync = true;
13 var linkEl = document.createElement("link");
14 linkEl.setAttribute("rel", "import");
15 linkEl.setAttribute("href", "resources/async-child.html");
16 document.head.appendChild(linkEl);
17 linkEl.onload = function(evt) {
18 shouldBe("linkEl.import", "harness.import");