1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Add atob polyfill. Remove uneeded data uri polyfill.

This commit is contained in:
Brendan Dahl 2013-07-17 10:26:12 -07:00
parent f04dbcaf2e
commit e9f5336cc9
2 changed files with 42 additions and 29 deletions

View file

@ -275,6 +275,18 @@ var tests = [
impact: 'Critical',
area: 'Core'
},
{
id: 'atob',
name: 'atob() is present',
run: function () {
if ('atob' in window)
return { output: 'Success', emulated: '' };
else
return { output: 'Failed', emulated: 'Yes' };
},
impact: 'Critical',
area: 'Core'
},
{
id: 'Function-bind',
name: 'Function.prototype.bind is present',