Merge pull request #6446 from electron/accessibility-api
Add API for Chrome's accessibility support state
This commit is contained in:
commit
df0d2b89cd
9 changed files with 56 additions and 0 deletions
|
@ -339,4 +339,10 @@ describe('app module', function () {
|
|||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('isAccessibilitySupportEnabled API', function () {
|
||||
it('returns whether the Chrome has accessibility APIs enabled', function () {
|
||||
assert.equal(typeof app.isAccessibilitySupportEnabled(), 'boolean')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue