ariya / phantomjs

Scriptable Headless Browser
http://phantomjs.org
BSD 3-Clause "New" or "Revised" License
29.48k stars 5.76k forks source link

Critical issue in feature for capturing content of responses #13908

Closed vitallium closed 4 years ago

vitallium commented 8 years ago

Recently I saw very similar issues about weird behaviour with AJAX requests. After a small investigation I've discovered that NetworkReplyProxy (and NetworkReplyTracker) are the real source of the problems.

The problem: Wrapping all network requests has the real impact on how WebKit processses network requests (even inside the context of the WebPage!). For example, synchronous AJAX requests don't work. Unfortunately, I didn't dig deep inside into. But the problem is that Webkit waits forever for sync requests (or sometimes for async requests too), so they will be never completed.

Affected issues (still collecting them): https://github.com/modeset/teaspoon/issues/435 https://github.com/ariya/phantomjs/issues/13891 https://github.com/ariya/phantomjs/issues/13881 https://github.com/ariya/phantomjs/issues/13806 (not sure about this one) https://github.com/ariya/phantomjs/issues/13805 (yes, memory usage is affected too) https://github.com/ariya/phantomjs/issues/13788 https://github.com/ariya/phantomjs/issues/11195

Proposal solution: revert all commits with this feature (PR is ready, just give me a green light)

/cc @ariya @zackw @JamesMGreene

erikdubbelboer commented 8 years ago

Is there a clear test case for this which shows the bug?

vitallium commented 8 years ago

@erikdubbelboer check this issue: https://github.com/ariya/phantomjs/issues/13891 it has a simple test case.

awakmu commented 8 years ago

