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

Issue 270503007: Eliminate unused url mapping parameter in dartutils (Closed)

Created:
6 years, 7 months ago by hausner
Modified:
6 years, 7 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Eliminate unused url mapping parameter in dartutils Change the LibraryTagHandler used in unit tests to match the real tag handler better, eliminating special treatment of url canonicalization. This required changing the library url of tests so tests don’t get loaded using dart scheme urls, since builtin.dart doesn’t handle dart: urls. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=35987

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -142 lines) Patch
M runtime/bin/dartutils.h View 1 2 3 chunks +1 line, -8 lines 0 comments Download
M runtime/bin/dartutils.cc View 1 2 4 chunks +2 lines, -84 lines 0 comments Download
M runtime/bin/gen_snapshot.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/benchmark_test.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 14 chunks +15 lines, -14 lines 0 comments Download
M runtime/vm/debugger_api_impl_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/debugger_test.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
M runtime/vm/service_test.cc View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M runtime/vm/unit_test.h View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/unit_test.cc View 1 2 3 chunks +16 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
hausner
6 years, 7 months ago (2014-05-07 20:35:36 UTC) #1
Ivan Posva
LGTM especially if we can completely remove CanonicalizeURL. -Ivan https://codereview.chromium.org/270503007/diff/1/runtime/vm/unit_test.cc File runtime/vm/unit_test.cc (right): https://codereview.chromium.org/270503007/diff/1/runtime/vm/unit_test.cc#newcode84 runtime/vm/unit_test.cc:84: ...
6 years, 7 months ago (2014-05-07 22:04:06 UTC) #2
hausner
PTAL. https://codereview.chromium.org/270503007/diff/1/runtime/vm/unit_test.cc File runtime/vm/unit_test.cc (right): https://codereview.chromium.org/270503007/diff/1/runtime/vm/unit_test.cc#newcode84 runtime/vm/unit_test.cc:84: return DartUtils::CanonicalizeURL(library, url_chars); On 2014/05/07 22:04:06, Ivan Posva ...
6 years, 7 months ago (2014-05-08 23:10:02 UTC) #3
Ivan Posva
Thanks for the additional cleanup. LGTM -Ivan https://codereview.chromium.org/270503007/diff/20001/runtime/vm/benchmark_test.cc File runtime/vm/benchmark_test.cc (right): https://codereview.chromium.org/270503007/diff/20001/runtime/vm/benchmark_test.cc#newcode441 runtime/vm/benchmark_test.cc:441: TestCase::LoadCoreTestScript(kScriptChars, NULL); ...
6 years, 7 months ago (2014-05-09 06:31:35 UTC) #4
hausner
Thank you. https://codereview.chromium.org/270503007/diff/20001/runtime/vm/benchmark_test.cc File runtime/vm/benchmark_test.cc (right): https://codereview.chromium.org/270503007/diff/20001/runtime/vm/benchmark_test.cc#newcode441 runtime/vm/benchmark_test.cc:441: TestCase::LoadCoreTestScript(kScriptChars, NULL); On 2014/05/09 06:31:35, Ivan Posva ...
6 years, 7 months ago (2014-05-09 17:07:18 UTC) #5
hausner
6 years, 7 months ago (2014-05-09 18:25:50 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r35987 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698