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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py

Issue 2016953002: update-w3c-deps: Do not rewrite links to /resources and /common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py
index 0f31e097b0cc9b91cd1f27350462ac8c2bc60362..77c34a323819eddae671641ea8063b88d1548d22 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py
@@ -26,11 +26,11 @@
# SUCH DAMAGE.
"""
- This script imports a directory of W3C tests into WebKit.
+ This script imports a directory of W3C tests into Blink.
This script will import the tests into WebKit following these rules:
- - By default, all tests are imported under LayoutTests/w3c/[repo-name].
+ - By default, all tests are imported under LayoutTests/imported/[repo-name].
qyearsley 2016/05/27 00:19:36 Technically, the default destination dir of import
tkent 2016/05/27 00:29:06 ok, I'll revert to "w3c"
- By default, only reftests and jstest are imported. This can be overridden
with a -a or --all argument
@@ -40,19 +40,16 @@
this script would refresh files periodically. This can also be
overridden by a -n or --no-overwrite flag
- - All files are converted to work in WebKit:
- 1. Paths to testharness.js scripts and vendor-prefix.js files are
- modified to point to Webkit's copy of them in LayoutTests/resources,
- using the correct relative path from the new location.
- 2. All CSS properties requiring the -webkit-vendor prefix are prefixed
- (the list of what needs prefixes is read from Source/WebCore/CSS/CSSProperties.in).
- 3. Each reftest has its own copy of its reference file following
+ - All files are converted to work in Blink:
+ 1. All CSS properties requiring the -webkit- vendor prefix are prefixed
+ (the list of what needs prefixes is read from Source/core/css/CSSProperties.in).
+ 2. Each reftest has its own copy of its reference file following
the naming conventions new-run-webkit-tests expects.
- 4. If a reference files lives outside the directory of the test that
+ 3. If a reference files lives outside the directory of the test that
uses it, it is checked for paths to support files as it will be
imported into a different relative position to the test file
(in the same directory).
- 5. Any tags with the class "instructions" have style="display:none" added
+ 4. Any tags with the class "instructions" have style="display:none" added
to them. Some w3c tests contain instructions to manual testers which we
want to strip out (the test result parser only recognizes pure testharness.js
output and not those instructions).

Powered by Google App Engine
This is Rietveld 408576698