phantomas icon indicating copy to clipboard operation
phantomas copied to clipboard

SPOF checker

Open macbre opened this issue 10 years ago • 6 comments

  • http://www.stevesouders.com/blog/2010/06/01/frontend-spof/
  • http://calendar.perfplanet.com/2012/spofcheck-fighting-frontend-spof-at-its-root/
  • https://npmjs.org/package/spofcheck
  • https://github.com/senthilp/spofcheck

Waiting for https://github.com/ariya/phantomjs/issues/10158

macbre avatar Aug 12 '13 20:08 macbre

Check onPageCreated event to get HTML received from server (with no changes from JS).

macbre avatar Sep 24 '13 17:09 macbre

Waiting for https://github.com/ariya/phantomjs/pull/11484 to be able to get not modified HTML of the page (i.e. without any changes done by JavaScript code)

macbre avatar Dec 05 '13 21:12 macbre

We can do it through normal HTTP Request instead of waiting for a patch from Phantom

lafikl avatar Dec 09 '13 21:12 lafikl

Waiting for #313 - SlimerJS provides content of HTTP responses

macbre avatar May 15 '14 18:05 macbre

We can do it through normal HTTP Request instead of waiting for a patch from Phantom

I recommend just using request to fetch the resource again. We need to make sure that we're sending the exact same request headers though to ensure that the response is identical.

cvan avatar Jun 25 '14 04:06 cvan

I'd rather use SlimerjS' ability to provide response's body.

macbre avatar Jun 25 '14 08:06 macbre