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

Issue 60953003: Don't use mirrors in pkg/path. (Closed)

Created:
7 years, 1 month ago by Anders Johnsen
Modified:
7 years, 1 month ago
Reviewers:
Bob Nystrom, ahe, kasperl, nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Don't use mirrors in pkg/path. BUG= R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=30038

Patch Set 1 #

Total comments: 2

Patch Set 2 : Another attempth at detecting if in browser. #

Patch Set 3 : Remove accidental file. #

Total comments: 14

Patch Set 4 : Addressed comments. #

Total comments: 2

Patch Set 5 : Clean up. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -36 lines) Patch
M pkg/path/lib/path.dart View 1 2 3 4 3 chunks +16 lines, -34 lines 0 comments Download
M pkg/path/test/browser_test.dart View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Anders Johnsen
This should help with both performance and Dart2JS code-size.
7 years, 1 month ago (2013-11-06 17:49:48 UTC) #1
Bob Nystrom
https://codereview.chromium.org/60953003/diff/1/pkg/path/lib/path.dart File pkg/path/lib/path.dart (right): https://codereview.chromium.org/60953003/diff/1/pkg/path/lib/path.dart#newcode851 pkg/path/lib/path.dart:851: if (Uri.base.scheme != 'file') return Style.url; This does the ...
7 years, 1 month ago (2013-11-06 18:00:36 UTC) #2
Anders Johnsen
https://codereview.chromium.org/60953003/diff/1/pkg/path/lib/path.dart File pkg/path/lib/path.dart (right): https://codereview.chromium.org/60953003/diff/1/pkg/path/lib/path.dart#newcode851 pkg/path/lib/path.dart:851: if (Uri.base.scheme != 'file') return Style.url; On 2013/11/06 18:00:36, ...
7 years, 1 month ago (2013-11-06 18:07:10 UTC) #3
Bob Nystrom
Thanks for looking into this! I'd definitely like to lose the mirrors dependency here, I ...
7 years, 1 month ago (2013-11-06 18:09:03 UTC) #4
Anders Johnsen
Okay, trying another way. Let me know what you think.
7 years, 1 month ago (2013-11-06 19:15:25 UTC) #5
nweiz
This is great. I had tried to find some behavioral difference between the console and ...
7 years, 1 month ago (2013-11-06 19:37:08 UTC) #6
nweiz
Forgot one comment. https://codereview.chromium.org/60953003/diff/120001/pkg/path/lib/path.dart File pkg/path/lib/path.dart (right): https://codereview.chromium.org/60953003/diff/120001/pkg/path/lib/path.dart#newcode72 pkg/path/lib/path.dart:72: /// return the current URL. The ...
7 years, 1 month ago (2013-11-06 20:43:13 UTC) #7
Anders Johnsen
https://codereview.chromium.org/60953003/diff/120001/pkg/path/lib/path.dart File pkg/path/lib/path.dart (right): https://codereview.chromium.org/60953003/diff/120001/pkg/path/lib/path.dart#newcode72 pkg/path/lib/path.dart:72: /// return the current URL. On 2013/11/06 20:43:13, nweiz ...
7 years, 1 month ago (2013-11-07 07:50:31 UTC) #8
Anders Johnsen
+kasperl
7 years, 1 month ago (2013-11-07 08:03:56 UTC) #9
kasperl
LGTM. https://codereview.chromium.org/60953003/diff/170001/pkg/path/lib/path.dart File pkg/path/lib/path.dart (right): https://codereview.chromium.org/60953003/diff/170001/pkg/path/lib/path.dart#newcode78 pkg/path/lib/path.dart:78: assert(path[path.length - 1] == '/' || path[path.length - ...
7 years, 1 month ago (2013-11-07 08:06:58 UTC) #10
Anders Johnsen
https://codereview.chromium.org/60953003/diff/170001/pkg/path/lib/path.dart File pkg/path/lib/path.dart (right): https://codereview.chromium.org/60953003/diff/170001/pkg/path/lib/path.dart#newcode78 pkg/path/lib/path.dart:78: assert(path[path.length - 1] == '/' || path[path.length - 1] ...
7 years, 1 month ago (2013-11-07 08:10:44 UTC) #11
Anders Johnsen
Committed patchset #5 manually as r30038 (presubmit successful).
7 years, 1 month ago (2013-11-07 08:13:33 UTC) #12
ahe
lgtm
7 years, 1 month ago (2013-11-07 08:22:34 UTC) #13
Bob Nystrom
7 years, 1 month ago (2013-11-07 16:43:30 UTC) #14
Message was sent while issue was closed.
LGTM!

Powered by Google App Engine
This is Rietveld 408576698