mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64
This commit is contained in:
parent
11a89bcc47
commit
8f98acd0e7
297 changed files with 3396 additions and 1555 deletions
|
@ -4,20 +4,6 @@
|
|||
<script src=/resources/testharnessreport.js></script>
|
||||
<div id=log></div>
|
||||
<script>
|
||||
function runURLConstructorTests() {
|
||||
var setup = async_test("Loading data…")
|
||||
setup.step(function() {
|
||||
var request = new XMLHttpRequest()
|
||||
request.open("GET", "urltestdata.json")
|
||||
request.send()
|
||||
request.responseType = "json"
|
||||
request.onload = setup.step_func(function() {
|
||||
runURLTests(request.response)
|
||||
setup.done()
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
function bURL(url, base) {
|
||||
return new URL(url, base || "about:blank")
|
||||
}
|
||||
|
@ -122,5 +108,5 @@ function runURLSearchParamTests() {
|
|||
}, 'URL.searchParams and URL.search setters, update propagation')
|
||||
}
|
||||
runURLSearchParamTests()
|
||||
runURLConstructorTests()
|
||||
promise_test(() => fetch("resources/urltestdata.json").then(res => res.json()).then(runURLTests), "Loading data…");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue