Auto merge of #18851 - jdm:updatewpt4, r=jdm

Update WPT

This syncs us with 524bea1dd8d0ad58733072bd4e8b8044042f589e from web-platform-tests.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18851)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-10-12 12:08:04 -05:00 committed by GitHub
commit 8171a5f7fe
5378 changed files with 174923 additions and 84346 deletions

View file

@ -496,14 +496,12 @@ class MachCommands(CommandBase):
description='Update the web platform tests',
category='testing',
parser=updatecommandline.create_parser())
@CommandArgument('--patch', action='store_true', default=False,
help='Create an mq patch or git commit containing the changes')
def update_wpt(self, patch, **kwargs):
def update_wpt(self, **kwargs):
self.ensure_bootstrapped()
run_file = path.abspath(path.join("tests", "wpt", "update.py"))
kwargs["no_patch"] = not patch
patch = kwargs.get("patch", False)
if kwargs["no_patch"] and kwargs["sync"]:
if not patch and kwargs["sync"]:
print("Are you sure you don't want a patch?")
return 1