Blob references for System Previews don't get a correct file extension
[WebKit-https.git] / Tools / TestWebKitAPI / Tests / WebKitCocoa / SystemPreviewBlobNaming.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <a id="href" href="simple.html">download</a>
5 <script>
6     var element = document.getElementById("href");
7     var data = "fake data";
8     var blob = new Blob([data], {type: "model/vnd.usdz+zip"});
9     var url = window.URL.createObjectURL(blob);
10
11     element.href = url;
12     element.click();
13 </script>
14 </body>
15 </html>