| <!-- webkit-test-runner [ IPCTestingAPIEnabled=true ] --> |
| <p>This test passes if WebKit does not crash.</p> |
| <script> |
| testRunner?.dumpAsText(); |
| testRunner?.waitUntilDone(); |
| |
| setTimeout(async () => { |
| if (!window.IPC) |
| return testRunner?.notifyDone(); |
| |
| const { CoreIPC } = await import('./coreipc.js'); |
| CoreIPC.Networking.NetworkConnectionToWebProcess.CreateSocketChannel(0, { |
| request: { |
| getRequestDataToSerialize: { |
| variantType: 'WebCore::ResourceRequest::RequestData', |
| variant: { |
| m_url: { string: 'A' }, |
| m_firstPartyForCookies: { string: '' }, |
| m_timeoutInterval: 0, |
| m_httpMethod: 'GET', |
| m_httpHeaderFields: { commonHeaders: [], uncommonHeaders: [] }, |
| m_responseContentDispositionEncodingFallbackArray: [], |
| m_cachePolicy: 0, |
| m_sameSiteDisposition: 0, |
| m_priority: 1, |
| m_requester: 0, |
| m_allowCookies: true, |
| m_isTopSite: true, |
| m_isAppInitiated: true, |
| m_privacyProxyFailClosedForUnreachableNonMainHosts: true, |
| m_useAdvancedPrivacyProtections: true, |
| m_didFilterLinkDecoration: false, |
| m_isPrivateTokenUsageByThirdPartyAllowed: false, |
| m_wasSchemeOptimisticallyUpgraded: false, |
| m_targetAddressSpace: 0 |
| } |
| }, |
| shouldBlockThirdPartyStorage: true, |
| hiddenFromInspector: true |
| }, |
| protocol: '', |
| identifier: 393216, |
| webPageProxyID: IPC.webPageProxyID, |
| frameID: {}, |
| pageID: { optionalValue: IPC.pageID }, |
| clientOrigin: { |
| topOrigin: { data: { variantType: 'WebCore::SecurityOriginData::Tuple', variant: { protocol: '', host: '', port: {} } } }, |
| clientOrigin: { data: { variantType: 'WebCore::SecurityOriginData::Tuple', variant: { protocol: '', host: '', port: {} } } } |
| }, |
| hadMainFrameMainResourcePrivateRelayed: false, |
| allowPrivacyProxy: false, |
| protections: 0, |
| storedCredentialsPolicy: 0, |
| isInitiatedByDedicatedWorker: 0 |
| }); |
| }, 10); |
| |
| setTimeout(() => { |
| testRunner?.notifyDone(); |
| }, 2000); |
| </script> |