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

Issue 2542963002: W3C Importer: Consolidate and simplify logic for deciding what not to convert. (Closed)

Created:
4 years ago by qyearsley
Modified:
4 years ago
Reviewers:
Manuel Rego, kojii, foolip
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, Dirk Pranke, tfarina, jeffcarp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

W3C Importer: Consolidate and simplify logic for deciding what not to convert. In this CL: - Move existing logic related to what files to skip from import_tests() and convert_for_webkit() into one method called should_try_to_convert(). - Change rule so that before trying to convert the mimetype must appear to be text/html, text/css, or application/xhtml+xml. Note that this could be changed to skip .css files too now, since no .css files are currently being converted on import. BUG=669452 Committed: https://crrev.com/5de62df3ed22e2354fa705b0ac7a819fc66d8767 Cr-Commit-Position: refs/heads/master@{#436063}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update comment; add a couple more examples in the test #

Patch Set 3 : Remove lines from W3CImportExpectations #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -24 lines) Patch
M third_party/WebKit/LayoutTests/W3CImportExpectations View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter.py View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py View 1 3 chunks +22 lines, -15 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
qyearsley
4 years ago (2016-12-01 21:36:18 UTC) #3
Manuel Rego
Really nice you tackle this so quickly! I'm not an expert on this script, so ...
4 years ago (2016-12-01 22:00:52 UTC) #6
qyearsley
Thanks for the review :-) Now formatted the description and uploaded another patchset that responds ...
4 years ago (2016-12-01 22:27:53 UTC) #8
kojii
lgtm, thank you for working on this.
4 years ago (2016-12-02 09:32:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2542963002/40001
4 years ago (2016-12-02 16:49:38 UTC) #19
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter.py: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-02 16:54:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2542963002/60001
4 years ago (2016-12-02 22:36:20 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-02 22:46:39 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-02 22:49:56 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5de62df3ed22e2354fa705b0ac7a819fc66d8767
Cr-Commit-Position: refs/heads/master@{#436063}

Powered by Google App Engine
This is Rietveld 408576698