| OLD | NEW |
| 1 W3C Web Platform Tests in Blink Layout Tests | 1 W3C Web Platform Tests in Blink Layout Tests |
| 2 | 2 |
| 3 Design Doc: https://goo.gl/iXUaZd | 3 Design Doc: https://goo.gl/iXUaZd |
| 4 | 4 |
| 5 This directory contains checked out and reduced code from web-platform-tests | 5 This directory contains checked out and reduced code from web-platform-tests |
| 6 (https://github.com/w3c/web-platform-tests/) required to run WPT tests as part | 6 (https://github.com/w3c/web-platform-tests/) required to run WPT tests as part |
| 7 of Blink's test infrastructure and some maintenance/configuration code. | 7 of Blink's test infrastructure and some maintenance/configuration code. |
| 8 | 8 |
| 9 The third party code lives entirely in the wpt subdirectory: | 9 The third party code lives entirely in the wpt subdirectory: |
| 10 Tools/Scripts/webkitpy/thirdparty/wpt/wpt | 10 Tools/Scripts/webkitpy/thirdparty/wpt/wpt |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 (which gets generated on the first run). | 84 (which gets generated on the first run). |
| 85 | 85 |
| 86 Note that editing /etc/hosts is not required for run-webkit-tests since | 86 Note that editing /etc/hosts is not required for run-webkit-tests since |
| 87 content_shell is invoked with flags to map all *.test domains to 127.0.0.1. | 87 content_shell is invoked with flags to map all *.test domains to 127.0.0.1. |
| 88 | 88 |
| 89 ** | 89 ** |
| 90 | 90 |
| 91 Running web-platform-tests with enabled WPTServe on a local machine | 91 Running web-platform-tests with enabled WPTServe on a local machine |
| 92 | 92 |
| 93 Starting run-webkit-tests with the --enable-wptserve flag will start WPTServe | 93 Starting run-webkit-tests with the --enable-wptserve flag will start WPTServe |
| 94 for tests which live in LayoutTests/imported/web-platform-tests. | 94 for tests which live in LayoutTests/imported/wpt. |
| 95 | 95 |
| 96 WPTServe starts HTTP/S and WS/S servers as separate processes. | 96 WPTServe starts HTTP/S and WS/S servers as separate processes. |
| 97 | 97 |
| 98 The content_shell used to run the tests will receive the URL of each test | 98 The content_shell used to run the tests will receive the URL of each test |
| 99 (instead of a filename). The document root http://web-platform.test/ maps to | 99 (instead of a filename). The document root http://web-platform.test/ maps to |
| 100 LayoutTests/imported/web-platform-tests. HTTPS tests are enabled by default. | 100 LayoutTests/imported/wpt. HTTPS tests are enabled by default. |
| 101 | 101 |
| 102 Example run: | 102 Example run: |
| 103 | 103 |
| 104 ./Tools/Scripts/run-webkit-tests \ | 104 ./Tools/Scripts/run-webkit-tests \ |
| 105 --debug \ | 105 --debug \ |
| 106 --enable-wptserve \ | 106 --enable-wptserve \ |
| 107 --no-new-test-results \ | 107 --no-new-test-results \ |
| 108 imported/web-platform-tests | 108 imported/wpt |
| OLD | NEW |