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

Merge pull request #3477 from brendandahl/font-loading

Use dummy font for testing when pdf fonts are loaded.
This commit is contained in:
Yury Delendik 2013-07-18 07:01:55 -07:00
commit 0dd0e2ee64
3 changed files with 137 additions and 139 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',