diff --git a/agent/main/test/mitm.test.ts b/agent/main/test/mitm.test.ts index fda453712..e899f8861 100644 --- a/agent/main/test/mitm.test.ts +++ b/agent/main/test/mitm.test.ts @@ -81,7 +81,7 @@ test('should send preflight requests', async () => { const agent = pool.createAgent({ logger: TestLogger.forTest(module) }); Helpers.needsClosing.push(agent); agent.mitmRequestSession.interceptorHandlers.push({ - urls: ['https://dataliberationfoundation.org/postback'], + urls: ['https://ulixee.org/postback'], handlerFn(url, type, request, response) { response.end(` @@ -99,7 +99,7 @@ xhr.send('DLF'); }, }); const page = await agent.newPage(); - await page.goto(`https://dataliberationfoundation.org/postback`); + await page.goto(`https://ulixee.org/postback`); await expect(corsPromise).resolves.toBeTruthy(); await expect(postPromise).resolves.toBeTruthy(); @@ -308,9 +308,9 @@ test('should proxy iframe requests', async () => { agent.mitmRequestSession.interceptorHandlers.push({ urls: [ - 'https://dataliberationfoundation.org/iframe', - 'https://dataliberationfoundation.org/test.css', - 'https://dataliberationfoundation.org/dlfSite.png', + 'https://ulixee.org/iframe', + 'https://ulixee.org/test.css', + 'https://ulixee.org/dlfSite.png', ], handlerFn(url, type, request, response) { response.end(` @@ -324,7 +324,7 @@ test('should proxy iframe requests', async () => { ctx.body = ` This is the main body - + `; }); @@ -334,9 +334,9 @@ This is the main body const urls = mocks.MitmRequestContext.create.mock.results.map(x => x.value.url.href); expect(urls).toEqual([ expect.stringMatching(/http:\/\/localhost:\d+\/iframe-test/), - 'https://dataliberationfoundation.org/iframe', - 'https://dataliberationfoundation.org/test.css', - 'https://dataliberationfoundation.org/dlfSite.png', + 'https://ulixee.org/iframe', + 'https://ulixee.org/test.css', + 'https://ulixee.org/dlfSite.png', ]); }); diff --git a/agent/mitm/test/basic.test.ts b/agent/mitm/test/basic.test.ts index 31700dec0..89f68d2c9 100644 --- a/agent/mitm/test/basic.test.ts +++ b/agent/mitm/test/basic.test.ts @@ -129,7 +129,7 @@ describe('basic MitM tests', () => { const session = createSession(mitmServer, upstreamProxyHost); await Helpers.httpGet( - 'https://dataliberationfoundation.org', + 'https://ulixee.org', proxyHost, session.getProxyCredentials(), ).catch(); diff --git a/browser-profiler/main/bin/runLocal.ts b/browser-profiler/main/bin/runLocal.ts index 87478e75a..934b15877 100644 --- a/browser-profiler/main/bin/runLocal.ts +++ b/browser-profiler/main/bin/runLocal.ts @@ -8,7 +8,7 @@ * sudo pmset repeat wakeorpoweron MTWRFSU 06:00:00 * * add an entry - * 1 6 * * * cd $HOME/Projects/DataLiberationFoundation/unblocked/browser-profiler/build/ && npx runLocal + * 1 6 * * * cd $HOME/Projects/ulixee/unblocked/browser-profiler/build/ && npx runLocal */ import '@ulixee/commons/lib/SourceMapSupport'; import { spawnSync } from 'child_process'; diff --git a/plugins/default-browser-emulator/test/iframe.test.ts b/plugins/default-browser-emulator/test/iframe.test.ts index cb4697bf7..4d0f19bb2 100644 --- a/plugins/default-browser-emulator/test/iframe.test.ts +++ b/plugins/default-browser-emulator/test/iframe.test.ts @@ -271,7 +271,7 @@ test('should set user agent on cross origin frames', async () => { res.end(`
Cross Storage
- + `); return; @@ -288,7 +288,7 @@ test('should set user agent on cross origin frames', async () => { const agent = await createAgent(); const page = await createPage(agent); agent.mitmRequestSession.interceptorHandlers.push({ - urls: ['https://dataliberationfoundation.org/*'], + urls: ['https://ulixee.org/*'], types: [], handlerFn(url: URL, type: IResourceType, request, response) { response.end(`

frame body