chore: remove temporary H5 cache diagnostics

This commit is contained in:
Booker
2026-05-26 22:22:07 +07:00
parent 82b06f80b5
commit bd3ccf7f2d
4 changed files with 3 additions and 269 deletions

View File

@@ -51,7 +51,7 @@ void main() {
test('rewrites legacy H5 host main-frame URLs to the canonical host', () {
final uri = Uri.parse(
AppConfig.canonicalizeMainFrameUrl(
'https://h5-im.imharry.work/login?from=runtime'
'https://h5-test.imharry.work/login?from=runtime'
'&shell_app_name=Old#shell_app_logo=old',
),
);
@@ -60,7 +60,6 @@ void main() {
expect(uri.host, 'h5-im.imharry.work');
expect(uri.path, '/login');
expect(uri.queryParameters['from'], 'runtime');
expect(uri.queryParameters.containsKey('_h5_t'), isTrue);
expect(uri.queryParameters.containsKey('shell_app_name'), isFalse);
expect(Uri.splitQueryString(uri.fragment).containsKey('shell_app_logo'),
isFalse);