Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a

This commit is contained in:
OverSu 2026-11-28 12:20:19 +01:00
commit 3a1fba4efe

View file

@ -48,3 +48,18 @@ test('Gaia notification sound and vibration respect per-notification flags',()=>
show({novibrate:true});assert.equal(events.sound,1);assert.equal(events.vibration,1);
show({});assert.equal(events.sound,2);assert.equal(events.vibration,2);
});
test('a scalable icon entry does not discard available numbered notification icons',()=>{
const store=new Notifications();
const mixed={...app,manifest:{icons:{any:'/vector.svg',128:'/small.png',256:'/large.png'}}};
assert.equal(store.show(mixed,{}).icon,app.origin+'/large.png');
assert.equal(store.show({...app,manifest:{icons:{any:'/vector.svg'}}},{}).icon,app.origin+'/vector.svg');
});
test('invalid optional icon cannot discard a notification',()=>{
const store=new Notifications();
const row=store.show(app,{title:'Message',icon:'http://['});
assert.equal(row.title,'Message');
assert.equal(row.icon,app.origin+'/sms.png');
assert.equal(store.list().length,1);
});