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

Unified Diff: pkg/polymer/test/build/import_inliner_test.dart

Issue 404623002: normalize url attributes on entry point elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review updates 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 | « pkg/polymer/lib/src/build/import_inliner.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7fd955302b47993ba650b3d29ed1a94ff65dec84..023bf4db8d5e6c1c7d3b07bab7220dce5c4359de 100644
--- a/pkg/polymer/test/build/import_inliner_test.dart
+++ b/pkg/polymer/test/build/import_inliner_test.dart
@@ -843,6 +843,20 @@ void entryPointTests() {
'</body></html>',
});
+ testPhases('includes in entry points normalize correctly', phases, {
+ 'a|web/test/test.html':
+ '<!DOCTYPE html><html><head>'
+ '<script src="packages/a/foo/bar.js"></script>'
+ '</head></html>',
+ 'a|lib/foo/bar.js':
+ 'console.log("here");',
+ }, {
+ 'a|web/test/test.html':
+ '<!DOCTYPE html><html><head></head><body>'
+ '<script src="../packages/a/foo/bar.js"></script>'
+ '</body></html>',
+ });
+
testPhases('two level deep entry points normalize correctly', phases, {
'a|web/test/well/test.html':
'<!DOCTYPE html><html><head>'
« no previous file with comments | « pkg/polymer/lib/src/build/import_inliner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698