Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0
This commit is contained in:
parent
3a1fba4efe
commit
e241a42d2f
1 changed files with 1305 additions and 331 deletions
|
|
@ -140,3 +140,15 @@ assert.throws(()=>sharing.route({name:'share',data:{type:'image/jpeg',blobs:Arra
|
|||
assert.throws(()=>sharing.start({app:{id:'untrusted'}},{name:'share',data:{type:'image/jpeg'}}),/PERMISSION_DENIED/);
|
||||
assert.equal(isGaiaActivity({name:'share'}),true);
|
||||
console.log('Gallery share chooser, MIME matching, provider limits and cancellation: OK');
|
||||
|
||||
const camera = {id:'camera',origin:'http://camera.localhost',manifest:{
|
||||
launch_path:'/index.html',activities:{record:{filters:{type:['photos','videos']},disposition:'window'}}
|
||||
}};
|
||||
apps.push(camera);
|
||||
const recording = {name:'record',data:{type:'videos'}};
|
||||
assert.ok(isGaiaActivity(recording));
|
||||
const openedCamera = broker.start({app:{id:'video'}},recording);
|
||||
assert.equal(new URL(launches.at(-1)[1]).hash,'#record');
|
||||
broker.subscribe({app:camera});
|
||||
await openedCamera;
|
||||
assert.deepEqual(events.at(-1)[2].source,recording);
|
||||
|
|
|
|||
Loading…
Reference in a new issue