OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link id="target" rel="import" href="resources/cookie.cgi"> | 4 <link id="target" rel="import" href="resources/cookie.cgi"> |
5 <script src="/js-test-resources/js-test-pre.js"></script> | 5 <script src="/js-test-resources/js-test-pre.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 shouldBe("target.import.querySelector('h1').innerHTML", "'Cookie Sent!'"); | 9 shouldBe("target.import.querySelector('h1').innerHTML", "'Cookie Sent!'"); |
10 shouldBe("document.cookie.indexOf('htmlimport=hello')", "-1"); | 10 shouldBe("document.cookie.indexOf('htmlimport=hello')", "-1"); |
11 </script> | 11 </script> |
12 <script src="/js-test-resources/js-test-post.js"></script> | |
13 </body> | 12 </body> |
14 </html> | 13 </html> |
OLD | NEW |