Skip to content

Commit

Permalink
Fetch: add test for fetch of empty blob
Browse files Browse the repository at this point in the history
Add test for fetch of a blob: URL without a backing blob.
  • Loading branch information
dlrobertson committed May 11, 2022
1 parent f0d4209 commit 23e7602
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fetch/api/basic/scheme-blob.sub.any.js
Expand Up @@ -42,4 +42,7 @@ invalidRequestMethods.forEach(function(method) {
checkKoUrl(URL.createObjectURL(blob2), method, "Fetching [" + method + "] URL.createObjectURL(blob) is KO");
});

checkKoUrl("blob:not-backed-by-a-blob/", "GET",
"Fetching [GET] blob:not-backed-by-a-blob/ is KO");

done();

0 comments on commit 23e7602

Please sign in to comment.