| Index: third_party/pkg/js/test/js_wrapping/browser_tests.html
|
| diff --git a/third_party/pkg/js/test/js_wrapping/browser_tests.html b/third_party/pkg/js/test/js_wrapping/browser_tests.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..454dafb57b5a9d852d6b4e15a2fb32dec0e02449
|
| --- /dev/null
|
| +++ b/third_party/pkg/js/test/js_wrapping/browser_tests.html
|
| @@ -0,0 +1,33 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <title>Some Tests</title>
|
| + <style type="text/css">
|
| + .unittest-table { font-family: monospace; border: 1px; }
|
| + .unittest-pass { background: #6b3;}
|
| + .unittest-fail { background: #d55;}
|
| + .unittest-error { background: #a11;}
|
| + .unittest-xml-log {opacity:0; color: white;}
|
| + .test-area { display: none; }
|
| + body { overflow: visible; }
|
| + </style>
|
| +</head>
|
| +<body>
|
| + <h1>Loading and running tests</h1>
|
| +<script>
|
| +
|
| +function Person(firstname, lastname){
|
| + this.firstname = firstname;
|
| + this.lastname = lastname;
|
| + this.father = null;
|
| + this.children = [];
|
| +};
|
| +Person.prototype.sayHello = function() { return "Hello, I'm " + this.firstname + " " + this.lastname; };
|
| +
|
| +</script>
|
| + <script src="packages/unittest/test_controller.js"></script>
|
| + <script type="application/dart" src="browser_tests.dart"></script>
|
| + <script src="packages/browser/dart.js"></script>
|
| + <script src="packages/browser/interop.js"></script>
|
| +</body>
|
| +</html>
|
|
|