{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma/issues/1302","labels_url":"https://api.github.com/repos/karma-runner/karma/issues/1302/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma/issues/1302/comments","events_url":"https://api.github.com/repos/karma-runner/karma/issues/1302/events","html_url":"https://github.com/karma-runner/karma/issues/1302","id":56700908,"number":1302,"title":"Karma doesn't find Worker script","user":{"login":"janpetzold","id":1469105,"avatar_url":"https://avatars.githubusercontent.com/u/1469105?v=3","gravatar_id":"","url":"https://api.github.com/users/janpetzold","html_url":"https://github.com/janpetzold","followers_url":"https://api.github.com/users/janpetzold/followers","following_url":"https://api.github.com/users/janpetzold/following{/other_user}","gists_url":"https://api.github.com/users/janpetzold/gists{/gist_id}","starred_url":"https://api.github.com/users/janpetzold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janpetzold/subscriptions","organizations_url":"https://api.github.com/users/janpetzold/orgs","repos_url":"https://api.github.com/users/janpetzold/repos","events_url":"https://api.github.com/users/janpetzold/events{/privacy}","received_events_url":"https://api.github.com/users/janpetzold/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-05T17:23:06Z","updated_at":"2015-04-13T06:08:42Z","closed_at":"2015-02-06T07:50:17Z","body":"I'm trying to test WebWorkers with PhantomJS/Karma/Angular/Jasmine and Karma always states that it can't find the file:\r\n\r\n`var worker = new Worker('js/path/to/my/worker.js');`\r\n\r\nPath matches the path of all my other scripts, I can enter any (valid) path here, I've tried dozens of combinations, but Karma always gives me a 404 and the test fails.\r\n\r\nI'm working around this by overwriting window.Worker in `beforeEach`, but there should be a better way?\r\n\r\nIt doesn't matter that much whether the Worker is actually executed, but it should not break the test."},"comment":{"url":"https://api.github.com/repos/karma-runner/karma/issues/comments/92227891","html_url":"https://github.com/karma-runner/karma/issues/1302#issuecomment-92227891","issue_url":"https://api.github.com/repos/karma-runner/karma/issues/1302","id":92227891,"user":{"login":"liuxiong332","id":3992532,"avatar_url":"https://avatars.githubusercontent.com/u/3992532?v=3","gravatar_id":"","url":"https://api.github.com/users/liuxiong332","html_url":"https://github.com/liuxiong332","followers_url":"https://api.github.com/users/liuxiong332/followers","following_url":"https://api.github.com/users/liuxiong332/following{/other_user}","gists_url":"https://api.github.com/users/liuxiong332/gists{/gist_id}","starred_url":"https://api.github.com/users/liuxiong332/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuxiong332/subscriptions","organizations_url":"https://api.github.com/users/liuxiong332/orgs","repos_url":"https://api.github.com/users/liuxiong332/repos","events_url":"https://api.github.com/users/liuxiong332/events{/privacy}","received_events_url":"https://api.github.com/users/liuxiong332/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T06:08:42Z","updated_at":"2015-04-13T06:08:42Z","body":"great!"}}