Update web-platform-tests to revision e91d7d8c9a1f14438e44000dcd05ce6e658e4ae5

This commit is contained in:
WPT Sync Bot 2020-07-11 08:20:37 +00:00
parent 242e7e2630
commit 1a3fdf7a13
567 changed files with 9823 additions and 2333 deletions

View file

@ -1,11 +1,11 @@
def main(request, response):
allow = request.GET.first("allow", "false")
allow = request.GET.first(b"allow", b"false")
headers = [("Content-Type", "application/javascript")]
if allow != "false":
headers.append(("Access-Control-Allow-Origin", "*"))
headers = [(b"Content-Type", b"application/javascript")]
if allow != b"false":
headers.append((b"Access-Control-Allow-Origin", b"*"))
body = """
body = b"""
function handleRejectedPromise(promise) {
promise.catch(() => {});
}