mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Update web-platform-tests to revision b'3b791e5b10812a4ca4473d93679fc70d1a7f5f88'
This commit is contained in:
parent
61fe4cf606
commit
17f4d58879
157 changed files with 1609 additions and 430 deletions
|
@ -28,8 +28,12 @@ backgroundFetchTest((t, bgFetch) => {
|
|||
return bgFetch.fetch(uniqueId(), 'https://example.com:8080');
|
||||
}, 'fetch to non-default non-bad port (8080) should register ok');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
backgroundFetchTest(async (t, bgFetch) => {
|
||||
const promise = bgFetch.fetch(uniqueId(), 'https://example.com:587').then(fetch => {
|
||||
return fetch.match('https://example.com:587');
|
||||
}).then(record => record.responseReady);
|
||||
|
||||
return promise_rejects_js(
|
||||
t, TypeError,
|
||||
bgFetch.fetch(uniqueId(), 'https://example.com:587'));
|
||||
promise);
|
||||
}, 'fetch to bad port (SMTP) should reject');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue