SHA256
Добавлена «Отправить через» в Android
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user