{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2764","repository_url":"https://api.github.com/repos/GoogleChrome/puppeteer","labels_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2764/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2764/comments","events_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2764/events","html_url":"https://github.com/GoogleChrome/puppeteer/issues/2764","id":333343537,"node_id":"MDU6SXNzdWUzMzMzNDM1Mzc=","number":2764,"title":"Some URLs sequence makes next responses to be null","user":{"login":"vsemozhetbyt","id":10393198,"node_id":"MDQ6VXNlcjEwMzkzMTk4","avatar_url":"https://avatars1.githubusercontent.com/u/10393198?v=4","gravatar_id":"","url":"https://api.github.com/users/vsemozhetbyt","html_url":"https://github.com/vsemozhetbyt","followers_url":"https://api.github.com/users/vsemozhetbyt/followers","following_url":"https://api.github.com/users/vsemozhetbyt/following{/other_user}","gists_url":"https://api.github.com/users/vsemozhetbyt/gists{/gist_id}","starred_url":"https://api.github.com/users/vsemozhetbyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsemozhetbyt/subscriptions","organizations_url":"https://api.github.com/users/vsemozhetbyt/orgs","repos_url":"https://api.github.com/users/vsemozhetbyt/repos","events_url":"https://api.github.com/users/vsemozhetbyt/events{/privacy}","received_events_url":"https://api.github.com/users/vsemozhetbyt/received_events","type":"User","site_admin":false},"labels":[{"id":601668530,"node_id":"MDU6TGFiZWw2MDE2Njg1MzA=","url":"https://api.github.com/repos/GoogleChrome/puppeteer/labels/bug","name":"bug","color":"000000","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-18T16:25:20Z","updated_at":"2018-06-23T02:08:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"* Puppeteer version: 1.5.0-post (chromium_revision 567388)\r\n* Platform / OS version: Windows 7 x64\r\n* URLs (if applicable): see in the example\r\n* Node.js version: 10.4.1\r\n\r\nI have a script that validates links. Sometimes, after getting some URL, all next responses become `null`.\r\n\r\nI've managed to reduce the issue to this case:\r\n\r\n```js\r\n'use strict';\r\n\r\nconst puppeteer = require('puppeteer');\r\n\r\n(async function main() {\r\n  try {\r\n    const browser = await puppeteer.launch();\r\n    const [page] = await browser.pages();\r\n\r\n    let response = await page.goto('https://twitter.com/');\r\n    console.log(response ? response.status() : response);\r\n    response = await page.goto('https://github.com/nodejs/node');\r\n    console.log(response ? response.status() : response);\r\n    response = await page.goto('https://github.com/GoogleChrome/puppeteer/');\r\n    console.log(response ? response.status() : response);\r\n\r\n    await browser.close();\r\n  } catch (err) {\r\n    console.error(err);\r\n  }\r\n})();\r\n```\r\n\r\n**What is the expected result?**\r\n```\r\n200\r\n200\r\n200\r\n```\r\n\r\n**What happens instead?**\r\n```\r\n200\r\nnull\r\nnull\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/comments/399622768","html_url":"https://github.com/GoogleChrome/puppeteer/issues/2764#issuecomment-399622768","issue_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2764","id":399622768,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTYyMjc2OA==","user":{"login":"aslushnikov","id":746130,"node_id":"MDQ6VXNlcjc0NjEzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/746130?v=4","gravatar_id":"","url":"https://api.github.com/users/aslushnikov","html_url":"https://github.com/aslushnikov","followers_url":"https://api.github.com/users/aslushnikov/followers","following_url":"https://api.github.com/users/aslushnikov/following{/other_user}","gists_url":"https://api.github.com/users/aslushnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/aslushnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslushnikov/subscriptions","organizations_url":"https://api.github.com/users/aslushnikov/orgs","repos_url":"https://api.github.com/users/aslushnikov/repos","events_url":"https://api.github.com/users/aslushnikov/events{/privacy}","received_events_url":"https://api.github.com/users/aslushnikov/received_events","type":"User","site_admin":false},"created_at":"2018-06-23T02:08:19Z","updated_at":"2018-06-23T02:08:19Z","author_association":"CONTRIBUTOR","body":"For the record: this happens because website uses History API in its `beforeunload` handler."}}
{"actor":{"display_login":"aslushnikov"}}