{"action":"created","comment":{"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/comments/52446793","id":52446793,"diff_hunk":"@@ -275,13 +275,42 @@ asyncTest('timeout', function () {\n \n     window.setTimeout(function () {\n         ok(timeoutExceededError);\n-        iframe.parentNode.removeChild(iframe);\n \n         messageSandbox.PING_IFRAME_TIMEOUT = storedDelay;\n \n         start();\n     }, timeout);\n+});\n+\n+asyncTest('timeout (added to DOM iframe)', function () {\n+    var iframe               = document.createElement('iframe');\n+    var timeoutExceededError = false;\n+    var storedDelay          = messageSandbox.PING_IFRAME_TIMEOUT;\n+    var timeout              = 200;\n+\n+    messageSandbox.PING_IFRAME_TIMEOUT = 5;\n+\n+    iframe.src = 'http://cross.domain.com/';\n+    window.QUnitGlobals.waitForIframe(iframe)\n+        .then(function () {\n+            return Promise.all([\n+                messageSandbox.pingIframe(iframe, 'pingCmd')","path":"test/client/fixtures/sandbox/event/message-test.js","position":40,"original_position":40,"commit_id":"3e8681d89b4b4e24c6f34a440b3c0de07a09bbac","original_commit_id":"3e8681d89b4b4e24c6f34a440b3c0de07a09bbac","user":{"login":"miherlosev","id":4133518,"avatar_url":"https://avatars.githubusercontent.com/u/4133518?v=3","gravatar_id":"","url":"https://api.github.com/users/miherlosev","html_url":"https://github.com/miherlosev","followers_url":"https://api.github.com/users/miherlosev/followers","following_url":"https://api.github.com/users/miherlosev/following{/other_user}","gists_url":"https://api.github.com/users/miherlosev/gists{/gist_id}","starred_url":"https://api.github.com/users/miherlosev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miherlosev/subscriptions","organizations_url":"https://api.github.com/users/miherlosev/orgs","repos_url":"https://api.github.com/users/miherlosev/repos","events_url":"https://api.github.com/users/miherlosev/events{/privacy}","received_events_url":"https://api.github.com/users/miherlosev/received_events","type":"User","site_admin":false},"body":"It is not nested Promise.\r\n\r\nNested Promise (pseudo code):\r\n```javascript\r\nPromise\r\n    .then(function (){\r\n        new Promise.then(function (){\r\n              //some code\r\n        })\r\n    });\r\n```\r\n\r\nNon nested Promise, chain of promises (my code):\r\n```javascript\r\nPromise\r\n    .then(function () {\r\n         return Promise;        \r\n    })\r\n    .then(function (){})\r\n```","created_at":"2016-02-10T11:43:33Z","updated_at":"2016-02-10T11:43:33Z","html_url":"https://github.com/DevExpress/testcafe-hammerhead/pull/414#discussion_r52446793","pull_request_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414","_links":{"self":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/comments/52446793"},"html":{"href":"https://github.com/DevExpress/testcafe-hammerhead/pull/414#discussion_r52446793"},"pull_request":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414","id":58739019,"html_url":"https://github.com/DevExpress/testcafe-hammerhead/pull/414","diff_url":"https://github.com/DevExpress/testcafe-hammerhead/pull/414.diff","patch_url":"https://github.com/DevExpress/testcafe-hammerhead/pull/414.patch","issue_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/414","number":414,"state":"open","locked":false,"title":"fix 'Unstable message sandbox test' (close #410)","user":{"login":"miherlosev","id":4133518,"avatar_url":"https://avatars.githubusercontent.com/u/4133518?v=3","gravatar_id":"","url":"https://api.github.com/users/miherlosev","html_url":"https://github.com/miherlosev","followers_url":"https://api.github.com/users/miherlosev/followers","following_url":"https://api.github.com/users/miherlosev/following{/other_user}","gists_url":"https://api.github.com/users/miherlosev/gists{/gist_id}","starred_url":"https://api.github.com/users/miherlosev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miherlosev/subscriptions","organizations_url":"https://api.github.com/users/miherlosev/orgs","repos_url":"https://api.github.com/users/miherlosev/repos","events_url":"https://api.github.com/users/miherlosev/events{/privacy}","received_events_url":"https://api.github.com/users/miherlosev/received_events","type":"User","site_admin":false},"body":"/cc @churkin @AlexanderMoskovkin ","created_at":"2016-02-09T12:09:29Z","updated_at":"2016-02-10T11:43:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff150cc698700d7553f9c53e230642bc9cebdbad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414/commits","review_comments_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414/comments","review_comment_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/414/comments","statuses_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/statuses/3e8681d89b4b4e24c6f34a440b3c0de07a09bbac","head":{"label":"miherlosev:i_410","ref":"i_410","sha":"3e8681d89b4b4e24c6f34a440b3c0de07a09bbac","user":{"login":"miherlosev","id":4133518,"avatar_url":"https://avatars.githubusercontent.com/u/4133518?v=3","gravatar_id":"","url":"https://api.github.com/users/miherlosev","html_url":"https://github.com/miherlosev","followers_url":"https://api.github.com/users/miherlosev/followers","following_url":"https://api.github.com/users/miherlosev/following{/other_user}","gists_url":"https://api.github.com/users/miherlosev/gists{/gist_id}","starred_url":"https://api.github.com/users/miherlosev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miherlosev/subscriptions","organizations_url":"https://api.github.com/users/miherlosev/orgs","repos_url":"https://api.github.com/users/miherlosev/repos","events_url":"https://api.github.com/users/miherlosev/events{/privacy}","received_events_url":"https://api.github.com/users/miherlosev/received_events","type":"User","site_admin":false},"repo":{"id":40364780,"name":"testcafe-hammerhead","full_name":"miherlosev/testcafe-hammerhead","owner":{"login":"miherlosev","id":4133518,"avatar_url":"https://avatars.githubusercontent.com/u/4133518?v=3","gravatar_id":"","url":"https://api.github.com/users/miherlosev","html_url":"https://github.com/miherlosev","followers_url":"https://api.github.com/users/miherlosev/followers","following_url":"https://api.github.com/users/miherlosev/following{/other_user}","gists_url":"https://api.github.com/users/miherlosev/gists{/gist_id}","starred_url":"https://api.github.com/users/miherlosev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miherlosev/subscriptions","organizations_url":"https://api.github.com/users/miherlosev/orgs","repos_url":"https://api.github.com/users/miherlosev/repos","events_url":"https://api.github.com/users/miherlosev/events{/privacy}","received_events_url":"https://api.github.com/users/miherlosev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miherlosev/testcafe-hammerhead","description":"","fork":true,"url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead","forks_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/forks","keys_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/teams","hooks_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/hooks","issue_events_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/issues/events{/number}","events_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/events","assignees_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/assignees{/user}","branches_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/branches{/branch}","tags_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/tags","blobs_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/git/refs{/sha}","trees_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/statuses/{sha}","languages_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/languages","stargazers_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/stargazers","contributors_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/contributors","subscribers_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/subscribers","subscription_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/subscription","commits_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/commits{/sha}","git_commits_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/git/commits{/sha}","comments_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/comments{/number}","issue_comment_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/issues/comments{/number}","contents_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/contents/{+path}","compare_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/merges","archive_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/downloads","issues_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/issues{/number}","pulls_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/pulls{/number}","milestones_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/milestones{/number}","notifications_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/labels{/name}","releases_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/releases{/id}","deployments_url":"https://api.github.com/repos/miherlosev/testcafe-hammerhead/deployments","created_at":"2015-08-07T14:37:48Z","updated_at":"2016-01-12T13:46:00Z","pushed_at":"2016-02-09T12:19:18Z","git_url":"git://github.com/miherlosev/testcafe-hammerhead.git","ssh_url":"git@github.com:miherlosev/testcafe-hammerhead.git","clone_url":"https://github.com/miherlosev/testcafe-hammerhead.git","svn_url":"https://github.com/miherlosev/testcafe-hammerhead","homepage":null,"size":2014,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DevExpress:master","ref":"master","sha":"e5d2bdfaa2bdc58617d2066f154410a0d4394b53","user":{"login":"DevExpress","id":4243232,"avatar_url":"https://avatars.githubusercontent.com/u/4243232?v=3","gravatar_id":"","url":"https://api.github.com/users/DevExpress","html_url":"https://github.com/DevExpress","followers_url":"https://api.github.com/users/DevExpress/followers","following_url":"https://api.github.com/users/DevExpress/following{/other_user}","gists_url":"https://api.github.com/users/DevExpress/gists{/gist_id}","starred_url":"https://api.github.com/users/DevExpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevExpress/subscriptions","organizations_url":"https://api.github.com/users/DevExpress/orgs","repos_url":"https://api.github.com/users/DevExpress/repos","events_url":"https://api.github.com/users/DevExpress/events{/privacy}","received_events_url":"https://api.github.com/users/DevExpress/received_events","type":"Organization","site_admin":false},"repo":{"id":36883823,"name":"testcafe-hammerhead","full_name":"DevExpress/testcafe-hammerhead","owner":{"login":"DevExpress","id":4243232,"avatar_url":"https://avatars.githubusercontent.com/u/4243232?v=3","gravatar_id":"","url":"https://api.github.com/users/DevExpress","html_url":"https://github.com/DevExpress","followers_url":"https://api.github.com/users/DevExpress/followers","following_url":"https://api.github.com/users/DevExpress/following{/other_user}","gists_url":"https://api.github.com/users/DevExpress/gists{/gist_id}","starred_url":"https://api.github.com/users/DevExpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevExpress/subscriptions","organizations_url":"https://api.github.com/users/DevExpress/orgs","repos_url":"https://api.github.com/users/DevExpress/repos","events_url":"https://api.github.com/users/DevExpress/events{/privacy}","received_events_url":"https://api.github.com/users/DevExpress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DevExpress/testcafe-hammerhead","description":"A powerful web-proxy used as a core for the TestCafe testing framework.","fork":false,"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead","forks_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/forks","keys_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/teams","hooks_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/hooks","issue_events_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/events{/number}","events_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/events","assignees_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/assignees{/user}","branches_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/branches{/branch}","tags_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/tags","blobs_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/statuses/{sha}","languages_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/languages","stargazers_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/stargazers","contributors_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/contributors","subscribers_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/subscribers","subscription_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/subscription","commits_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/contents/{+path}","compare_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/merges","archive_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/downloads","issues_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues{/number}","pulls_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls{/number}","milestones_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/milestones{/number}","notifications_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/labels{/name}","releases_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/releases{/id}","deployments_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/deployments","created_at":"2015-06-04T16:56:53Z","updated_at":"2016-01-12T08:27:46Z","pushed_at":"2016-02-09T12:16:33Z","git_url":"git://github.com/DevExpress/testcafe-hammerhead.git","ssh_url":"git@github.com:DevExpress/testcafe-hammerhead.git","clone_url":"https://github.com/DevExpress/testcafe-hammerhead.git","svn_url":"https://github.com/DevExpress/testcafe-hammerhead","homepage":"","size":1883,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":40,"forks":9,"open_issues":40,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414"},"html":{"href":"https://github.com/DevExpress/testcafe-hammerhead/pull/414"},"issue":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/414"},"comments":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/statuses/3e8681d89b4b4e24c6f34a440b3c0de07a09bbac"}}}}