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:
parent
f04dbcaf2e
commit
e9f5336cc9
2 changed files with 42 additions and 29 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue