jonleighton/poltergeist — pull request #183 by motemen (2012-10-23 03:54:46+00:00)
Title: Re-inject agent after a frame load finished

On some condition, `pushFrame`ed frame is not injected agent.js into and does not have `PoltergeistAgent`, so any commands fails to be called. This PR would fix this problem.

I cannot 100% reproduce this, but switching to a cross-domain frame is likely to cause this problem.

Thanks.