Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0

This commit is contained in:
OverSu 2026-12-01 22:22:00 +01:00
commit e241a42d2f

View file

@ -1,5 +1,5 @@
import {mmsPayload} from 'resource://vulpes/services/mms.mjs';
import { setInterval, setTimeout, clearTimeout } from 'resource://gre/modules/Timer.sys.mjs';
import { setInterval, clearInterval, setTimeout, clearTimeout } from 'resource://gre/modules/Timer.sys.mjs';
import {Input} from 'resource://vulpes/host/Input.sys.mjs';
import { ScreenPower } from 'resource://vulpes/services/screen-power.mjs';
import { Packages } from 'resource://vulpes/services/packages.mjs';
@ -237,7 +237,7 @@ export const Runtime = {
load: async () => ((await IOUtils.exists(alarmPath)) ? IOUtils.readJSON(alarmPath) : null),
save: (state) => IOUtils.writeJSON(alarmPath, state, { tmpPath: alarmPath + '.tmp' }),
},
setInterval,
setInterval, clearInterval,
);
await this.alarms.init();
this.dataStores = new DataStoreService(this.apps, storage, (data) =>
@ -415,9 +415,11 @@ export const Runtime = {
return { error: { code: 'INVALID_URL' } };
}
if (!['http', 'https'].includes(uri.scheme)) return { error: { code: 'URL_SCHEME_DENIED' } };
const data = { type: 'url', url: uri.spec };
if (typeof params.data.isPrivate === 'boolean') data.isPrivate = params.data.isPrivate;
this.broadcast(
'activity-view',
{ source: { name: 'view', data: { type: 'url', url: uri.spec } } },
{ source: { name: 'view', data } },
'system',
);
return { result: null };
@ -512,7 +514,7 @@ export const Runtime = {
if (app.id !== 'system' || typeof params?.home !== 'boolean')
return { error: { code: 'PERMISSION_DENIED' } };
actor.browsingContext.top.embedderElement.ownerDocument.defaultView.setHomeSurface(
params.home,
params.home, params.powerSplash === true, params.trayOverHome === true, params.recents === true, params.dark === true, typeof params.appId === 'string' ? params.appId : '', params.lockscreen === true, params.bootSplash === true,
);
return { result: null };
}