Добавлена «Отправить через» в Android

This commit is contained in:
AidarKC
2026-11-28 02:02:28 +03:00
parent 34e5fa1403
commit ebd5d37039
20 changed files with 426 additions and 31 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ function setup(path) {
const url = new URL(path, 'https://t2.shineup.me');
const calls = [];
const window = { location: url, history: { state: { shineFrom: '/messages' }, replaceState(state, _, value) { calls.push([state, value]); url.href = new URL(value, url).href; }, pushState(state, _, value) { url.href = new URL(value, url).href; } }, dispatchEvent() {} };
const router = vm.runInNewContext(source + '\n({toPrettyPath,getRoute,navigate})', { window, PopStateEvent: class {}, parseShineRouteParts: () => null });
const router = vm.runInNewContext(source + '\n({toPrettyPath,getRoute,navigate})', { window, PopStateEvent: class {}, parseShineRouteParts: () => null, allowShareNavigation: () => true });
return { router, window, calls };
}
test('chat navigation keeps @ visible; other escapes unchanged', () => {