test: remove some remote usage from chromium specs (#20121)
* test: remove remote usage from chromium specs * disable tts test * port navigator.mediaDevices tests * fake camera and microphone * Update spec-main/chromium-spec.ts Co-Authored-By: John Kleinschmidt <jkleinsc@github.com>
This commit is contained in:
parent
1b2c6a33b3
commit
2aa7ab821c
5 changed files with 420 additions and 462 deletions
|
@ -535,6 +535,13 @@ ifdescribe(features.isRemoteModuleEnabled())('remote module', () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe('constructing a Uint8Array', () => {
|
||||
it('does not crash', () => {
|
||||
const RUint8Array = remote.getGlobal('Uint8Array')
|
||||
const arr = new RUint8Array()
|
||||
})
|
||||
})
|
||||
|
||||
describe('remote listeners', () => {
|
||||
let w = null
|
||||
afterEach(() => closeWindow(w).then(() => { w = null }))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue