| Index: pkg/polymer/test/build/import_inliner_test.dart
|
| diff --git a/pkg/polymer/test/build/import_inliner_test.dart b/pkg/polymer/test/build/import_inliner_test.dart
|
| index 05abda2831204f8fbb20102a7feee66b2d1022d3..b44c2b41e5b81fadce952cec089ab48a70ac33fc 100644
|
| --- a/pkg/polymer/test/build/import_inliner_test.dart
|
| +++ b/pkg/polymer/test/build/import_inliner_test.dart
|
| @@ -361,6 +361,43 @@ void main() {
|
| '[["a","web/s1.dart"]]',
|
| });
|
|
|
| + testPhases('imports with Dart script after JS script', phases, {
|
| + 'a|web/test.html':
|
| + '<!DOCTYPE html><html><head>'
|
| + '<link rel="import" href="test_1.html">'
|
| + '</head></html>',
|
| + 'a|web/test_1.html':
|
| + '<!DOCTYPE html><html><head>'
|
| + '<link rel="import" href="test_1.html">'
|
| + '</head><body>'
|
| + '<foo>42</foo><bar-baz></bar-baz>'
|
| + '<polymer-element>1'
|
| + '<script src="s1.js"></script>'
|
| + '<script type="application/dart" src="s1.dart"></script>'
|
| + '</polymer-element>'
|
| + 'FOO</body></html>',
|
| + }, {
|
| + 'a|web/test.html':
|
| + '<!DOCTYPE html><html><head>'
|
| + '</head><body>'
|
| + '<foo>42</foo><bar-baz></bar-baz>'
|
| + '<polymer-element>1'
|
| + '<script src="s1.js"></script>'
|
| + '</polymer-element>'
|
| + 'FOO</body></html>',
|
| + 'a|web/test.html.scriptUrls': '[["a","web/s1.dart"]]',
|
| + 'a|web/test_1.html':
|
| + '<!DOCTYPE html><html><head>'
|
| + '</head><body>'
|
| + '<foo>42</foo><bar-baz></bar-baz>'
|
| + '<polymer-element>1'
|
| + '<script src="s1.js"></script>'
|
| + '<script type="application/dart" src="s1.dart"></script>'
|
| + '</polymer-element>'
|
| + 'FOO</body></html>',
|
| + 'a|web/test_1.html.scriptUrls': '[]',
|
| + });
|
| +
|
| testPhases('imports cycle, 2-step lasso', phases, {
|
| 'a|web/test.html':
|
| '<!DOCTYPE html><html><head>'
|
|
|