Remove the webkitURL polyfill

This is only relevant for browsers that we don't intend to support with PDF.js version `2.0`.
This commit is contained in:
Jonas Jenwald 2017-12-19 14:46:04 +01:00
parent 8ae3fd49f9
commit 8266cc18e7

View File

@ -43,14 +43,6 @@ if (typeof PDFJS === 'undefined') {
PDFJS.compatibilityChecked = true;
// URL = URL || webkitURL
// Support: Safari<7, Android 4.2+
(function normalizeURLObject() {
if (!globalScope.URL) {
globalScope.URL = globalScope.webkitURL;
}
})();
// No XMLHttpRequest#response?
// Support: IE<11, Android <4.0
(function checkXMLHttpRequestResponseCompatibility() {