jsdom implements Blob and URL but not URL.createObjectURL: jsdom/jsdom#1721
Thus the following code prevent createObjectURL to be polyfilled.
if (view.Blob && view.URL) {
try {
new Blob;
return;
} catch (e) {}
}
Could the same thing happens to older browser?
Can I submit a PR?
This cause jspdf not able to run in jsdom