{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6510","labels_url":"https://api.github.com/repos/servo/servo/issues/6510/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6510/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6510/events","html_url":"https://github.com/servo/servo/pull/6510","id":91639148,"number":6510,"title":"Update Worker location for redirects","user":{"login":"mintern","id":3847612,"avatar_url":"https://avatars.githubusercontent.com/u/3847612?v=3","gravatar_id":"","url":"https://api.github.com/users/mintern","html_url":"https://github.com/mintern","followers_url":"https://api.github.com/users/mintern/followers","following_url":"https://api.github.com/users/mintern/following{/other_user}","gists_url":"https://api.github.com/users/mintern/gists{/gist_id}","starred_url":"https://api.github.com/users/mintern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mintern/subscriptions","organizations_url":"https://api.github.com/users/mintern/orgs","repos_url":"https://api.github.com/users/mintern/repos","events_url":"https://api.github.com/users/mintern/events{/privacy}","received_events_url":"https://api.github.com/users/mintern/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/S-needs-code-changes","name":"S-needs-code-changes","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-28T20:56:56Z","updated_at":"2015-07-01T17:05:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/6510","html_url":"https://github.com/servo/servo/pull/6510","diff_url":"https://github.com/servo/servo/pull/6510.diff","patch_url":"https://github.com/servo/servo/pull/6510.patch"},"body":"Fixes #4146\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/servo/servo/6510)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/117752529","html_url":"https://github.com/servo/servo/pull/6510#issuecomment-117752529","issue_url":"https://api.github.com/repos/servo/servo/issues/6510","id":117752529,"user":{"login":"mintern","id":3847612,"avatar_url":"https://avatars.githubusercontent.com/u/3847612?v=3","gravatar_id":"","url":"https://api.github.com/users/mintern","html_url":"https://github.com/mintern","followers_url":"https://api.github.com/users/mintern/followers","following_url":"https://api.github.com/users/mintern/following{/other_user}","gists_url":"https://api.github.com/users/mintern/gists{/gist_id}","starred_url":"https://api.github.com/users/mintern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mintern/subscriptions","organizations_url":"https://api.github.com/users/mintern/orgs","repos_url":"https://api.github.com/users/mintern/repos","events_url":"https://api.github.com/users/mintern/events{/privacy}","received_events_url":"https://api.github.com/users/mintern/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T17:05:15Z","updated_at":"2015-07-01T17:05:15Z","body":"> Shouldn't need the `.clone()` anymore.\r\n\r\nWhen I remove it:\r\n```\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:180:23: 180:30 error: use of moved value: `runtime` [E0382]\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:180                 match runtime.evaluate_script(\r\n                                                                                  ^~~~~~~\r\nnote: in expansion of closure expansion\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:153:74: 202:10 note: expansion site\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:174:41: 174:48 note: `runtime` moved here because it has type `alloc::rc::Rc<js::rust::Runtime>`, which is non-copyable\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:174                 url, id, devtools_chan, runtime, resource_task,\r\n                                                                                                    ^~~~~~~\r\nnote: in expansion of closure expansion\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:153:74: 202:10 note: expansion site\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:187:54: 187:61 error: use of moved value: `runtime` [E0382]\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:187                         let _ar = JSAutoRequest::new(runtime.cx());\r\n                                                                                                                 ^~~~~~~\r\nnote: in expansion of closure expansion\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:153:74: 202:10 note: expansion site\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:174:41: 174:48 note: `runtime` moved here because it has type `alloc::rc::Rc<js::rust::Runtime>`, which is non-copyable\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:174                 url, id, devtools_chan, runtime, resource_task,\r\n                                                                                                    ^~~~~~~\r\nnote: in expansion of closure expansion\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:153:74: 202:10 note: expansion site\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:188:50: 188:57 error: use of moved value: `runtime` [E0382]\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:188                         report_pending_exception(runtime.cx(), global.r().reflector().get_jsobject().get());\r\n                                                                                                             ^~~~~~~\r\nnote: in expansion of closure expansion\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:153:74: 202:10 note: expansion site\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:174:41: 174:48 note: `runtime` moved here because it has type `alloc::rc::Rc<js::rust::Runtime>`, which is non-copyable\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:174                 url, id, devtools_chan, runtime, resource_task,\r\n                                                                                                    ^~~~~~~\r\nnote: in expansion of closure expansion\r\n.../components/script/dom/dedicatedworkerglobalscope.rs:153:74: 202:10 note: expansion site\r\nerror: aborting due to 3 previous errors\r\nCould not compile `script`.\r\n\r\nTo learn more, run the command again with --verbose.\r\nBuild completed in 39.91s\r\n```\r\n\r\nI'm new to rust and servo development (that's why I'm fixing #4146, which is marked `E-easy`). I'm happy to work with you on this, but I'll need a bit more guidance on what change you intend for me to make here."}}