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

Unified Diff: tests/lib/js/null_test.html

Issue 437733002: Fix inconsistency with null vs undefined in dart:js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/lib/js/null_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/js/null_test.html
diff --git a/tests/html/custom/mirrors_test.html b/tests/lib/js/null_test.html
similarity index 71%
copy from tests/html/custom/mirrors_test.html
copy to tests/lib/js/null_test.html
index f28c4fad10595da8d18f8291585ab517b02ef84a..8d23cfad0f6d8d9939a2bdd3d075532d32fa6e2a 100644
--- a/tests/html/custom/mirrors_test.html
+++ b/tests/lib/js/null_test.html
@@ -3,18 +3,20 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="dart.unittest" content="full-stack-traces">
- <title> mirrors_test </title>
+ <title> null test </title>
<style>
.unittest-table { font-family:monospace; border:1px; }
.unittest-pass { background: #6b3;}
.unittest-fail { background: #d55;}
.unittest-error { background: #a11;}
</style>
- <script src="/packages/web_components/platform.concat.js"></script>
- <script src="/packages/web_components/dart_support.js"></script>
</head>
<body>
- <h1> Running mirrors_test </h1>
+ <h1> Running null_test </h1>
+ <script>
+ function isUndefined(o) { return o === undefined; }
+ function isNull(o) { return o === null; }
+ </script>
<script type="text/javascript"
src="/root_dart/tools/testing/dart/test_controller.js"></script>
%TEST_SCRIPTS%
« no previous file with comments | « tests/lib/js/null_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698