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

Issue 12282041: [content shell] implement pathToLocalResource (Closed)

Created:
7 years, 10 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 10 months ago
Reviewers:
Nico
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

[content shell] implement pathToLocalResource On windows, this method replaces a /tmp/ prefix with the actual temp path. Otherwise, it removes superfluous leading slashes from file: URLs and passes the path on the rewriteLayoutTestURL BUG=111316 R=thakis@chromium.org TEST=http/tests/plugins/post-url-file.html passes Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183473

Patch Set 1 #

Total comments: 9

Patch Set 2 : updates #

Total comments: 1

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -3 lines) Patch
M content/shell/shell_browser_main.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/shell_messages.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/webkit_test_controller.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M content/shell/webkit_test_controller.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/shell/webkit_test_runner.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/webkit_test_runner.cc View 1 2 4 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jochen (gone - plz use gerrit)
7 years, 10 months ago (2013-02-19 15:33:30 UTC) #1
Nico
https://codereview.chromium.org/12282041/diff/1/content/shell/webkit_test_runner.cc File content/shell/webkit_test_runner.cc (right): https://codereview.chromium.org/12282041/diff/1/content/shell/webkit_test_runner.cc#newcode314 content/shell/webkit_test_runner.cc:314: return base_url.Resolve(resource.substr(kTempPrefixLength)).spec(); Hm, is there code for this somewhere ...
7 years, 10 months ago (2013-02-19 15:51:50 UTC) #2
Nico
this exists nowhere else per irc. https://codereview.chromium.org/12282041/diff/1/content/shell/webkit_test_runner.cc File content/shell/webkit_test_runner.cc (right): https://codereview.chromium.org/12282041/diff/1/content/shell/webkit_test_runner.cc#newcode310 content/shell/webkit_test_runner.cc:310: if (resource.find("/tmp/")) { ...
7 years, 10 months ago (2013-02-19 16:02:53 UTC) #3
Nico
s/irc/gtalk/
7 years, 10 months ago (2013-02-19 16:03:02 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/12282041/diff/1/content/shell/webkit_test_runner.cc File content/shell/webkit_test_runner.cc (right): https://codereview.chromium.org/12282041/diff/1/content/shell/webkit_test_runner.cc#newcode310 content/shell/webkit_test_runner.cc:310: if (resource.find("/tmp/")) { On 2013/02/19 16:02:53, Nico wrote: > ...
7 years, 10 months ago (2013-02-20 09:06:13 UTC) #5
Nico
lgtm https://codereview.chromium.org/12282041/diff/7001/content/shell/webkit_test_runner.cc File content/shell/webkit_test_runner.cc (right): https://codereview.chromium.org/12282041/diff/7001/content/shell/webkit_test_runner.cc#newcode322 content/shell/webkit_test_runner.cc:322: result = result.substr(0, 8) + result.substr(9); nit: maybe ...
7 years, 10 months ago (2013-02-20 09:10:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/12282041/12004
7 years, 10 months ago (2013-02-20 09:15:59 UTC) #7
commit-bot: I haz the power
7 years, 10 months ago (2013-02-20 11:26:21 UTC) #8
Message was sent while issue was closed.
Change committed as 183473

Powered by Google App Engine
This is Rietveld 408576698