Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64

This commit is contained in:
WPT Sync Bot 2018-05-29 21:17:45 -04:00
parent 11a89bcc47
commit 8f98acd0e7
297 changed files with 3396 additions and 1555 deletions

View file

@ -8,7 +8,7 @@ cd $WPT_ROOT
source tools/ci/lib.sh
main() {
git fetch --unshallow https://github.com/w3c/web-platform-tests.git +refs/heads/*:refs/remotes/origin/*
git fetch --unshallow https://github.com/web-platform-tests/wpt.git +refs/heads/*:refs/remotes/origin/*
hosts_fixup
install_chrome unstable
pip install -U tox codecov

View file

@ -9,7 +9,7 @@ import yaml
here = os.path.dirname(__file__)
wpt_root = os.path.abspath(os.path.join(here, os.pardir, os.pardir))
docker_image = "harjgam/web-platform-tests:0.12"
docker_image = "gsnedders/web-platform-tests:0.13"
task_template = {
"provisionerId": "aws-provisioner-v1",

View file

@ -14,7 +14,7 @@
#!/bin/bash
set -ex
REMOTE=${1:-https://github.com/w3c/web-platform-tests}
REMOTE=${1:-https://github.com/web-platform-tests/wpt}
BRANCH=${2:-master}
REV=${3:-FETCH_HEAD}
BROWSER=${4:-all}
@ -41,7 +41,7 @@ then
deb_archive=google-chrome-unstable_current_amd64.deb
wget https://dl.google.com/linux/direct/$deb_archive
sudo apt-get -qqy update && gdebi -n $deb_archive
sudo apt-get -qqy update && sudo gdebi -n $deb_archive
fi
sudo Xvfb $DISPLAY -screen 0 ${SCREEN_WIDTH}x${SCREEN_HEIGHT}x${SCREEN_DEPTH} &

View file

@ -40,7 +40,7 @@ def git_commits(repo_root):
def github_url(commits):
try:
resp = urlopen("https://api.github.com/repos/w3c/web-platform-tests/releases")
resp = urlopen("https://api.github.com/repos/web-platform-tests/wpt/releases")
except Exception:
return None

View file

@ -94,7 +94,7 @@
<div class="instructions">
<p>
To run a set of
<a href="https://github.com/w3c/web-platform-tests/blob/master/README.md">web-platform-tests</a>
<a href="https://github.com/web-platform-tests/wpt/blob/master/README.md">web-platform-tests</a>
tests, specify a path value in the <b>Run tests under path</b> field above. Example paths:
</p>
<ul>

View file

@ -454,7 +454,7 @@ def make_hosts_file(config, host):
# for this context. These systems do not reserve any value for this
# purpose, so the inavailability of the domains must be taken for granted.
#
# https://github.com/w3c/web-platform-tests/issues/10560
# https://github.com/web-platform-tests/wpt/issues/10560
if platform.uname()[0] == "Windows":
for not_domain in config.not_domains_set:
rv.append("0.0.0.0\t%s\n" % not_domain)

View file

@ -9,7 +9,7 @@ implementation compliance to the specification in mind,
so that different remote end drivers
can determine whether they meet the recognised standard.
The client is used for the WebDriver specification tests
in the [Web Platform Tests](https://github.com/w3c/web-platform-tests).
in the [Web Platform Tests](https://github.com/web-platform-tests/wpt).
## Installation
@ -31,7 +31,7 @@ which is useful if you want to contribute patches back:
>>>
If you are writing WebDriver specification tests for
[WPT](https://github.com/w3c/web-platform-tests),
[WPT](https://github.com/web-platform-tests/wpt),
there is no need to install the client manually
as it is included in the `tools/webdriver` directory.

View file

@ -233,4 +233,4 @@ The web-platform-test harness knows about several keys:
`refurl`
The reference url for reftests.
.. _`web-platform-tests testsuite`: https://github.com/w3c/web-platform-tests
.. _`web-platform-tests testsuite`: https://github.com/web-platform-tests/wpt

View file

@ -32,7 +32,7 @@ a copy of the web-platform-tests repository. This can be located
anywhere on the filesystem, but the easiest option is to put it
under the same parent directory as the wptrunner checkout::
git clone https://github.com/w3c/web-platform-tests.git
git clone https://github.com/web-platform-tests/wpt.git
It is also necessary to generate a web-platform-tests ``MANIFEST.json``
file. It's recommended to also put that under the same parent directory as
@ -220,7 +220,7 @@ url to pull from; ``branch`` the branch to sync against and
use when checking out the tests e.g.::
[web-platform-tests]
remote_url = https://github.com/w3c/web-platform-tests.git
remote_url = https://github.com/web-platform-tests/wpt.git
branch = master
sync_path = sync

View file

@ -1,7 +1,7 @@
[products]
[web-platform-tests]
remote_url = https://github.com/w3c/web-platform-tests.git
remote_url = https://github.com/web-platform-tests/wpt.git
branch = master
sync_path = %(pwd)s/sync

View file

@ -122,7 +122,7 @@ def env_options():
# network.dns.localDomains preference set below) to resolve the test
# domains to localhost without relying on the network stack.
#
# https://github.com/w3c/web-platform-tests/pull/9480
# https://github.com/web-platform-tests/wpt/pull/9480
return {"server_host": "127.0.0.1",
"bind_address": False,
"supports_debugger": True}

View file

@ -5,5 +5,5 @@ reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Current
REM Download and install the Ahem font
REM - https://wiki.saucelabs.com/display/DOCS/Downloading+Files+to+a+Sauce+Labs+Virtual+Machine+Prior+to+Testing
REM - https://superuser.com/questions/201896/how-do-i-install-a-font-from-the-windows-command-prompt
bitsadmin.exe /transfer "JobName" https://github.com/w3c/web-platform-tests/raw/master/fonts/Ahem.ttf "%WINDIR%\Fonts\Ahem.ttf"
bitsadmin.exe /transfer "JobName" https://github.com/web-platform-tests/wpt/raw/master/fonts/Ahem.ttf "%WINDIR%\Fonts\Ahem.ttf"
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Ahem (TrueType)" /t REG_SZ /d Ahem.ttf /f

View file

@ -1,3 +1,3 @@
#!/bin/bash
curl https://raw.githubusercontent.com/w3c/web-platform-tests/master/fonts/Ahem.ttf > ~/Library/Fonts/Ahem.ttf
curl https://raw.githubusercontent.com/web-platform-tests/wpt/master/fonts/Ahem.ttf > ~/Library/Fonts/Ahem.ttf
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool true