OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="X-UA-Compatible" content="IE=edge"> | 4 <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
5 <meta name="dart.unittest" content="full-stack-traces"> | 5 <meta name="dart.unittest" content="full-stack-traces"> |
6 <title> interop_test.html </title> | 6 <title> interop_test.html </title> |
7 <style> | 7 <style> |
8 .unittest-table { font-family:monospace; border:1px; } | 8 .unittest-table { font-family:monospace; border:1px; } |
9 .unittest-pass { background: #6b3;} | 9 .unittest-pass { background: #6b3;} |
10 .unittest-fail { background: #d55;} | 10 .unittest-fail { background: #d55;} |
11 .unittest-error { background: #a11;} | 11 .unittest-error { background: #a11;} |
12 </style> | 12 </style> |
13 <script src="/packages/web_components/platform.js"></script> | 13 <script src="/packages/web_components/webcomponents.js"></script> |
14 <script src="/packages/web_components/dart_support.js"></script> | 14 <script src="/packages/web_components/dart_support.js"></script> |
15 <script src="/packages/web_components/interop_support.js"></script> | 15 <script src="/packages/web_components/interop_support.js"></script> |
16 </head> | 16 </head> |
17 <body> | 17 <body> |
18 <h1> Running interop_test </h1> | 18 <h1> Running interop_test </h1> |
19 <script> | 19 <script> |
20 var counter = 0; | 20 var counter = 0; |
21 var A = function() {}; | 21 var A = function() {}; |
22 A.prototype = Object.create(HTMLElement.prototype); | 22 A.prototype = Object.create(HTMLElement.prototype); |
23 A.prototype.inc = function() { this.x = counter++; }; | 23 A.prototype.inc = function() { this.x = counter++; }; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 </script> | 74 </script> |
75 <x-a id="i1"></x-a> | 75 <x-a id="i1"></x-a> |
76 <div is="x-b" id="i2"></div> | 76 <div is="x-b" id="i2"></div> |
77 <x-c id="i3"></x-c> | 77 <x-c id="i3"></x-c> |
78 <x-d id="i4"></x-d> | 78 <x-d id="i4"></x-d> |
79 <script type="text/javascript" | 79 <script type="text/javascript" |
80 src="/root_dart/tools/testing/dart/test_controller.js"></script> | 80 src="/root_dart/tools/testing/dart/test_controller.js"></script> |
81 %TEST_SCRIPTS% | 81 %TEST_SCRIPTS% |
82 </body> | 82 </body> |
83 </html> | 83 </html> |
OLD | NEW |