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

Issue 225043004: Replace bootstrap logic with 'boot.js', use 'component/dart' mime-type and add (Closed)

Created:
6 years, 8 months ago by Siggi Cherem (dart-lang)
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Replace bootstrap logic with 'boot.js', use 'component/dart' mime-type and add warnings to prepare users for the future breaking change in Dartium. R=jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=34753

Patch Set 1 #

Patch Set 2 : #

Total comments: 22

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1195 lines, -1255 lines) Patch
M pkg/pkg.status View 1 2 2 chunks +1 line, -11 lines 0 comments Download
M pkg/polymer/example/canonicalization/lib/a.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization/lib/b.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + pkg/polymer/example/canonicalization/test/canonicalization1_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/canonicalization1_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A + pkg/polymer/example/canonicalization/test/canonicalization2_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/canonicalization2_test.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/canonicalization3_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/canonicalization3_test.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/common.dart View 2 chunks +5 lines, -9 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/deploy2_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/deploy2_test.html View 1 chunk +0 lines, -20 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/deploy3_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/deploy3_test.html View 1 chunk +0 lines, -20 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/deploy_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/deploy_test.html View 1 chunk +0 lines, -19 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dev2_test.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dev2_test.html View 1 chunk +0 lines, -20 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dev3_test.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dev3_test.html View 1 chunk +0 lines, -19 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dev_test.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dev_test.html View 1 chunk +0 lines, -19 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/deploy2_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/deploy2_test.html View 1 chunk +0 lines, -19 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/deploy_test.dart View 1 chunk +0 lines, -39 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/deploy_test.html View 1 chunk +0 lines, -19 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/dev2_test.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/dev2_test.html View 1 chunk +0 lines, -19 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/dev_test.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/polymer/example/canonicalization/test/dir/dev_test.html View 1 chunk +0 lines, -19 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/dir/dir1_test.dart View 1 chunk +4 lines, -9 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/dir/dir1_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + pkg/polymer/example/canonicalization/test/dir/dir2_test.dart View 1 chunk +4 lines, -9 lines 0 comments Download
A + pkg/polymer/example/canonicalization/test/dir/dir2_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization2/lib/a.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization2/lib/b.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization2/test/bad_lib_import2_negative_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization2/test/bad_lib_import2_negative_test.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/polymer/example/canonicalization2/test/bad_lib_import_negative_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization2/test/bad_lib_import_negative_test.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/polymer/example/canonicalization3/lib/a.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization3/lib/b.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization3/test/bad_lib_import2_negative_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization3/test/bad_lib_import2_negative_test.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/polymer/example/canonicalization3/test/bad_lib_import_negative_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/canonicalization3/test/bad_lib_import_negative_test.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/polymer/example/component/news/test/news_index_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/component/news/test/news_index_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/component/news/web/index.html View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M pkg/polymer/example/component/news/web/news-component.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/example/scoped_style/my_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
A pkg/polymer/lib/boot.dart View 1 2 3 1 chunk +170 lines, -0 lines 0 comments Download
M pkg/polymer/lib/boot.js View 1 2 3 1 chunk +163 lines, -6 lines 0 comments Download
M pkg/polymer/lib/polymer.dart View 2 chunks +7 lines, -10 lines 0 comments Download
M pkg/polymer/lib/polymer.html View 1 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/polymer/lib/src/build/import_inliner.dart View 1 2 10 chunks +32 lines, -29 lines 0 comments Download
M pkg/polymer/lib/src/build/linter.dart View 1 2 5 chunks +23 lines, -39 lines 0 comments Download
M pkg/polymer/lib/src/build/mirrors_remover.dart View 1 chunk +1 line, -5 lines 0 comments Download
M pkg/polymer/lib/src/build/polyfill_injector.dart View 4 chunks +2 lines, -9 lines 0 comments Download
M pkg/polymer/lib/src/build/script_compactor.dart View 1 2 5 chunks +14 lines, -28 lines 0 comments Download
M pkg/polymer/lib/src/declaration.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/lib/src/loader.dart View 1 2 3 1 chunk +28 lines, -30 lines 0 comments Download
M pkg/polymer/lib/src/mirror_loader.dart View 3 chunks +11 lines, -71 lines 0 comments Download
D pkg/polymer/lib/src/static_loader.dart View 1 chunk +0 lines, -19 lines 0 comments Download
M pkg/polymer/pubspec.yaml View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/polymer/test/attr_deserialize_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/attr_deserialize_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/attr_mustache_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/attr_mustache_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/bind_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/bind_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/build/all_phases_test.dart View 1 2 4 chunks +182 lines, -76 lines 0 comments Download
M pkg/polymer/test/build/code_extractor.dart View 1 2 3 12 chunks +107 lines, -23 lines 0 comments Download
M pkg/polymer/test/build/common.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/build/import_inliner_test.dart View 1 2 3 6 chunks +118 lines, -11 lines 0 comments Download
M pkg/polymer/test/build/linter_test.dart View 1 2 7 chunks +18 lines, -34 lines 0 comments Download
M pkg/polymer/test/build/polyfill_injector_test.dart View 3 chunks +1 line, -3 lines 0 comments Download
M pkg/polymer/test/build/script_compactor_test.dart View 1 2 23 chunks +52 lines, -73 lines 0 comments Download
M pkg/polymer/test/custom_event_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/custom_event_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/entered_view_test.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/polymer/test/entered_view_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/event_handlers_test.dart View 1 chunk +1 line, -8 lines 0 comments Download
M pkg/polymer/test/event_handlers_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/event_path_declarative_test.dart View 2 chunks +1 line, -3 lines 0 comments Download
M pkg/polymer/test/event_path_declarative_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/event_path_test.dart View 2 chunks +1 line, -1 line 0 comments Download
M pkg/polymer/test/event_path_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/events_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/events_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/instance_attrs_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/instance_attrs_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/js_interop_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/polymer/test/js_interop_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A pkg/polymer/test/mirror_loader_1.dart View 1 chunk +10 lines, -0 lines 0 comments Download
A pkg/polymer/test/mirror_loader_2.dart View 1 chunk +15 lines, -0 lines 0 comments Download
A pkg/polymer/test/mirror_loader_3.dart View 1 chunk +11 lines, -0 lines 0 comments Download
A pkg/polymer/test/mirror_loader_4.dart View 1 chunk +21 lines, -0 lines 0 comments Download
M pkg/polymer/test/mirror_loader_test.dart View 1 chunk +32 lines, -30 lines 0 comments Download
D pkg/polymer/test/mirror_loader_test.html View 1 chunk +0 lines, -21 lines 0 comments Download
M pkg/polymer/test/nested_binding_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/nested_binding_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/noscript_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/polymer/test/noscript_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/prop_attr_bind_reflection_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/prop_attr_bind_reflection_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/prop_attr_reflection_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/prop_attr_reflection_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/property_change_test.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/polymer/test/property_change_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/property_observe_test.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/polymer/test/property_observe_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/publish_attributes_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/publish_attributes_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/publish_inherited_properties_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/publish_inherited_properties_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/register_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/register_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/take_attributes_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/take_attributes_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/template_distribute_dynamic_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/template_distribute_dynamic_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/unbind_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer/test/unbind_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/polymer_intl/pubspec.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/polymer_intl/test/polymer_intl_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/polymer_intl/test/polymer_intl_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M samples/polymer_intl/web/localized.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/polymer_intl/web/polymer_intl.html View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M samples/searchable_list/pubspec.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/searchable_list/test/demo_app_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/searchable_list/test/demo_app_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/searchable_list/web/elements/demo_app.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/searchable_list/web/elements/searchable_list.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M samples/searchable_list/web/index.html View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M samples/third_party/todomvc/pubspec.yaml View 1 2 1 chunk +1 line, -1 line 2 comments Download
M samples/third_party/todomvc/test/listorder_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/test/listorder_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M samples/third_party/todomvc/test/mainpage_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/test/mainpage_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/test/markdone_shadow_test.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M samples/third_party/todomvc/test/markdone_shadow_test.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M samples/third_party/todomvc/test/markdone_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/test/markdone_test.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/web/elements/td_input.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/web/elements/td_item.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/web/elements/td_model.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/web/elements/td_todos.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/todomvc/web/index.html View 1 chunk +0 lines, -1 line 0 comments Download
M samples/third_party/todomvc/web/lib-elements/polymer_localstorage.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M samples/third_party/todomvc/web/lib-elements/simple_router.html View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Siggi Cherem (dart-lang)
we still need to fix html5lib, but this is ready for a first look. https://codereview.chromium.org/225043004/diff/20001/pkg/pkg.status ...
6 years, 8 months ago (2014-04-04 02:54:14 UTC) #1
Jennifer Messerly
still looking, but one issue I wanted to raise https://codereview.chromium.org/225043004/diff/20001/pkg/polymer/lib/boot.js File pkg/polymer/lib/boot.js (right): https://codereview.chromium.org/225043004/diff/20001/pkg/polymer/lib/boot.js#newcode26 pkg/polymer/lib/boot.js:26: ...
6 years, 8 months ago (2014-04-04 19:26:28 UTC) #2
Jennifer Messerly
other than the content type issue this LGTM https://codereview.chromium.org/225043004/diff/20001/pkg/pkg.status File pkg/pkg.status (left): https://codereview.chromium.org/225043004/diff/20001/pkg/pkg.status#oldcode183 pkg/pkg.status:183: polymer/example/canonicalization/test/dev_test: ...
6 years, 8 months ago (2014-04-04 19:39:49 UTC) #3
Siggi Cherem (dart-lang)
Thanks John. I noticed there were a couple other examples that needed fixes (polymer_intl and ...
6 years, 8 months ago (2014-04-04 21:09:11 UTC) #4
Jennifer Messerly
still looks good! there are some long lines in the HTML files but I dunno ...
6 years, 8 months ago (2014-04-04 21:26:38 UTC) #5
Jennifer Messerly
still looks good! there are some long lines in the HTML files but I dunno ...
6 years, 8 months ago (2014-04-04 21:26:40 UTC) #6
Siggi Cherem (dart-lang)
On 2014/04/04 21:26:38, John Messerly wrote: > still looks good! > > there are some ...
6 years, 8 months ago (2014-04-04 23:09:54 UTC) #7
Siggi Cherem (dart-lang)
https://codereview.chromium.org/225043004/diff/20001/pkg/polymer/pubspec.yaml File pkg/polymer/pubspec.yaml (right): https://codereview.chromium.org/225043004/diff/20001/pkg/polymer/pubspec.yaml#newcode2 pkg/polymer/pubspec.yaml:2: version: 0.10.0-pre.7.dev On 2014/04/04 21:26:39, John Messerly wrote: > ...
6 years, 8 months ago (2014-04-04 23:10:06 UTC) #8
Jennifer Messerly
LGTM^2
6 years, 8 months ago (2014-04-04 23:14:07 UTC) #9
Siggi Cherem (dart-lang)
Committed patchset #4 manually as r34753 (presubmit successful).
6 years, 8 months ago (2014-04-04 23:43:53 UTC) #10
kasperl
I think we need to be a lot more careful in how we deal with ...
6 years, 6 months ago (2014-06-11 07:56:15 UTC) #11
Jennifer Messerly
https://codereview.chromium.org/225043004/diff/90001/samples/third_party/todomvc/pubspec.yaml File samples/third_party/todomvc/pubspec.yaml (right): https://codereview.chromium.org/225043004/diff/90001/samples/third_party/todomvc/pubspec.yaml#newcode5 samples/third_party/todomvc/pubspec.yaml:5: polymer: ">=0.10.0-pre.7 <0.11.0" On 2014/06/11 07:56:14, kasperl wrote: > ...
6 years, 6 months ago (2014-06-11 17:45:43 UTC) #12
Siggi Cherem (dart-lang)
6 years, 6 months ago (2014-06-11 19:00:57 UTC) #13
Message was sent while issue was closed.
On 2014/06/11 17:45:43, John Messerly wrote:
>
https://codereview.chromium.org/225043004/diff/90001/samples/third_party/todo...
> File samples/third_party/todomvc/pubspec.yaml (right):
> 
>
https://codereview.chromium.org/225043004/diff/90001/samples/third_party/todo...
> samples/third_party/todomvc/pubspec.yaml:5: polymer: ">=0.10.0-pre.7 <0.11.0"
> On 2014/06/11 07:56:14, kasperl wrote:
> > Isn't this a pretty broken constraint? Are you guaranteeing no breaking
> changes
> > in that whole version range?
> > 
> > This sample will ship with the SDK so people will be downloading the current
> > version of it in a couple of months. If you've updated polymer before then
and
> > introduced any breaking changes without updating the polymer version to
> 0.11.0+,
> > you will have effectively broken the sample for a ton of users.
> 
> this was indeed the issue, yup. originally the 0.10.0-pre period was supposed
to
> be short, with 0.10 out before the SDK released. We goofed in including
another
> large breaking change on top of 0.10-pre. Lesson learned :(

Yeah. We are working with Rico to improve our testing infrastructure too.
Ideally we shouldn't have to update the samples when we are modifying a package.
For that we need the tests in the sample to run against the code in published
packages.

Powered by Google App Engine
This is Rietveld 408576698