{"action":"created","issue":{"url":"https://api.github.com/repos/ably/ably-js/issues/13","labels_url":"https://api.github.com/repos/ably/ably-js/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ably/ably-js/issues/13/comments","events_url":"https://api.github.com/repos/ably/ably-js/issues/13/events","html_url":"https://github.com/ably/ably-js/issues/13","id":58942194,"number":13,"title":"PhantomJS issues","user":{"login":"mattheworiordan","id":43789,"avatar_url":"https://avatars.githubusercontent.com/u/43789?v=3","gravatar_id":"","url":"https://api.github.com/users/mattheworiordan","html_url":"https://github.com/mattheworiordan","followers_url":"https://api.github.com/users/mattheworiordan/followers","following_url":"https://api.github.com/users/mattheworiordan/following{/other_user}","gists_url":"https://api.github.com/users/mattheworiordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mattheworiordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattheworiordan/subscriptions","organizations_url":"https://api.github.com/users/mattheworiordan/orgs","repos_url":"https://api.github.com/users/mattheworiordan/repos","events_url":"https://api.github.com/users/mattheworiordan/events{/privacy}","received_events_url":"https://api.github.com/users/mattheworiordan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-25T17:50:12Z","updated_at":"2015-02-25T18:53:45Z","closed_at":null,"body":"I will update this issue with issues as I find them.\r\n\r\n1. iFrameTransport fails frequently, error I see:\r\n```\r\nPhantomJS 1.9.8 (Mac OS X) ERROR\r\n  TypeError: 'null' is not an object (evaluating 'wrapWindow.destWindow')\r\n  at /Users/matthew/Projects/Ably/clients/ably-js/browser/static/ably.js:8605\r\nPhantomJS 1.9.8 (Mac OS X) ERROR\r\n  TypeError: 'null' is not an object (evaluating 'wrapWindow.destWindow')\r\n  at /Users/matthew/Projects/Ably/clients/ably-js/browser/static/ably.js:8605\r\n```\r\nthis correlates with the following within `IframeTransport.prototype.createIframe`:\r\n```\r\nfunction onload() {\r\n\t\t\tself.destWindow = wrapWindow.destWindow; # this line throws the exception\r\n\t\t\tDomEvent.addMessageListener(wrapWindow, self.messageListener = messageListener);\r\n\t\t\tiframeComplete = true;\r\n\t\t\tcallback(null, wrapIframe);\r\n\t\t};\r\n```"},"comment":{"url":"https://api.github.com/repos/ably/ably-js/issues/comments/76029615","html_url":"https://github.com/ably/ably-js/issues/13#issuecomment-76029615","issue_url":"https://api.github.com/repos/ably/ably-js/issues/13","id":76029615,"user":{"login":"mattheworiordan","id":43789,"avatar_url":"https://avatars.githubusercontent.com/u/43789?v=3","gravatar_id":"","url":"https://api.github.com/users/mattheworiordan","html_url":"https://github.com/mattheworiordan","followers_url":"https://api.github.com/users/mattheworiordan/followers","following_url":"https://api.github.com/users/mattheworiordan/following{/other_user}","gists_url":"https://api.github.com/users/mattheworiordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mattheworiordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattheworiordan/subscriptions","organizations_url":"https://api.github.com/users/mattheworiordan/orgs","repos_url":"https://api.github.com/users/mattheworiordan/repos","events_url":"https://api.github.com/users/mattheworiordan/events{/privacy}","received_events_url":"https://api.github.com/users/mattheworiordan/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T18:53:45Z","updated_at":"2015-02-25T18:53:45Z","body":"Issue 3.\r\n\r\nUpgrade test `publishpostupgrade0` fails quite frequently both under Karma and within the nodeunit browser tests.\r\n\r\n```\r\nbinary connection to server failed\r\nAssertionError: binary connection to server failed\r\n    at Object.assertWrapper [as ok] (http://localhost:3000/node_modules/karma-nodeunit/lib/nodeunit.js:1563:39)\r\n    at Object. (http://localhost:3000/spec/realtime/upgrade.test.js:143:16)\r\n    at callListener (http://localhost:3000/browser/static/ably.js:4155:19)\r\n    at Connection.EventEmitter.emit (http://localhost:3000/browser/static/ably.js:4177:5)\r\n    at http://localhost:3000/browser/static/ably.js:6997:10\r\n```"}}