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:
commit
0dd0e2ee64
3 changed files with 137 additions and 139 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