Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: pkg/web_components/test/interop_test.html

Issue 644163002: Splitting interop support so `dart_support.js` is no longer required. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/web_components/lib/interop_support.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/platform.js"></script>
14 <link rel="import" href="/packages/web_components/interop_support.html">
14 <script src="/packages/web_components/dart_support.js"></script> 15 <script src="/packages/web_components/dart_support.js"></script>
15 </head> 16 </head>
16 <body> 17 <body>
17 <h1> Running interop_test </h1> 18 <h1> Running interop_test </h1>
18 <script> 19 <script>
19 var counter = 0; 20 var counter = 0;
20 var A = function() {}; 21 var A = function() {};
21 A.prototype = Object.create(HTMLElement.prototype); 22 A.prototype = Object.create(HTMLElement.prototype);
22 A.prototype.inc = function() { this.x = counter++; }; 23 A.prototype.inc = function() { this.x = counter++; };
23 A.prototype.createdCallback = function() { this.inc(); }; 24 A.prototype.createdCallback = function() { this.inc(); };
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 </script> 74 </script>
74 <x-a id="i1"></x-a> 75 <x-a id="i1"></x-a>
75 <div is="x-b" id="i2"></div> 76 <div is="x-b" id="i2"></div>
76 <x-c id="i3"></x-c> 77 <x-c id="i3"></x-c>
77 <x-d id="i4"></x-d> 78 <x-d id="i4"></x-d>
78 <script type="text/javascript" 79 <script type="text/javascript"
79 src="/root_dart/tools/testing/dart/test_controller.js"></script> 80 src="/root_dart/tools/testing/dart/test_controller.js"></script>
80 %TEST_SCRIPTS% 81 %TEST_SCRIPTS%
81 </body> 82 </body>
82 </html> 83 </html>
OLDNEW
« no previous file with comments | « pkg/web_components/lib/interop_support.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698