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

Issue 1984103003: content_shell: Redirect resource requests for some local paths. (Closed)

Created:
4 years, 7 months ago by tkent
Modified:
4 years, 7 months ago
Reviewers:
kinuko, jsbell, qyearsley
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content_shell: Redirect resource requests for some local paths. This CL changes content_shell in layout test mode so that it redirects resource requests for file:///{common,images,media,resources}/ to third_party/WebKit/ LayoutTests/imported/wpt/*. Such URLs are resolved from absolute path links in web-platform-tests like <script src="/resources/testharness.js">. After this CL, we can remove path rewrite step for /resources and /common in test_converter.py. BUG=498120, 613408 Committed: https://crrev.com/3f67002a393008c12f36c27ce46e38ea3ee9e0c9 Cr-Commit-Position: refs/heads/master@{#395025}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Apply review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -0 lines) Patch
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
tkent
jsbell@, qyearsley@, do you think we should proceed this CL? note: autocapitalize.html is just a ...
4 years, 7 months ago (2016-05-18 07:32:54 UTC) #12
jsbell
lgtm
4 years, 7 months ago (2016-05-18 17:20:26 UTC) #14
qyearsley
https://codereview.chromium.org/1984103003/diff/160001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/1984103003/diff/160001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode207 content/shell/renderer/layout_test/blink_test_runner.cc:207: WebURL RewriteAbsolutePathInWPT(const std::string& utf8_url) { The main reason for ...
4 years, 7 months ago (2016-05-18 17:26:56 UTC) #15
tkent
https://codereview.chromium.org/1984103003/diff/160001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/1984103003/diff/160001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode207 content/shell/renderer/layout_test/blink_test_runner.cc:207: WebURL RewriteAbsolutePathInWPT(const std::string& utf8_url) { On 2016/05/18 at 17:26:56, ...
4 years, 7 months ago (2016-05-20 01:00:30 UTC) #17
tkent
kinuko-san, would you approve this please?
4 years, 7 months ago (2016-05-20 01:05:44 UTC) #20
kinuko
lgtm.
4 years, 7 months ago (2016-05-20 01:44:14 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984103003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984103003/200001
4 years, 7 months ago (2016-05-20 07:12:33 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:200001)
4 years, 7 months ago (2016-05-20 07:16:05 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 07:17:29 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3f67002a393008c12f36c27ce46e38ea3ee9e0c9
Cr-Commit-Position: refs/heads/master@{#395025}

Powered by Google App Engine
This is Rietveld 408576698