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:
parent
8ae3fd49f9
commit
8266cc18e7
@ -43,14 +43,6 @@ if (typeof PDFJS === 'undefined') {
|
|||||||
|
|
||||||
PDFJS.compatibilityChecked = true;
|
PDFJS.compatibilityChecked = true;
|
||||||
|
|
||||||
// URL = URL || webkitURL
|
|
||||||
// Support: Safari<7, Android 4.2+
|
|
||||||
(function normalizeURLObject() {
|
|
||||||
if (!globalScope.URL) {
|
|
||||||
globalScope.URL = globalScope.webkitURL;
|
|
||||||
}
|
|
||||||
})();
|
|
||||||
|
|
||||||
// No XMLHttpRequest#response?
|
// No XMLHttpRequest#response?
|
||||||
// Support: IE<11, Android <4.0
|
// Support: IE<11, Android <4.0
|
||||||
(function checkXMLHttpRequestResponseCompatibility() {
|
(function checkXMLHttpRequestResponseCompatibility() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user