Release Preview 20 shared desktop, Android and Sargo updates
Restore Gaia settings and media workflows, extend native network adapters, and align the APK payload. Generate French/English changelogs and website entries from the simplified JSON source. Validation: shared JS and Tundra unit tests; desktop workflows and persistence; signed APK payload parity; Sargo RAM and installed startup with boot readback. Android runtime qualification is recorded separately.
This commit is contained in:
parent
be2cdce823
commit
1311bed5e9
170 changed files with 19698 additions and 2495 deletions
|
|
@ -1,6 +1,21 @@
|
|||
// Test-only actor, registered by tools/inspect-host.py through Marionette.
|
||||
export class VulpesProbeChild extends JSWindowActorChild {
|
||||
async receiveMessage(message) {
|
||||
if (message.name === 'Swipe') {
|
||||
const {x,y,toX,toY}=message.data, win=this.contentWindow;
|
||||
if (![x,y,toX,toY].every(Number.isFinite) ||
|
||||
[x,toX].some(v=>v<0 || v>=win.innerWidth) ||
|
||||
[y,toY].some(v=>v<0 || v>=win.innerHeight)) throw Error('INVALID_TEST_POINT');
|
||||
const {setTimeout}=ChromeUtils.importESModule('resource://gre/modules/Timer.sys.mjs');
|
||||
for (let step=0;step<=12;step++) {
|
||||
const points=[{identifier:0,offsetX:x+(toX-x)*step/12,
|
||||
offsetY:y+(toY-y)*step/12,radiiX:1,radiiY:1}];
|
||||
win.synthesizeTouchEvent(step===0?'touchstart':'touchmove',points,0,{isAsyncEnabled:false});
|
||||
await new Promise(resolve=>setTimeout(resolve,20));
|
||||
}
|
||||
win.synthesizeTouchEvent('touchend',[{identifier:0,offsetX:toX,offsetY:toY,radiiX:1,radiiY:1}],0,{isAsyncEnabled:false});
|
||||
return true;
|
||||
}
|
||||
if (message.name === 'MouseClick') {
|
||||
const {x,y}=message.data, win=this.contentWindow;
|
||||
if (!Number.isFinite(x) || !Number.isFinite(y) || x<0 || y<0 ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue