Import W3C web platform tests infrastructure
authoryouenn.fablet@crf.canon.fr <youenn.fablet@crf.canon.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jan 2015 09:46:40 +0000 (09:46 +0000)
committeryouenn.fablet@crf.canon.fr <youenn.fablet@crf.canon.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jan 2015 09:46:40 +0000 (09:46 +0000)
commit7d95bbe84f2bb040c50b94c714599adfe7634865
treed4151a50263993af1a62f6b30c2058f14c3a66a0
parent6bf4a6d2e0193734852b3cbbf2ea39a7dc6217e5
Import W3C web platform tests infrastructure
https://bugs.webkit.org/show_bug.cgi?id=140934

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Initial import of the web-platform-tests repository.
This includes all infrastructure folders.
web-platform-tests submodules are downloaded when needed based on resources/WPTModules.

This patch also adds two tests from the domparsing folder to ensure
W3C test infrastructure works properly on WebKit bots.

* resources/WPTModules: Added
* web-platform-tests/.gitignore: Added.
* web-platform-tests/_certs: Added.
* web-platform-tests/common: Added.
* web-platform-tests/config.default.json: Added.
* web-platform-tests/fonts: Added.
* web-platform-tests/images: Added.
* web-platform-tests/resource: Added.
* web-platform-tests/serve.py: Added.
* web-platform-tests/tools: Added.
* web-platform-tests/w3c-import.log: Added
* web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt: Added.
* web-platform-tests/domparsing/DOMParser-parseFromString-html.html: Added.
* web-platform-tests/domparsing/insert-adjacent-expected.txt: Added.
* web-platform-tests/domparsing/insert-adjacent.html: Added.
* web-platform-tests/domparsing/w3c-import.log: Added.

Tools:

Loading necessary web platform tests modules before launching server.
Ensuring that some empty __init__.py files are present and create them if necessary.

* Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
* Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:

LayoutTests:

* TestExpectations: added lines to skip web-platform-tests
infrastructure folders. Added one line for a partially passing test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
129 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/resources/WPTModules [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/.gitignore [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/01.pem [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/02.pem [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/cacert.pem [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/cakey.pem [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/index.txt.attr [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/index.txt.attr.old [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/index.txt.old [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/localhost.key [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/localhost.pem [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/serial [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/_certs/serial.old [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/canvas-frame.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/canvas-index.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/canvas-spec.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/canvas-tests.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/canvas-tests.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/css-red.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/failing-test.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/large.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/media.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/redirect.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/reftest-wait.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/stringifiers.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/text-plain.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/utils.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/vendor-prefix.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/common/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/config.default.json [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/domparsing/insert-adjacent-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/domparsing/insert-adjacent.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/domparsing/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/fonts/CanvasTest.sfd [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/fonts/CanvasTest.ttf [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/fonts/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/anim-gr.gif [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/anim-gr.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/anim-poster-gr.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/background.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/black-rectangle.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/blue-area.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/blue-border.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/blue.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/blue96x96.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/broken.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/canvas-line.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/fail.gif [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/ggrr-256x256.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/green-100x50.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/green-16x16.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/green-1x1.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/green-256x256.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/green-2x2.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/green.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/green.svg [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/grgr-256x256.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/movie_300_frame_0.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/red-16x16.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/red-zeroheight.svg [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/red-zerosize.svg [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/red-zerowidth.svg [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/red.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/redtransparent.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/rgrg-256x256.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/rrgg-256x256.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/smiley.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/threecolors.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/transparent.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/transparent50.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/yellow.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/images/yellow75.png [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/serve.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/__init__.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/css/bootstrap-theme.min.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/css/bootstrap.min.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/css/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/fonts/glyphicons-halflings-regular.eot [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/fonts/glyphicons-halflings-regular.svg [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/fonts/glyphicons-halflings-regular.ttf [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/fonts/glyphicons-halflings-regular.woff [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/fonts/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/logo.svg [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/report.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/report.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/runner.css [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/runner.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/update_manifest.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/runner/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/_env.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/html5lib_test.xml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/html5lib_test_fragment.xml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/id2path.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/id2path.json [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/lint.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/lint.whitelist [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/manifest.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/manifest.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/package.json [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/toc.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/update-directory-structure.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/update_html5lib_tests.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/scripts/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/sslutils/__init__.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/sslutils/base.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/sslutils/openssl.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/sslutils/pregenerated.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/sslutils/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/alert.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/capabilities.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/command.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/driver.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/exceptions.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/keys.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/searchcontext.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/wait.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/tools/webdriver/webdriver/webelement.py [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/w3c-import.log [new file with mode: 0644]
Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py
Tools/Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py