| Index: samples/third_party/todomvc/test/markdone_shadow_test.html
|
| diff --git a/samples/third_party/todomvc/test/todomvc_mainpage2_test.html b/samples/third_party/todomvc/test/markdone_shadow_test.html
|
| similarity index 54%
|
| rename from samples/third_party/todomvc/test/todomvc_mainpage2_test.html
|
| rename to samples/third_party/todomvc/test/markdone_shadow_test.html
|
| index a6f8e43001fdf32a09a3a65fa552b56e118c2f3f..9ec92b4b093889ac6cceb0ec95ab2bab0e342fce 100644
|
| --- a/samples/third_party/todomvc/test/todomvc_mainpage2_test.html
|
| +++ b/samples/third_party/todomvc/test/markdone_shadow_test.html
|
| @@ -6,28 +6,20 @@ BSD-style license that can be found in the LICENSE file.
|
| -->
|
| <html lang="en">
|
| <head>
|
| -<!--
|
| -This test runs the TodoMVC app and evaluates that it renders correctly if a
|
| -single item is present in the todo list.
|
| --->
|
| <meta charset="utf-8">
|
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
| + <script>
|
| + // Force the ShadowDOM polyfill to run regardless of whether it is needed.
|
| + window.__forceShadowDomPolyfill = true;
|
| + </script>
|
| <link rel="import" href="../web/app.html">
|
| <link rel="stylesheet" href="../web/base.css">
|
| - <script src="packages/polymer/testing/testing.js"></script>
|
| + <script src="packages/polymer/boot.js"></script>
|
| + <script src="packages/unittest/test_controller.js"></script>
|
| <title>Dart • TodoMVC</title>
|
| -</head><body>
|
| +</head>
|
| +<body>
|
| <todo-app></todo-app>
|
| - <script type="application/dart">
|
| -import 'dart:html';
|
| -import 'package:polymer/polymer.dart';
|
| -import '../web/model.dart';
|
| -
|
| -main() {
|
| - appModel.todos.add(new Todo('hola'));
|
| - performMicrotaskCheckpoint();
|
| - window.postMessage('done', '*');
|
| -}
|
| - </script>
|
| + <script type="application/dart" src="markdone_shadow_test.dart"></script>
|
| </body>
|
| </html>
|
|
|