mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -9,27 +9,27 @@
|
|||
// check that blocking is enabled.
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return bgFetch.fetch(uniqueTag(), 'https://example.com');
|
||||
return bgFetch.fetch(uniqueId(), 'https://example.com');
|
||||
}, 'fetch to default https port should register ok');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return bgFetch.fetch(uniqueTag(), 'http://127.0.0.1');
|
||||
return bgFetch.fetch(uniqueId(), 'http://127.0.0.1');
|
||||
}, 'fetch to default http port should register ok');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return bgFetch.fetch(uniqueTag(), 'https://example.com:443');
|
||||
return bgFetch.fetch(uniqueId(), 'https://example.com:443');
|
||||
}, 'fetch to port 443 should register ok');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return bgFetch.fetch(uniqueTag(), 'https://example.com:80');
|
||||
return bgFetch.fetch(uniqueId(), 'https://example.com:80');
|
||||
}, 'fetch to port 80 should register ok, even over https');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return bgFetch.fetch(uniqueTag(), 'https://example.com:8080');
|
||||
return bgFetch.fetch(uniqueId(), 'https://example.com:8080');
|
||||
}, 'fetch to non-default non-bad port (8080) should register ok');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return promise_rejects(
|
||||
t, new TypeError(),
|
||||
bgFetch.fetch(uniqueTag(), 'https://example.com:587'));
|
||||
bgFetch.fetch(uniqueId(), 'https://example.com:587'));
|
||||
}, 'fetch to bad port (SMTP) should reject');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue