{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/tools/issues/2958","repository_url":"https://api.github.com/repos/Polymer/tools","labels_url":"https://api.github.com/repos/Polymer/tools/issues/2958/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/tools/issues/2958/comments","events_url":"https://api.github.com/repos/Polymer/tools/issues/2958/events","html_url":"https://github.com/Polymer/tools/issues/2958","id":395639681,"node_id":"MDU6SXNzdWUzOTU2Mzk2ODE=","number":2958,"title":"Tests which have dom-module and template defined in test file itself, don't work in firefox","user":{"login":"markovuksanovic","id":52777,"node_id":"MDQ6VXNlcjUyNzc3","avatar_url":"https://avatars2.githubusercontent.com/u/52777?v=4","gravatar_id":"","url":"https://api.github.com/users/markovuksanovic","html_url":"https://github.com/markovuksanovic","followers_url":"https://api.github.com/users/markovuksanovic/followers","following_url":"https://api.github.com/users/markovuksanovic/following{/other_user}","gists_url":"https://api.github.com/users/markovuksanovic/gists{/gist_id}","starred_url":"https://api.github.com/users/markovuksanovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markovuksanovic/subscriptions","organizations_url":"https://api.github.com/users/markovuksanovic/orgs","repos_url":"https://api.github.com/users/markovuksanovic/repos","events_url":"https://api.github.com/users/markovuksanovic/events{/privacy}","received_events_url":"https://api.github.com/users/markovuksanovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-01-03T16:32:22Z","updated_at":"2019-01-03T16:32:22Z","closed_at":null,"author_association":"NONE","body":"I have a test which is of the following structure:\n\n```\n<dom-module is=\"x-test-module>\n  <template>...</template>\n  <script>\n    Polymer({\n      is: 'x-test-module',\n     ... \n    });\n  </script>\n</dom-module>\n\n\n<test-fixture id=\"TestFixture\">\n  <template>\n    <x-test-module id=\"testModule\"></x-test-module>\n  </template>\n</test-fixture>\n```\n\nAnd when I run this tests they cause an exception in Firefox (while working just fine in Chrome):\n\n```\nPolymer is not defined\n  <unknown> at file_path_to_test_file.html:xx\n```\n\nI also made sure to import\n\n```\n<script src=\"../bower_components/webcomponentsjs/webcomponents-lite.js\"></script>\n```\n"}}
{"actor":{"display_login":"markovuksanovic"}}