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

Side by Side Diff: tests/lib/js/null_test.html

Issue 439513002: Fix js/null_test to run also in CSP mode (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | « tests/lib/js/null_test.dart ('k') | tests/lib/js/null_test.js » ('j') | 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> null test </title> 6 <title> null test </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 </head> 13 </head>
14 <body> 14 <body>
15 <h1> Running null_test </h1> 15 <h1> Running null_test </h1>
16 <script> 16 <script src="/root_dart/tests/lib/js/null_test.js"></script>
17 function isUndefined(o) { return o === undefined; }
18 function isNull(o) { return o === null; }
19 </script>
20 <script type="text/javascript" 17 <script type="text/javascript"
21 src="/root_dart/tools/testing/dart/test_controller.js"></script> 18 src="/root_dart/tools/testing/dart/test_controller.js"></script>
22 %TEST_SCRIPTS% 19 %TEST_SCRIPTS%
23 </body> 20 </body>
24 </html> 21 </html>
OLDNEW
« no previous file with comments | « tests/lib/js/null_test.dart ('k') | tests/lib/js/null_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698