@Vitallium I have build your commit (https://github.com/Vitallium/phantomjs/tree/remote-capture-content) and re-run the test case #13891. Both synchronous and asynchronous ajax request finished the request on PhantomJS 2. But, the synchronous ajax request process, didn't invoke page.onResourceReceived callback.

Is this a right behavior? cc: @ariya

Output of asynchronous ajax using PhantomJS 2:

Request (#1): {"headers":[{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":1,"method":"GET","time":"2016-01-21T20:15:17.808Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Response start (#1, stage "start"): {"body":"","bodySize":4041,"contentType":"text/html","headers":[{"name":"Cache-Control","value":"Public,public"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:24 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 21:15:25 GMT"},{"name":"Last-Modified","value":"Thu, 21 Jan 2016 20:00:38 GMT"},{"name":"Server","value":"ECS (atl/5D9C)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":1,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.411Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Request (#2): {"headers":[{"name":"Accept","value":"text/css,*/*;q=0.1"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":2,"method":"GET","time":"2016-01-21T20:15:18.420Z","url":"http://www.w3schools.com/trystyle.css"}
Response end (#1, stage "end"): {"contentType":"text/html","headers":[{"name":"Cache-Control","value":"Public,public"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:24 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 21:15:25 GMT"},{"name":"Last-Modified","value":"Thu, 21 Jan 2016 20:00:38 GMT"},{"name":"Server","value":"ECS (atl/5D9C)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":1,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.438Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Response start (#2, stage "start"): {"body":"","bodySize":2589,"contentType":"text/css","headers":[{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/css"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:24 GMT"},{"name":"Etag","value":"\"6babf097581d01:0+ident\""},{"name":"Last-Modified","value":"Mon, 27 Apr 2015 16:17:01 GMT"},{"name":"Server","value":"ECS (sin/BF9B)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Content-Length","value":"3346"}],"id":2,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.490Z","url":"http://www.w3schools.com/trystyle.css"}
Response end (#2, stage "end"): {"contentType":"text/css","headers":[{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/css"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:24 GMT"},{"name":"Etag","value":"\"6babf097581d01:0+ident\""},{"name":"Last-Modified","value":"Mon, 27 Apr 2015 16:17:01 GMT"},{"name":"Server","value":"ECS (sin/BF9B)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Content-Length","value":"3346"}],"id":2,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.492Z","url":"http://www.w3schools.com/trystyle.css"}
Request (#3): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":3,"method":"GET","time":"2016-01-21T20:15:18.496Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#4): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":4,"method":"GET","time":"2016-01-21T20:15:18.498Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Request (#5): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":5,"method":"GET","time":"2016-01-21T20:15:18.539Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2Fc5C582ECSaLdwqSpn%2B188fxS66kt0mp6Ak8pKMPHf37gZPP0yROlhbN7pP8yp2TdrVjhFxJhHFCGeJ4hIsG8Y3UByyOFC5TS1mFyeBf37HUVnsLckaUPBkvKvUuF%2BsDx47tewNsNKGzFM98jZEcxut%2Fnh%2B8wxIvjHTyEOgdxSb%2Bwdx3DNejrSqajaNSe88jz7iH54aYcVaaaJBu22sTW4Rl26q%2Fp4YQnKa2TjglJh2%2B3zUwDjMuMHaoVJ74uX4q004qGVgbVKx9ge6S1YmG18PUinM%2B6zB1gs4T453Dt3Awr8TMq62PVfrgDjQHZrhxCfXM5%2FMhP35LTDKjTsRv4rfOk%2B2wwcfTCm5MGwVaDvRzaSY48Cz0O4NO4vAi9tg%2F6EuOCDmYqvmQJm874OlmawOsJJVsLeHZk20IjCRSOcslPBnYiDmC0iPgnD4v0c6LAHMNOemuXWf8%2FaBcg9W2ICDonjtRv8cLMEOlLWJOChAbf9OqdLiuouCURzDVEFSn7IM0CqUENQiifbAkjC22yMwwW0xNoo470o4sPgbOHvp1%2FuYecZ5HnGNca4yQfN9SpoPPwt96Ios6po2pUa&idc_r=29949522320&domain=www.w3schools.com&sw=1024&sh=768"}
Response start (#4, stage "start"): {"body":"","bodySize":3245,"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Timing-Allow-Origin","value":"*"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Last-Modified","value":"Wed, 20 Jan 2016 14:40:12 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"private, max-age=900"},{"name":"Age","value":"4"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":4,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.641Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Response end (#4, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Timing-Allow-Origin","value":"*"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Last-Modified","value":"Wed, 20 Jan 2016 14:40:12 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"private, max-age=900"},{"name":"Age","value":"4"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":4,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.642Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Response start (#3, stage "start"): {"body":"","bodySize":4033,"contentType":"text/javascript","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 18:54:06 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:54:06 GMT"},{"name":"Last-Modified","value":"Thu, 05 Nov 2015 22:24:16 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"text/javascript"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Server","value":"Golfe2"},{"name":"Cache-Control","value":"public, max-age=7200"},{"name":"Age","value":"4878"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":3,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.643Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#6): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":6,"method":"GET","time":"2016-01-21T20:15:18.649Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Response start (#5, stage "start"): {"body":"","bodySize":2604,"contentType":"text/javascript;charset=UTF-8","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 20:15:28 GMT"},{"name":"Content-Type","value":"text/javascript;charset=UTF-8"},{"name":"Transfer-Encoding","value":"chunked"},{"name":"Connection","value":"keep-alive"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Set-Cookie","value":"__bid=fd2a844728c7c848fc6eab869755337be885a895; expires=Sun, 18-Jan-2026 20:15:28 GMT; Max-Age=315360000; path=/; domain=.u-ad.info\n__cid=QDtoToTaUk%2BuGRLIUNpnK5gq9pY0d%2FoaAq5sYwpzAKgdSBvJcDeQMI7F3BOBfew2zrBAcvTagrS2%2BhyvVU8CQaOjhwvny5SbAsiSV8jZiY3B5j8Cy74movzGUcqQW%2BCp; expires=Fri, 20-Jan-2017 20:15:28 GMT; Max-Age=31536000; path=/; domain=.u-ad.info\nv_2200c17cb43667d77a832af7fe7bbb6e=1453407328"},{"name":"Content-Encoding","value":"gzip"}],"id":5,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.651Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2Fc5C582ECSaLdwqSpn%2B188fxS66kt0mp6Ak8pKMPHf37gZPP0yROlhbN7pP8yp2TdrVjhFxJhHFCGeJ4hIsG8Y3UByyOFC5TS1mFyeBf37HUVnsLckaUPBkvKvUuF%2BsDx47tewNsNKGzFM98jZEcxut%2Fnh%2B8wxIvjHTyEOgdxSb%2Bwdx3DNejrSqajaNSe88jz7iH54aYcVaaaJBu22sTW4Rl26q%2Fp4YQnKa2TjglJh2%2B3zUwDjMuMHaoVJ74uX4q004qGVgbVKx9ge6S1YmG18PUinM%2B6zB1gs4T453Dt3Awr8TMq62PVfrgDjQHZrhxCfXM5%2FMhP35LTDKjTsRv4rfOk%2B2wwcfTCm5MGwVaDvRzaSY48Cz0O4NO4vAi9tg%2F6EuOCDmYqvmQJm874OlmawOsJJVsLeHZk20IjCRSOcslPBnYiDmC0iPgnD4v0c6LAHMNOemuXWf8%2FaBcg9W2ICDonjtRv8cLMEOlLWJOChAbf9OqdLiuouCURzDVEFSn7IM0CqUENQiifbAkjC22yMwwW0xNoo470o4sPgbOHvp1%2FuYecZ5HnGNca4yQfN9SpoPPwt96Ios6po2pUa&idc_r=29949522320&domain=www.w3schools.com&sw=1024&sh=768"}
Response end (#5, stage "end"): {"contentType":"text/javascript;charset=UTF-8","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 20:15:28 GMT"},{"name":"Content-Type","value":"text/javascript;charset=UTF-8"},{"name":"Transfer-Encoding","value":"chunked"},{"name":"Connection","value":"keep-alive"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Set-Cookie","value":"__bid=fd2a844728c7c848fc6eab869755337be885a895; expires=Sun, 18-Jan-2026 20:15:28 GMT; Max-Age=315360000; path=/; domain=.u-ad.info\n__cid=QDtoToTaUk%2BuGRLIUNpnK5gq9pY0d%2FoaAq5sYwpzAKgdSBvJcDeQMI7F3BOBfew2zrBAcvTagrS2%2BhyvVU8CQaOjhwvny5SbAsiSV8jZiY3B5j8Cy74movzGUcqQW%2BCp; expires=Fri, 20-Jan-2017 20:15:28 GMT; Max-Age=31536000; path=/; domain=.u-ad.info\nv_2200c17cb43667d77a832af7fe7bbb6e=1453407328"},{"name":"Content-Encoding","value":"gzip"}],"id":5,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.653Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2Fc5C582ECSaLdwqSpn%2B188fxS66kt0mp6Ak8pKMPHf37gZPP0yROlhbN7pP8yp2TdrVjhFxJhHFCGeJ4hIsG8Y3UByyOFC5TS1mFyeBf37HUVnsLckaUPBkvKvUuF%2BsDx47tewNsNKGzFM98jZEcxut%2Fnh%2B8wxIvjHTyEOgdxSb%2Bwdx3DNejrSqajaNSe88jz7iH54aYcVaaaJBu22sTW4Rl26q%2Fp4YQnKa2TjglJh2%2B3zUwDjMuMHaoVJ74uX4q004qGVgbVKx9ge6S1YmG18PUinM%2B6zB1gs4T453Dt3Awr8TMq62PVfrgDjQHZrhxCfXM5%2FMhP35LTDKjTsRv4rfOk%2B2wwcfTCm5MGwVaDvRzaSY48Cz0O4NO4vAi9tg%2F6EuOCDmYqvmQJm874OlmawOsJJVsLeHZk20IjCRSOcslPBnYiDmC0iPgnD4v0c6LAHMNOemuXWf8%2FaBcg9W2ICDonjtRv8cLMEOlLWJOChAbf9OqdLiuouCURzDVEFSn7IM0CqUENQiifbAkjC22yMwwW0xNoo470o4sPgbOHvp1%2FuYecZ5HnGNca4yQfN9SpoPPwt96Ios6po2pUa&idc_r=29949522320&domain=www.w3schools.com&sw=1024&sh=768"}
Response end (#3, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 18:54:06 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:54:06 GMT"},{"name":"Last-Modified","value":"Thu, 05 Nov 2015 22:24:16 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"text/javascript"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Server","value":"Golfe2"},{"name":"Cache-Control","value":"public, max-age=7200"},{"name":"Age","value":"4878"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":3,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.712Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#7): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":7,"method":"GET","time":"2016-01-21T20:15:18.746Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=764839066&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=1896212828&cid=1127471103.1453407319&tid=UA-3855518-1&z=2078096200"}
Request (#8): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":8,"method":"GET","time":"2016-01-21T20:15:18.749Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_u=AGAAgEQ~&z=1187976744"}
Response start (#6, stage "start"): {"body":"","bodySize":3869,"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:57 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:57 GMT"},{"name":"Last-Modified","value":"Mon, 18 Jan 2016 15:27:28 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223047"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":6,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.751Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Response start (#7, stage "start"): {"body":"","bodySize":35,"contentType":"image/gif","headers":[{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Date","value":"Wed, 20 Jan 2016 10:16:19 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Mon, 01 Jan 1990 00:00:00 GMT"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"image/gif"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"35"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Age","value":"122346"}],"id":7,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.829Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=764839066&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=1896212828&cid=1127471103.1453407319&tid=UA-3855518-1&z=2078096200"}
Response end (#7, stage "end"): {"contentType":"image/gif","headers":[{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Date","value":"Wed, 20 Jan 2016 10:16:19 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Mon, 01 Jan 1990 00:00:00 GMT"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"image/gif"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"35"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Age","value":"122346"}],"id":7,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.832Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=764839066&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=1896212828&cid=1127471103.1453407319&tid=UA-3855518-1&z=2078096200"}
Response end (#6, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:57 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:57 GMT"},{"name":"Last-Modified","value":"Mon, 18 Jan 2016 15:27:28 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223047"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":6,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:18.889Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Request (#9): {"headers":[{"name":"Accept","value":"*/*"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":9,"method":"GET","time":"2016-01-21T20:15:18.974Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=4160099145744384&output=json_html&callback=callbackProxy&impl=fif&eid=108809080&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407318958&cc=17&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=1127471103.1453407319&ga_sid=1453407319&ga_hid=764839066"}
Request (#10): {"headers":[{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":10,"method":"GET","time":"2016-01-21T20:15:18.978Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response start (#8, stage "start"): {"body":"","bodySize":366,"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744"},{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Strict-Transport-Security","value":"max-age=10886400"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"366"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""}],"id":8,"redirectURL":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744","stage":"start","status":302,"statusText":"Found","time":"2016-01-21T20:15:19.017Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_u=AGAAgEQ~&z=1187976744"}
Request (#11): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":11,"method":"GET","time":"2016-01-21T20:15:19.019Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744"}
Response end (#8, stage "end"): {"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744"},{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Strict-Transport-Security","value":"max-age=10886400"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"366"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""}],"id":8,"redirectURL":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744","stage":"end","status":302,"statusText":"Found","time":"2016-01-21T20:15:19.020Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_u=AGAAgEQ~&z=1187976744"}
Response start (#10, stage "start"): {"body":"","bodySize":1040,"contentType":"text/html","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:55 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:55 GMT"},{"name":"Last-Modified","value":"Fri, 16 Jan 2015 15:36:52 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223050"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":10,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.058Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response end (#10, stage "end"): {"contentType":"text/html","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:55 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:55 GMT"},{"name":"Last-Modified","value":"Fri, 16 Jan 2015 15:36:52 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223050"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":10,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.089Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response start (#11, stage "start"): {"body":"","bodySize":378,"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744&ipr=y"},{"name":"Cache-Control","value":"private, max-age=43200"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"378"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":11,"redirectURL":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744&ipr=y","stage":"start","status":302,"statusText":"Found","time":"2016-01-21T20:15:19.264Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744"}
Request (#12): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":12,"method":"GET","time":"2016-01-21T20:15:19.267Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744&ipr=y"}
Response end (#11, stage "end"): {"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744&ipr=y"},{"name":"Cache-Control","value":"private, max-age=43200"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"378"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":11,"redirectURL":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744&ipr=y","stage":"end","status":302,"statusText":"Found","time":"2016-01-21T20:15:19.268Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744"}
Response start (#9, stage "start"): {"body":"","bodySize":453,"contentType":"text/javascript; charset=UTF-8","headers":[{"name":"P3P","value":"policyref=\"https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml\", CP=\"CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\""},{"name":"Google-LineItem-Id","value":"-2"},{"name":"Google-Creative-Id","value":"-2"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, must-revalidate"},{"name":"Content-Type","value":"text/javascript; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Disposition","value":"attachment; filename=\"f.txt\""},{"name":"Content-Encoding","value":"gzip"},{"name":"Server","value":"cafe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Set-Cookie","value":"test_cookie=CheckForPermission; expires=Thu, 21-Jan-2016 20:30:25 GMT; path=/; domain=.doubleclick.net"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""},{"name":"Transfer-Encoding","value":"chunked"}],"id":9,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.274Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=4160099145744384&output=json_html&callback=callbackProxy&impl=fif&eid=108809080&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407318958&cc=17&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=1127471103.1453407319&ga_sid=1453407319&ga_hid=764839066"}
Response end (#9, stage "end"): {"contentType":"text/javascript; charset=UTF-8","headers":[{"name":"P3P","value":"policyref=\"https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml\", CP=\"CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\""},{"name":"Google-LineItem-Id","value":"-2"},{"name":"Google-Creative-Id","value":"-2"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, must-revalidate"},{"name":"Content-Type","value":"text/javascript; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Disposition","value":"attachment; filename=\"f.txt\""},{"name":"Content-Encoding","value":"gzip"},{"name":"Server","value":"cafe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Set-Cookie","value":"test_cookie=CheckForPermission; expires=Thu, 21-Jan-2016 20:30:25 GMT; path=/; domain=.doubleclick.net"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""},{"name":"Transfer-Encoding","value":"chunked"}],"id":9,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.275Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=4160099145744384&output=json_html&callback=callbackProxy&impl=fif&eid=108809080&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407318958&cc=17&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=1127471103.1453407319&ga_sid=1453407319&ga_hid=764839066"}
Response start (#12, stage "start"): {"body":"","bodySize":42,"contentType":"image/gif","headers":[{"name":"Content-Type","value":"image/gif"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"42"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":12,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.479Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744&ipr=y"}
Response end (#12, stage "end"): {"contentType":"image/gif","headers":[{"name":"Content-Type","value":"image/gif"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"42"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":12,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.481Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1127471103.1453407319&jid=1896212828&_v=j40&z=1187976744&ipr=y"}
status: success
Request (#13): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":13,"method":"GET","time":"2016-01-21T20:15:19.486Z","url":"http://www.w3schools.com/ajax/ajax_info.txt"}
Response start (#13, stage "start"): {"body":"","bodySize":115,"contentType":"text/plain","headers":[{"name":"Accept-Ranges","value":"bytes"},{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/plain"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Etag","value":"\"a4c796638cf1:0\""},{"name":"Last-Modified","value":"Fri, 03 Jan 2014 09:06:02 GMT"},{"name":"Server","value":"ECS (sin/BF9A)"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":13,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.523Z","url":"http://www.w3schools.com/ajax/ajax_info.txt"}
Response end (#13, stage "end"): {"contentType":"text/plain","headers":[{"name":"Accept-Ranges","value":"bytes"},{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/plain"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:25 GMT"},{"name":"Etag","value":"\"a4c796638cf1:0\""},{"name":"Last-Modified","value":"Fri, 03 Jan 2014 09:06:02 GMT"},{"name":"Server","value":"ECS (sin/BF9A)"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":13,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:15:19.525Z","url":"http://www.w3schools.com/ajax/ajax_info.txt"}
console: <p>AJAX is not a new programming language.</p>
<p>AJAX is a technique for creating fast and dynamic web pages.</p>

Output of synchronous ajax using PhantomJS 2:

Request (#1): {"headers":[{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":1,"method":"GET","time":"2016-01-21T20:16:24.271Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Response start (#1, stage "start"): {"body":"","bodySize":4019,"contentType":"text/html","headers":[{"name":"Accept-Ranges","value":"bytes"},{"name":"Cache-Control","value":"Public,public"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:30 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 21:16:31 GMT"},{"name":"Last-Modified","value":"Thu, 21 Jan 2016 20:00:38 GMT"},{"name":"Server","value":"ECS (sin/BF56)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":1,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.351Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Request (#2): {"headers":[{"name":"Accept","value":"text/css,*/*;q=0.1"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":2,"method":"GET","time":"2016-01-21T20:16:24.360Z","url":"http://www.w3schools.com/trystyle.css"}
Response end (#1, stage "end"): {"contentType":"text/html","headers":[{"name":"Accept-Ranges","value":"bytes"},{"name":"Cache-Control","value":"Public,public"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:30 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 21:16:31 GMT"},{"name":"Last-Modified","value":"Thu, 21 Jan 2016 20:00:38 GMT"},{"name":"Server","value":"ECS (sin/BF56)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":1,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.383Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Response start (#2, stage "start"): {"body":"","bodySize":3346,"contentType":"text/css","headers":[{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/css"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:30 GMT"},{"name":"Etag","value":"\"6babf097581d01:0+ident\""},{"name":"Last-Modified","value":"Mon, 27 Apr 2015 16:17:01 GMT"},{"name":"Server","value":"ECS (sin/BF9B)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Content-Length","value":"3346"}],"id":2,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.430Z","url":"http://www.w3schools.com/trystyle.css"}
Response end (#2, stage "end"): {"contentType":"text/css","headers":[{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/css"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:30 GMT"},{"name":"Etag","value":"\"6babf097581d01:0+ident\""},{"name":"Last-Modified","value":"Mon, 27 Apr 2015 16:17:01 GMT"},{"name":"Server","value":"ECS (sin/BF9B)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Content-Length","value":"3346"}],"id":2,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.432Z","url":"http://www.w3schools.com/trystyle.css"}
Request (#3): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":3,"method":"GET","time":"2016-01-21T20:16:24.436Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#4): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":4,"method":"GET","time":"2016-01-21T20:16:24.438Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Request (#5): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":5,"method":"GET","time":"2016-01-21T20:16:24.479Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2Fc5C582ECSaLdwqSpn%2B188fxS66kujoMo7Wxxw%2F1hdoRFaJdOfUuXV4MFuDUakcWRiYsujYAEeMr041NJxJ8GaUiLP%2FrE3rYBLJCJjVvH4svGnuh3IgRLf%2Bid8yhtwiBYzW%2F78Y842d%2BWYl5jd0W10gsCmXCcOGkVm158WVHUV7Z800R04eiCgjdqEPQbIbk%2BCqTx4FOfgagBEkO0hKEpMt5M7aocVAAP9q%2BkpMnfKItVOAWZrk0ptkolFeO3wHPC8DQkNGjiZfOxbypQmuTODtLU4a44hK51lro%2BwrB7QSvwHEbdegch3I4oC%2BJfF6g2KLwLCoFW2ZGN9bVeIqbyWO0p6dSpW4duuRaTJoMtbbfg7%2F7C1WyRiNnMczAIoFMKGkxDJ0PhXB59BzGwLQSZI%2B3GqY2R5O0NWxrD%2BaMUWGbGDgiCn%2F8Pwe56ugxh0kHvYtBrrCt8WJ33sz1y31wATu2n0saZvh9WK5FPpvaAEZ2yFoTF1yb1Zv0lskGy3Poswp6UWLwvsFEAT9oszKYnl8BC1EYiPXW%2Bz7ATjP%2BwtrfuUUoVDVVAzxXh9G9NXGGOQqBpvtWQgTDjkH8Cr&idc_r=14521563378&domain=www.w3schools.com&sw=1024&sh=768"}
Response start (#4, stage "start"): {"body":"","bodySize":3245,"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Timing-Allow-Origin","value":"*"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Last-Modified","value":"Wed, 20 Jan 2016 14:40:12 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"private, max-age=900"},{"name":"Age","value":"70"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":4,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.522Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Response end (#4, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Timing-Allow-Origin","value":"*"},{"name":"Date","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:15:20 GMT"},{"name":"Last-Modified","value":"Wed, 20 Jan 2016 14:40:12 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"private, max-age=900"},{"name":"Age","value":"70"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":4,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.523Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Request (#6): {"headers":[{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":6,"method":"GET","time":"2016-01-21T20:16:24.527Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Response start (#3, stage "start"): {"body":"","bodySize":3906,"contentType":"text/javascript","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 18:54:06 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:54:06 GMT"},{"name":"Last-Modified","value":"Thu, 05 Nov 2015 22:24:16 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"text/javascript"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Server","value":"Golfe2"},{"name":"Cache-Control","value":"public, max-age=7200"},{"name":"Age","value":"4944"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":3,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.539Z","url":"http://www.google-analytics.com/analytics.js"}
Response start (#5, stage "start"): {"body":"","bodySize":2604,"contentType":"text/javascript;charset=UTF-8","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 20:16:34 GMT"},{"name":"Content-Type","value":"text/javascript;charset=UTF-8"},{"name":"Transfer-Encoding","value":"chunked"},{"name":"Connection","value":"keep-alive"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Set-Cookie","value":"__bid=0a6c65d8def57947959ac30dc75fed956bc11ee3; expires=Sun, 18-Jan-2026 20:16:34 GMT; Max-Age=315360000; path=/; domain=.u-ad.info\n__cid=QDtoToTaUk%2BuGRLIUNpnK5gq9pY0d%2FoaAq5sYwpzAKgdSBvJcDeQMI7F3BOBfew2zrBAcvTagrS2%2BhyvVU8CQaOjhwvny5SbAsiSV8jZiY3B5j8Cy74movzGUcqQW%2BCp; expires=Fri, 20-Jan-2017 20:16:34 GMT; Max-Age=31536000; path=/; domain=.u-ad.info\nv_11f6739fc26c841c93c139c23676cfc9=1453407394"},{"name":"Content-Encoding","value":"gzip"}],"id":5,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.547Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2Fc5C582ECSaLdwqSpn%2B188fxS66kujoMo7Wxxw%2F1hdoRFaJdOfUuXV4MFuDUakcWRiYsujYAEeMr041NJxJ8GaUiLP%2FrE3rYBLJCJjVvH4svGnuh3IgRLf%2Bid8yhtwiBYzW%2F78Y842d%2BWYl5jd0W10gsCmXCcOGkVm158WVHUV7Z800R04eiCgjdqEPQbIbk%2BCqTx4FOfgagBEkO0hKEpMt5M7aocVAAP9q%2BkpMnfKItVOAWZrk0ptkolFeO3wHPC8DQkNGjiZfOxbypQmuTODtLU4a44hK51lro%2BwrB7QSvwHEbdegch3I4oC%2BJfF6g2KLwLCoFW2ZGN9bVeIqbyWO0p6dSpW4duuRaTJoMtbbfg7%2F7C1WyRiNnMczAIoFMKGkxDJ0PhXB59BzGwLQSZI%2B3GqY2R5O0NWxrD%2BaMUWGbGDgiCn%2F8Pwe56ugxh0kHvYtBrrCt8WJ33sz1y31wATu2n0saZvh9WK5FPpvaAEZ2yFoTF1yb1Zv0lskGy3Poswp6UWLwvsFEAT9oszKYnl8BC1EYiPXW%2Bz7ATjP%2BwtrfuUUoVDVVAzxXh9G9NXGGOQqBpvtWQgTDjkH8Cr&idc_r=14521563378&domain=www.w3schools.com&sw=1024&sh=768"}
Response end (#5, stage "end"): {"contentType":"text/javascript;charset=UTF-8","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 20:16:34 GMT"},{"name":"Content-Type","value":"text/javascript;charset=UTF-8"},{"name":"Transfer-Encoding","value":"chunked"},{"name":"Connection","value":"keep-alive"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Set-Cookie","value":"__bid=0a6c65d8def57947959ac30dc75fed956bc11ee3; expires=Sun, 18-Jan-2026 20:16:34 GMT; Max-Age=315360000; path=/; domain=.u-ad.info\n__cid=QDtoToTaUk%2BuGRLIUNpnK5gq9pY0d%2FoaAq5sYwpzAKgdSBvJcDeQMI7F3BOBfew2zrBAcvTagrS2%2BhyvVU8CQaOjhwvny5SbAsiSV8jZiY3B5j8Cy74movzGUcqQW%2BCp; expires=Fri, 20-Jan-2017 20:16:34 GMT; Max-Age=31536000; path=/; domain=.u-ad.info\nv_11f6739fc26c841c93c139c23676cfc9=1453407394"},{"name":"Content-Encoding","value":"gzip"}],"id":5,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.549Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2Fc5C582ECSaLdwqSpn%2B188fxS66kujoMo7Wxxw%2F1hdoRFaJdOfUuXV4MFuDUakcWRiYsujYAEeMr041NJxJ8GaUiLP%2FrE3rYBLJCJjVvH4svGnuh3IgRLf%2Bid8yhtwiBYzW%2F78Y842d%2BWYl5jd0W10gsCmXCcOGkVm158WVHUV7Z800R04eiCgjdqEPQbIbk%2BCqTx4FOfgagBEkO0hKEpMt5M7aocVAAP9q%2BkpMnfKItVOAWZrk0ptkolFeO3wHPC8DQkNGjiZfOxbypQmuTODtLU4a44hK51lro%2BwrB7QSvwHEbdegch3I4oC%2BJfF6g2KLwLCoFW2ZGN9bVeIqbyWO0p6dSpW4duuRaTJoMtbbfg7%2F7C1WyRiNnMczAIoFMKGkxDJ0PhXB59BzGwLQSZI%2B3GqY2R5O0NWxrD%2BaMUWGbGDgiCn%2F8Pwe56ugxh0kHvYtBrrCt8WJ33sz1y31wATu2n0saZvh9WK5FPpvaAEZ2yFoTF1yb1Zv0lskGy3Poswp6UWLwvsFEAT9oszKYnl8BC1EYiPXW%2Bz7ATjP%2BwtrfuUUoVDVVAzxXh9G9NXGGOQqBpvtWQgTDjkH8Cr&idc_r=14521563378&domain=www.w3schools.com&sw=1024&sh=768"}
Response start (#6, stage "start"): {"body":"","bodySize":3869,"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:57 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:57 GMT"},{"name":"Last-Modified","value":"Mon, 18 Jan 2016 15:27:28 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223113"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":6,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.621Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Response end (#3, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 18:54:06 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:54:06 GMT"},{"name":"Last-Modified","value":"Thu, 05 Nov 2015 22:24:16 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"text/javascript"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Server","value":"Golfe2"},{"name":"Cache-Control","value":"public, max-age=7200"},{"name":"Age","value":"4944"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":3,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.653Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#7): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":7,"method":"GET","time":"2016-01-21T20:16:24.687Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=763604403&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=291649362&cid=1606864487.1453407385&tid=UA-3855518-1&z=592636744"}
Request (#8): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":8,"method":"GET","time":"2016-01-21T20:16:24.689Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_u=AGAAgEQ~&z=744673922"}
Response start (#7, stage "start"): {"body":"","bodySize":35,"contentType":"image/gif","headers":[{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Date","value":"Wed, 20 Jan 2016 10:16:18 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Mon, 01 Jan 1990 00:00:00 GMT"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"image/gif"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"35"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Age","value":"122412"}],"id":7,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.774Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=763604403&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=291649362&cid=1606864487.1453407385&tid=UA-3855518-1&z=592636744"}
Response end (#7, stage "end"): {"contentType":"image/gif","headers":[{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Date","value":"Wed, 20 Jan 2016 10:16:18 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Mon, 01 Jan 1990 00:00:00 GMT"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"image/gif"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"35"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Age","value":"122412"}],"id":7,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.813Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=763604403&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=291649362&cid=1606864487.1453407385&tid=UA-3855518-1&z=592636744"}
Response end (#6, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:57 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:57 GMT"},{"name":"Last-Modified","value":"Mon, 18 Jan 2016 15:27:28 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223113"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":6,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.815Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Request (#9): {"headers":[{"name":"Accept","value":"*/*"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":9,"method":"GET","time":"2016-01-21T20:16:24.903Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=1812053176090624&output=json_html&callback=callbackProxy&impl=fif&eid=108809080%2C108809034&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407384886&cc=17&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=1606864487.1453407385&ga_sid=1453407385&ga_hid=763604403"}
Request (#10): {"headers":[{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"}],"id":10,"method":"GET","time":"2016-01-21T20:16:24.907Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response start (#8, stage "start"): {"body":"","bodySize":364,"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922"},{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Strict-Transport-Security","value":"max-age=10886400"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"364"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""}],"id":8,"redirectURL":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922","stage":"start","status":302,"statusText":"Found","time":"2016-01-21T20:16:24.945Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_u=AGAAgEQ~&z=744673922"}
Request (#11): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":11,"method":"GET","time":"2016-01-21T20:16:24.947Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922"}
Response end (#8, stage "end"): {"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922"},{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Strict-Transport-Security","value":"max-age=10886400"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"364"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""}],"id":8,"redirectURL":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922","stage":"end","status":302,"statusText":"Found","time":"2016-01-21T20:16:24.948Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_u=AGAAgEQ~&z=744673922"}
Response start (#10, stage "start"): {"body":"","bodySize":3876,"contentType":"text/html","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:55 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:55 GMT"},{"name":"Last-Modified","value":"Fri, 16 Jan 2015 15:36:52 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223116"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":10,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:24.988Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response end (#10, stage "end"): {"contentType":"text/html","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:55 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:55 GMT"},{"name":"Last-Modified","value":"Fri, 16 Jan 2015 15:36:52 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223116"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":10,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:25.025Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response start (#11, stage "start"): {"body":"","bodySize":376,"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922&ipr=y"},{"name":"Cache-Control","value":"private, max-age=43200"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"376"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":11,"redirectURL":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922&ipr=y","stage":"start","status":302,"statusText":"Found","time":"2016-01-21T20:16:25.157Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922"}
Request (#12): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":12,"method":"GET","time":"2016-01-21T20:16:25.160Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922&ipr=y"}
Response end (#11, stage "end"): {"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922&ipr=y"},{"name":"Cache-Control","value":"private, max-age=43200"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"376"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":11,"redirectURL":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922&ipr=y","stage":"end","status":302,"statusText":"Found","time":"2016-01-21T20:16:25.161Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922"}
Response start (#9, stage "start"): {"body":"","bodySize":453,"contentType":"text/javascript; charset=UTF-8","headers":[{"name":"P3P","value":"policyref=\"https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml\", CP=\"CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\""},{"name":"Google-LineItem-Id","value":"-2"},{"name":"Google-Creative-Id","value":"-2"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, must-revalidate"},{"name":"Content-Type","value":"text/javascript; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Disposition","value":"attachment; filename=\"f.txt\""},{"name":"Content-Encoding","value":"gzip"},{"name":"Server","value":"cafe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Set-Cookie","value":"test_cookie=CheckForPermission; expires=Thu, 21-Jan-2016 20:31:31 GMT; path=/; domain=.doubleclick.net"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""},{"name":"Transfer-Encoding","value":"chunked"}],"id":9,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:25.203Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=1812053176090624&output=json_html&callback=callbackProxy&impl=fif&eid=108809080%2C108809034&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407384886&cc=17&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=1606864487.1453407385&ga_sid=1453407385&ga_hid=763604403"}
Response end (#9, stage "end"): {"contentType":"text/javascript; charset=UTF-8","headers":[{"name":"P3P","value":"policyref=\"https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml\", CP=\"CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\""},{"name":"Google-LineItem-Id","value":"-2"},{"name":"Google-Creative-Id","value":"-2"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, must-revalidate"},{"name":"Content-Type","value":"text/javascript; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Disposition","value":"attachment; filename=\"f.txt\""},{"name":"Content-Encoding","value":"gzip"},{"name":"Server","value":"cafe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Set-Cookie","value":"test_cookie=CheckForPermission; expires=Thu, 21-Jan-2016 20:31:31 GMT; path=/; domain=.doubleclick.net"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""},{"name":"Transfer-Encoding","value":"chunked"}],"id":9,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:25.205Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=1812053176090624&output=json_html&callback=callbackProxy&impl=fif&eid=108809080%2C108809034&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407384886&cc=17&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=1606864487.1453407385&ga_sid=1453407385&ga_hid=763604403"}
Response start (#12, stage "start"): {"body":"","bodySize":42,"contentType":"image/gif","headers":[{"name":"Content-Type","value":"image/gif"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"42"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":12,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:16:25.375Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922&ipr=y"}
Response end (#12, stage "end"): {"contentType":"image/gif","headers":[{"name":"Content-Type","value":"image/gif"},{"name":"Date","value":"Thu, 21 Jan 2016 20:16:31 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"42"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":12,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:16:25.378Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=1606864487.1453407385&jid=291649362&_v=j40&z=744673922&ipr=y"}
status: success
Request (#13): {"headers":[{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1"},{"name":"Accept","value":"*/*"}],"id":13,"method":"GET","time":"2016-01-21T20:16:25.382Z","url":"http://www.w3schools.com/ajax/ajax_info.txt"}
console: <p>AJAX is not a new programming language.</p>
<p>AJAX is a technique for creating fast and dynamic web pages.</p>

Output of synchronous ajax using PhantomJS 1.9.8:

Request (#1): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}],"id":1,"method":"GET","time":"2016-01-21T20:22:05.916Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Response start (#1, stage "start"): {"bodySize":2571,"contentType":"text/html","headers":[{"name":"Accept-Ranges","value":"bytes"},{"name":"Cache-Control","value":"Public,public"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:12 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 21:22:13 GMT"},{"name":"Last-Modified","value":"Thu, 21 Jan 2016 20:00:38 GMT"},{"name":"Server","value":"ECS (sin/BF56)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":1,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:05.993Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Request (#2): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"text/css,*/*;q=0.1"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}],"id":2,"method":"GET","time":"2016-01-21T20:22:06.000Z","url":"http://www.w3schools.com/trystyle.css"}
Response end (#1, stage "end"): {"contentType":"text/html","headers":[{"name":"Accept-Ranges","value":"bytes"},{"name":"Cache-Control","value":"Public,public"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:12 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 21:22:13 GMT"},{"name":"Last-Modified","value":"Thu, 21 Jan 2016 20:00:38 GMT"},{"name":"Server","value":"ECS (sin/BF56)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Transfer-Encoding","value":"chunked"}],"id":1,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.023Z","url":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}
Response start (#2, stage "start"): {"bodySize":3346,"contentType":"text/css","headers":[{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/css"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:12 GMT"},{"name":"Etag","value":"\"6babf097581d01:0+ident\""},{"name":"Last-Modified","value":"Mon, 27 Apr 2015 16:17:01 GMT"},{"name":"Server","value":"ECS (sin/BF9B)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Content-Length","value":"3346"}],"id":2,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.071Z","url":"http://www.w3schools.com/trystyle.css"}
Response end (#2, stage "end"): {"contentType":"text/css","headers":[{"name":"Cache-Control","value":"public,max-age=3600,public"},{"name":"Content-Type","value":"text/css"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:12 GMT"},{"name":"Etag","value":"\"6babf097581d01:0+ident\""},{"name":"Last-Modified","value":"Mon, 27 Apr 2015 16:17:01 GMT"},{"name":"Server","value":"ECS (sin/BF9B)"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"HIT"},{"name":"X-Powered-By","value":"ASP.NET"},{"name":"Content-Length","value":"3346"}],"id":2,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.072Z","url":"http://www.w3schools.com/trystyle.css"}
Request (#3): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}],"id":3,"method":"GET","time":"2016-01-21T20:22:06.080Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#4): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}],"id":4,"method":"GET","time":"2016-01-21T20:22:06.082Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Response start (#4, stage "start"): {"bodySize":3245,"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Timing-Allow-Origin","value":"*"},{"name":"Date","value":"Thu, 21 Jan 2016 20:12:30 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:12:30 GMT"},{"name":"Last-Modified","value":"Wed, 20 Jan 2016 14:40:12 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"private, max-age=900"},{"name":"Age","value":"582"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":4,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.185Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Response end (#4, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Timing-Allow-Origin","value":"*"},{"name":"Date","value":"Thu, 21 Jan 2016 20:12:30 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:12:30 GMT"},{"name":"Last-Modified","value":"Wed, 20 Jan 2016 14:40:12 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"private, max-age=900"},{"name":"Age","value":"582"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":4,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.186Z","url":"http://www.googletagservices.com/tag/js/gpt.js"}
Response start (#3, stage "start"): {"bodySize":3906,"contentType":"text/javascript","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 18:54:06 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:54:06 GMT"},{"name":"Last-Modified","value":"Thu, 05 Nov 2015 22:24:16 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"text/javascript"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Server","value":"Golfe2"},{"name":"Cache-Control","value":"public, max-age=7200"},{"name":"Age","value":"5286"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":3,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.187Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#5): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}],"id":5,"method":"GET","time":"2016-01-21T20:22:06.188Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2fc5C582ECSaLdwqSpn%2b188fxS66kuhxnsgHdJa%2bMohTt8Pu%2firVyuelw9kr6cm38tTW6MtVt78BWLncWaowqRz6lnHIqNky%2fkOjAUJVdbovi3YoM71ICls3hOQVhiJ9oaJUB9LB39Wu2pZvSH9639qEl%2bDZcqyJTReU%2b1hMWtmvzomYIVXE2wWEx2PkdB0hX9V0f7hQqp8gl0g7hVbT%2fzTSJ66PdUYFhEr6Ffta8S6cl3gUvexezFldwssLjku3FH8rg8G1cNwqDgVEdMLS1zr%2bfOepsWsnlQFkTbMiNk2GCSZ5yXi6782kGfli0%2f3LKFnHenOJeVmPDMAGYU2idjUCeFdXzZ6n31IZOhPrssXLWpjQSB%2f0oElwomW3%2bEznralDjYnjL8wuiSNER94szTvpiR0ebL8MEY2g2KxXsrzKHtHSkBAxEkmhCxoV7NjAfHwZGjpUdzJlEavDGmdKxmc0bRLCsvBJQkALVHJNRgu5RW%2bhOTnwm5aG%2bJAOWFMITCq0tT2Bh1Jd15511WfQOXhdEaOXTm1lYK1wvuTL%2bgRro72x93wY5vErkGZgCxCwQXY3x4FEN7r17zncCXE&idc_r=62486619199&domain=www.w3schools.com&sw=1024&sh=768"}
Request (#6): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"*/*"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}],"id":6,"method":"GET","time":"2016-01-21T20:22:06.192Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Response start (#5, stage "start"): {"bodySize":2604,"contentType":"text/javascript;charset=UTF-8","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 20:22:16 GMT"},{"name":"Content-Type","value":"text/javascript;charset=UTF-8"},{"name":"Transfer-Encoding","value":"chunked"},{"name":"Connection","value":"keep-alive"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Set-Cookie","value":"__bid=facfdc7f09ecdf5915f013e27ce09e017418cc2a; expires=Sun, 18-Jan-2026 20:22:16 GMT; Max-Age=315360000; path=/; domain=.u-ad.info\n__cid=QDtoToTaUk%2BuGRLIUNpnK5gq9pY0d%2FoaAq5sYwpzAKgdSBvJcDeQMI7F3BOBfew2zrBAcvTagrS2%2BhyvVU8CQaOjhwvny5SbAsiSV8jZiY3B5j8Cy74movzGUcqQW%2BCp; expires=Fri, 20-Jan-2017 20:22:16 GMT; Max-Age=31536000; path=/; domain=.u-ad.info\nv_11f6739fc26c841c93c139c23676cfc9=1453407736"},{"name":"Content-Encoding","value":"gzip"}],"id":5,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.261Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2fc5C582ECSaLdwqSpn%2b188fxS66kuhxnsgHdJa%2bMohTt8Pu%2firVyuelw9kr6cm38tTW6MtVt78BWLncWaowqRz6lnHIqNky%2fkOjAUJVdbovi3YoM71ICls3hOQVhiJ9oaJUB9LB39Wu2pZvSH9639qEl%2bDZcqyJTReU%2b1hMWtmvzomYIVXE2wWEx2PkdB0hX9V0f7hQqp8gl0g7hVbT%2fzTSJ66PdUYFhEr6Ffta8S6cl3gUvexezFldwssLjku3FH8rg8G1cNwqDgVEdMLS1zr%2bfOepsWsnlQFkTbMiNk2GCSZ5yXi6782kGfli0%2f3LKFnHenOJeVmPDMAGYU2idjUCeFdXzZ6n31IZOhPrssXLWpjQSB%2f0oElwomW3%2bEznralDjYnjL8wuiSNER94szTvpiR0ebL8MEY2g2KxXsrzKHtHSkBAxEkmhCxoV7NjAfHwZGjpUdzJlEavDGmdKxmc0bRLCsvBJQkALVHJNRgu5RW%2bhOTnwm5aG%2bJAOWFMITCq0tT2Bh1Jd15511WfQOXhdEaOXTm1lYK1wvuTL%2bgRro72x93wY5vErkGZgCxCwQXY3x4FEN7r17zncCXE&idc_r=62486619199&domain=www.w3schools.com&sw=1024&sh=768"}
Response end (#5, stage "end"): {"contentType":"text/javascript;charset=UTF-8","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 20:22:16 GMT"},{"name":"Content-Type","value":"text/javascript;charset=UTF-8"},{"name":"Transfer-Encoding","value":"chunked"},{"name":"Connection","value":"keep-alive"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Set-Cookie","value":"__bid=facfdc7f09ecdf5915f013e27ce09e017418cc2a; expires=Sun, 18-Jan-2026 20:22:16 GMT; Max-Age=315360000; path=/; domain=.u-ad.info\n__cid=QDtoToTaUk%2BuGRLIUNpnK5gq9pY0d%2FoaAq5sYwpzAKgdSBvJcDeQMI7F3BOBfew2zrBAcvTagrS2%2BhyvVU8CQaOjhwvny5SbAsiSV8jZiY3B5j8Cy74movzGUcqQW%2BCp; expires=Fri, 20-Jan-2017 20:22:16 GMT; Max-Age=31536000; path=/; domain=.u-ad.info\nv_11f6739fc26c841c93c139c23676cfc9=1453407736"},{"name":"Content-Encoding","value":"gzip"}],"id":5,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.262Z","url":"http://cfs.u-ad.info/cfspushadsv2/request?id=1&enc=telkom2&params=4TtHaUQnUEiP6K%2fc5C582ECSaLdwqSpn%2b188fxS66kuhxnsgHdJa%2bMohTt8Pu%2firVyuelw9kr6cm38tTW6MtVt78BWLncWaowqRz6lnHIqNky%2fkOjAUJVdbovi3YoM71ICls3hOQVhiJ9oaJUB9LB39Wu2pZvSH9639qEl%2bDZcqyJTReU%2b1hMWtmvzomYIVXE2wWEx2PkdB0hX9V0f7hQqp8gl0g7hVbT%2fzTSJ66PdUYFhEr6Ffta8S6cl3gUvexezFldwssLjku3FH8rg8G1cNwqDgVEdMLS1zr%2bfOepsWsnlQFkTbMiNk2GCSZ5yXi6782kGfli0%2f3LKFnHenOJeVmPDMAGYU2idjUCeFdXzZ6n31IZOhPrssXLWpjQSB%2f0oElwomW3%2bEznralDjYnjL8wuiSNER94szTvpiR0ebL8MEY2g2KxXsrzKHtHSkBAxEkmhCxoV7NjAfHwZGjpUdzJlEavDGmdKxmc0bRLCsvBJQkALVHJNRgu5RW%2bhOTnwm5aG%2bJAOWFMITCq0tT2Bh1Jd15511WfQOXhdEaOXTm1lYK1wvuTL%2bgRro72x93wY5vErkGZgCxCwQXY3x4FEN7r17zncCXE&idc_r=62486619199&domain=www.w3schools.com&sw=1024&sh=768"}
SyntaxError: Parse error

Response start (#6, stage "start"): {"bodySize":3869,"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:57 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:57 GMT"},{"name":"Last-Modified","value":"Mon, 18 Jan 2016 15:27:28 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223455"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":6,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.294Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Response end (#3, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Date","value":"Thu, 21 Jan 2016 18:54:06 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:54:06 GMT"},{"name":"Last-Modified","value":"Thu, 05 Nov 2015 22:24:16 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"text/javascript"},{"name":"Vary","value":"Accept-Encoding"},{"name":"Server","value":"Golfe2"},{"name":"Cache-Control","value":"public, max-age=7200"},{"name":"Age","value":"5286"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":3,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.296Z","url":"http://www.google-analytics.com/analytics.js"}
Request (#7): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"Accept","value":"*/*"}],"id":7,"method":"GET","time":"2016-01-21T20:22:06.344Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=1832495963&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=1332663145&cid=2055561981.1453407726&tid=UA-3855518-1&z=179115460"}
Request (#8): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"Accept","value":"*/*"}],"id":8,"method":"GET","time":"2016-01-21T20:22:06.346Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_u=AGAAgEQ~&z=1189808391"}
Response start (#7, stage "start"): {"bodySize":35,"contentType":"image/gif","headers":[{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Date","value":"Wed, 20 Jan 2016 11:41:53 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Mon, 01 Jan 1990 00:00:00 GMT"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"image/gif"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"35"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Age","value":"117619"}],"id":7,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.493Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=1832495963&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=1332663145&cid=2055561981.1453407726&tid=UA-3855518-1&z=179115460"}
Response end (#6, stage "end"): {"contentType":"text/javascript","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/javascript"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:57 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:57 GMT"},{"name":"Last-Modified","value":"Mon, 18 Jan 2016 15:27:28 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223455"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":6,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.494Z","url":"http://partner.googleadservices.com/gpt/pubads_impl_79.js"}
Response end (#7, stage "end"): {"contentType":"image/gif","headers":[{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Date","value":"Wed, 20 Jan 2016 11:41:53 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Mon, 01 Jan 1990 00:00:00 GMT"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Type","value":"image/gif"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"35"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Age","value":"117619"}],"id":7,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.495Z","url":"http://www.google-analytics.com/collect?v=1&_v=j40&a=1832495963&t=pageview&_s=1&dl=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&ul=en-us&de=ISO-8859-1&dt=Tryit%20Editor%20v2.6&sd=32-bit&sr=1024x768&vp=400x300&je=0&_u=AGAAgEQ~&jid=1332663145&cid=2055561981.1453407726&tid=UA-3855518-1&z=179115460"}
Request (#9): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"*/*"}],"id":9,"method":"GET","time":"2016-01-21T20:22:06.601Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=1048650036805632&output=json_html&callback=callbackProxy&impl=fif&eid=108809080&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407726586&cc=17&ea=0&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=2055561981.1453407726&ga_sid=1453407727&ga_hid=1832495963"}
Request (#10): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"}],"id":10,"method":"GET","time":"2016-01-21T20:22:06.605Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response start (#8, stage "start"): {"bodySize":366,"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391"},{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Strict-Transport-Security","value":"max-age=10886400"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:12 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"366"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""}],"id":8,"redirectURL":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391","stage":"start","status":302,"statusText":"Found","time":"2016-01-21T20:22:06.613Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_u=AGAAgEQ~&z=1189808391"}
Request (#11): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"Accept","value":"*/*"}],"id":11,"method":"GET","time":"2016-01-21T20:22:06.614Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391"}
Response end (#8, stage "end"): {"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391"},{"name":"Access-Control-Allow-Origin","value":"*"},{"name":"Strict-Transport-Security","value":"max-age=10886400"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:12 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"Last-Modified","value":"Sun, 17 May 1998 03:00:00 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"Server","value":"Golfe2"},{"name":"Content-Length","value":"366"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""}],"id":8,"redirectURL":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391","stage":"end","status":302,"statusText":"Found","time":"2016-01-21T20:22:06.615Z","url":"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&v=1&_v=j40&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_u=AGAAgEQ~&z=1189808391"}
Response start (#10, stage "start"): {"bodySize":3876,"contentType":"text/html","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:55 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:55 GMT"},{"name":"Last-Modified","value":"Fri, 16 Jan 2015 15:36:52 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223457"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":10,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.693Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response end (#10, stage "end"): {"contentType":"text/html","headers":[{"name":"Vary","value":"Accept-Encoding"},{"name":"Content-Type","value":"text/html"},{"name":"Date","value":"Tue, 19 Jan 2016 06:17:55 GMT"},{"name":"Expires","value":"Wed, 18 Jan 2017 06:17:55 GMT"},{"name":"Last-Modified","value":"Fri, 16 Jan 2015 15:36:52 GMT"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"sffe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Cache-Control","value":"public, max-age=31536000"},{"name":"Age","value":"223457"},{"name":"Accept-Ranges","value":"none"},{"name":"Transfer-Encoding","value":"chunked"}],"id":10,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.719Z","url":"http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html"}
Response start (#11, stage "start"): {"bodySize":378,"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391&ipr=y"},{"name":"Cache-Control","value":"private, max-age=43200"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"378"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":11,"redirectURL":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391&ipr=y","stage":"start","status":302,"statusText":"Found","time":"2016-01-21T20:22:06.841Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391"}
Request (#12): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"Accept","value":"*/*"}],"id":12,"method":"GET","time":"2016-01-21T20:22:06.842Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391&ipr=y"}
Response end (#11, stage "end"): {"contentType":"text/html; charset=UTF-8","headers":[{"name":"Location","value":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391&ipr=y"},{"name":"Cache-Control","value":"private, max-age=43200"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Expires","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Content-Type","value":"text/html; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"378"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":11,"redirectURL":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391&ipr=y","stage":"end","status":302,"statusText":"Found","time":"2016-01-21T20:22:06.843Z","url":"https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391"}
Response start (#9, stage "start"): {"bodySize":453,"contentType":"text/javascript; charset=UTF-8","headers":[{"name":"P3P","value":"policyref=\"https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml\", CP=\"CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\""},{"name":"Google-LineItem-Id","value":"-2"},{"name":"Google-Creative-Id","value":"-2"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, must-revalidate"},{"name":"Content-Type","value":"text/javascript; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Disposition","value":"attachment; filename=\"f.txt\""},{"name":"Content-Encoding","value":"gzip"},{"name":"Server","value":"cafe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Set-Cookie","value":"test_cookie=CheckForPermission; expires=Thu, 21-Jan-2016 20:37:13 GMT; path=/; domain=.doubleclick.net"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""},{"name":"Transfer-Encoding","value":"chunked"}],"id":9,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.889Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=1048650036805632&output=json_html&callback=callbackProxy&impl=fif&eid=108809080&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407726586&cc=17&ea=0&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=2055561981.1453407726&ga_sid=1453407727&ga_hid=1832495963"}
Response end (#9, stage "end"): {"contentType":"text/javascript; charset=UTF-8","headers":[{"name":"P3P","value":"policyref=\"https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml\", CP=\"CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\""},{"name":"Google-LineItem-Id","value":"-2"},{"name":"Google-Creative-Id","value":"-2"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, must-revalidate"},{"name":"Content-Type","value":"text/javascript; charset=UTF-8"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Content-Disposition","value":"attachment; filename=\"f.txt\""},{"name":"Content-Encoding","value":"gzip"},{"name":"Server","value":"cafe"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Set-Cookie","value":"test_cookie=CheckForPermission; expires=Thu, 21-Jan-2016 20:37:13 GMT; path=/; domain=.doubleclick.net"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\":443\"; ma=604800; v=\"30,29,28,27,26,25\""},{"name":"Transfer-Encoding","value":"chunked"}],"id":9,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:06.890Z","url":"https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&correlator=1048650036805632&output=json_html&callback=callbackProxy&impl=fif&eid=108809080&sc=0&sfv=1-0-2&iu=%2F16833175%2FTryitLeaderboard&sz=320x50&cust_params=content%3Dtryajax&cookie_enabled=1&lmt=1453381238&dt=1453407726586&cc=17&ea=0&frm=20&biw=400&bih=300&oid=3&adx=40&ady=0&adk=706724893&gut=v2&ifi=1&u_tz=420&u_his=1&u_h=768&u_w=1024&u_ah=768&u_aw=1024&u_cd=32&u_sd=1&flash=0&url=http%3A%2F%2Fwww.w3schools.com%2Fajax%2Ftryit.asp%3Ffilename%3Dtryajax_first&dssz=12&icsg=128&vrg=79&vrp=79&ga_vid=2055561981.1453407726&ga_sid=1453407727&ga_hid=1832495963"}
Response start (#12, stage "start"): {"bodySize":42,"contentType":"image/gif","headers":[{"name":"Content-Type","value":"image/gif"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"42"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":12,"redirectURL":null,"stage":"start","status":200,"statusText":"OK","time":"2016-01-21T20:22:07.066Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391&ipr=y"}
Response end (#12, stage "end"): {"contentType":"image/gif","headers":[{"name":"Content-Type","value":"image/gif"},{"name":"Date","value":"Thu, 21 Jan 2016 20:22:13 GMT"},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Fri, 01 Jan 1990 00:00:00 GMT"},{"name":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"name":"X-Content-Type-Options","value":"nosniff"},{"name":"Server","value":"adclick_server"},{"name":"Content-Length","value":"42"},{"name":"X-XSS-Protection","value":"1; mode=block"},{"name":"Alternate-Protocol","value":"443:quic,p=1"},{"name":"Alt-Svc","value":"quic=\"www.google.com:443\"; ma=600; v=\"30,29,28,27,26,25\",quic=\":443\"; ma=600; v=\"30,29,28,27,26,25\""}],"id":12,"redirectURL":null,"stage":"end","status":200,"statusText":"OK","time":"2016-01-21T20:22:07.067Z","url":"https://www.google.co.id/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-3855518-1&cid=2055561981.1453407726&jid=1332663145&_v=j40&z=1189808391&ipr=y"}
status: success
Request (#13): {"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34"},{"name":"Referer","value":"http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first"},{"name":"Accept","value":"*/*"}],"id":13,"method":"GET","time":"2016-01-21T20:22:07.072Z","url":"http://www.w3schools.com/ajax/ajax_info.txt"}
console: <p>AJAX is not a new programming language.</p>
<p>AJAX is a technique for creating fast and dynamic web pages.</p>
ariya commented 8 years ago

I remember that we're having a similar problem back in the old days hence why we didn't support capturing the response content.

vitallium commented 8 years ago

Temporary removed in master.

dusano commented 8 years ago

What is the status of content capture functionality in 2.1.1? It seems that body is undefined in onResourceReceived event when page.captureContent is set (this worked in version 2.0.0).

zackw commented 8 years ago

@dusano If you read over this entire bug report you should see that we had to back out content-capture functionality for breaking AJAX.

vitallium commented 8 years ago

FYI: I found the problem with this feature. And I think we can bring it back in 2.2 version.

dusano commented 8 years ago

That would be awesome! I dependent on this functionality and I have consequently needed to revert back to 2.0. Any idea when the version 2.2. would be out?

erikdubbelboer commented 8 years ago

@Vitallium What was the issue?

vitallium commented 8 years ago

@erikdubbelboer sync requests don't invoke signals. So we can't rely on them to process requests.

erikdubbelboer commented 8 years ago

@Vitallium I also figured that out in #13933 but wouldn't this require quite big changes to qtwebkit to fix?

vitallium commented 8 years ago

@erikdubbelboer I suppose no. I have an idea how we can handle it in networkaccessmanager.cpp

erikdubbelboer commented 8 years ago

Since NetworkAccessManager::createRequest is called for sync requests I'm guessing you want to create a proxy QNetworkReply object and instead of using its signals you want to overwrite more methods of its parent QIODevice class? I haven't really tested if extending method such as write could work.

erikdubbelboer commented 8 years ago

@Vitallium Any update? #13834 and indirectly #13195 also depend on this I guess.

c67871f2 commented 8 years ago

mark

lucacri commented 7 years ago

I hate to comment on a closed issue, but what's the situation on this issue? Capturing the body is a feature I really need, any way to get it back?

ghost commented 6 years ago

Reopening, as its critical feature, and needs to be discussed ASAP, /cc @Vitallium @ariya

vitallium commented 6 years ago

We removed this feature a long time ago. What should we discuss?

bamboopuppy commented 6 years ago

I'm still actively using an older version with "Remove capturing response feature" reverted. Obviously not ideal since it's very flaky. Re-adding this capturing feature properly is definitely something I support.

erikdubbelboer commented 6 years ago

Same here, we also also running an old modified version to use this feature: https://github.com/atomx/phantomjs

stale[bot] commented 4 years ago

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!