Lines Matching refs:fetch
1 // META: script=resources/fetch-tests.js
4 return fetch(request).then(response => response.text());
8 return promise_rejects_js(test, TypeError, fetch(url, {method: method}));
11 fetch_tests('fetch', fetch_should_succeed, fetch_should_fail);
19 return fetch(url).then(response => {
22 }, 'fetch should return Content-Type from Blob');
32 // revoke the URL before calling fetch().
38 }, 'Revoke blob URL after creating Request, will fetch');
49 // Revoke the object URL. fetch should have already resolved the blob URL.
53 }, 'Revoke blob URL after calling fetch, fetch should succeed');