{"action":"opened","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/15231","repository_url":"https://api.github.com/repos/ariya/phantomjs","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/15231/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/15231/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/15231/events","html_url":"https://github.com/ariya/phantomjs/issues/15231","id":285095238,"number":15231,"title":"TypeError: undefined is not a constructor (evaluating 'document.elementsFromPoint(x,y)')","user":{"login":"richard-martens","id":17408401,"avatar_url":"https://avatars0.githubusercontent.com/u/17408401?v=4","gravatar_id":"","url":"https://api.github.com/users/richard-martens","html_url":"https://github.com/richard-martens","followers_url":"https://api.github.com/users/richard-martens/followers","following_url":"https://api.github.com/users/richard-martens/following{/other_user}","gists_url":"https://api.github.com/users/richard-martens/gists{/gist_id}","starred_url":"https://api.github.com/users/richard-martens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richard-martens/subscriptions","organizations_url":"https://api.github.com/users/richard-martens/orgs","repos_url":"https://api.github.com/users/richard-martens/repos","events_url":"https://api.github.com/users/richard-martens/events{/privacy}","received_events_url":"https://api.github.com/users/richard-martens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-29T13:41:33Z","updated_at":"2017-12-29T13:41:33Z","closed_at":null,"author_association":"NONE","body":"1. Which version of PhantomJS are you using? Tip: run `phantomjs --version`.\r\n2.1.0\r\n\r\n2. What steps will reproduce the problem?\r\n  1. npm version 3.10.10, node version 6.10.1, git version 2.10.2.windows.1\r\n  2. git clone https://github.com/richard-martens/materials.git --branch phantom\r\n  3. cd materials\r\n  4. npm install\r\n  5. ng test --single-run --no-progress --code-coverage\r\n\r\n3. Which operating system are you using?\r\nWindows 10\r\n\r\n4. Did you use binary PhantomJS or did you compile it from source?\r\ninstalled with npm\r\n\r\n5. Please provide any additional information below.\r\nMy unit tests works fine with chrome. After switching to phantomjs, I am getting the error \"TypeError: undefined is not a constructor (evaluating 'document.elementsFromPoint(x,y)')\" by the last unit test. I enabled multiple polyfills in polyfills.ts to fix other errors with phantomjs, but htis error is not fixed by polyfills.\r\n\r\nThanks in advance.\r\n\r\nRegards,\r\nRichard"}}
{"actor":{"display_login":"richard-martens"}}