锁定移动壳注入消息来源字段
补充移动壳 HostBridge 注入 source 与 origin 断言 更新移动壳配置门禁反查注入来源测试
This commit is contained in:
@@ -2612,6 +2612,9 @@ for (const snippet of [
|
||||
'mobile HostBridge message injection failed',
|
||||
"test('drops delayed HostBridge responses after shell unmount'",
|
||||
"id: 'network-request-1'",
|
||||
'expectInjectedHostBridgeMessageSource',
|
||||
"expect(script).toContain('origin: window.location.origin')",
|
||||
"expect(script).toContain('source: window')",
|
||||
"type: 'genarrative.mobile.historyState'",
|
||||
'mobile host event failed for network.statusChanged',
|
||||
'external WebView navigation native failures stay outside the WebView',
|
||||
|
||||
Reference in New Issue
Block a user