{"action":"closed","issue":{"url":"https://api.github.com/repos/PolymerElements/platinum-sw/issues/81","labels_url":"https://api.github.com/repos/PolymerElements/platinum-sw/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/platinum-sw/issues/81/comments","events_url":"https://api.github.com/repos/PolymerElements/platinum-sw/issues/81/events","html_url":"https://github.com/PolymerElements/platinum-sw/issues/81","id":118628404,"number":81,"title":"Bad default baseUri in Firefox","user":{"login":"jeffposnick","id":1749548,"avatar_url":"https://avatars.githubusercontent.com/u/1749548?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffposnick","html_url":"https://github.com/jeffposnick","followers_url":"https://api.github.com/users/jeffposnick/followers","following_url":"https://api.github.com/users/jeffposnick/following{/other_user}","gists_url":"https://api.github.com/users/jeffposnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffposnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffposnick/subscriptions","organizations_url":"https://api.github.com/users/jeffposnick/orgs","repos_url":"https://api.github.com/users/jeffposnick/repos","events_url":"https://api.github.com/users/jeffposnick/events{/privacy}","received_events_url":"https://api.github.com/users/jeffposnick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jeffposnick","id":1749548,"avatar_url":"https://avatars.githubusercontent.com/u/1749548?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffposnick","html_url":"https://github.com/jeffposnick","followers_url":"https://api.github.com/users/jeffposnick/followers","following_url":"https://api.github.com/users/jeffposnick/following{/other_user}","gists_url":"https://api.github.com/users/jeffposnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffposnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffposnick/subscriptions","organizations_url":"https://api.github.com/users/jeffposnick/orgs","repos_url":"https://api.github.com/users/jeffposnick/repos","events_url":"https://api.github.com/users/jeffposnick/events{/privacy}","received_events_url":"https://api.github.com/users/jeffposnick/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-24T15:06:59Z","updated_at":"2015-12-11T15:19:46Z","closed_at":"2015-12-11T15:19:46Z","body":"See the thread starting at https://twitter.com/wanderview/status/667716582630662144 for context.\r\n\r\nThe relevant code is at https://github.com/PolymerElements/platinum-sw/blob/master/platinum-sw-register.html#L101\r\n\r\nMy current hypothesis is that polyfilled HTML Imports in Firefox is causing `document.currentScript` to be set to the host page rather than the underlying Polymer element, but I need to experiment some more.\r\n\r\nCC: @wanderview, and @wibblymat since `document.currentScript` is also being used in https://github.com/PolymerElements/platinum-push-messaging/blob/master/platinum-push-messaging.html#L20"}}