{"id":27387108,"url":"https://github.com/bxt/testcafe-2140","last_synced_at":"2025-10-13T12:33:18.338Z","repository":{"id":143028760,"uuid":"209095097","full_name":"bxt/testcafe-2140","owner":"bxt","description":"Example regression test for bug DevExpress/testcafe-hammerhead#2140","archived":false,"fork":false,"pushed_at":"2019-09-17T16:03:06.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T11:56:32.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bxt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-17T15:48:35.000Z","updated_at":"2019-09-17T16:03:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"321b1561-d01d-4875-8189-0893ee035b78","html_url":"https://github.com/bxt/testcafe-2140","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bxt/testcafe-2140","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxt%2Ftestcafe-2140","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxt%2Ftestcafe-2140/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxt%2Ftestcafe-2140/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxt%2Ftestcafe-2140/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bxt","download_url":"https://codeload.github.com/bxt/testcafe-2140/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxt%2Ftestcafe-2140/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015056,"owners_count":26085643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-13T17:53:32.398Z","updated_at":"2025-10-13T12:33:18.333Z","avatar_url":"https://github.com/bxt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"testcafe-2140\n=============\n\nExample regression test for bug [DevExpress/testcafe-hammerhead#2140](https://github.com/DevExpress/testcafe-hammerhead/issues/2140).\n\nRun against GitHub pages of this repo:\n\n```sh\ntestcafe chrome test-gh.ts\n```\n\nRun locally:\n\n```sh\npython -m SimpleHTTPServer 80 \u0026\ntestcafe chrome test.ts\n```\n\nThe problem is that the following two expressions return the same thing when visiting the page in a browser:\n\n```js\nwindow.location.origin\nnew Request('/').url\n```\n\nBut the second one is something like `http://0.0.0.0:12345/8RWZTuU_s/https://bxt.github.io/testcafe-2140/` when run via testcafe.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbxt%2Ftestcafe-2140","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbxt%2Ftestcafe-2140","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbxt%2Ftestcafe-2140/lists"}