You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
I've been having trouble with zombie.js testing when using the Google Maps API. I originally thought the problem was with the resources using query parameters in the URL. This appeared to be incorrect, here's my test for that:
No it doesn't. The default HTML parser doesn't support document.write.
I highly recommend not using document.write because it blocks the rendering loop, whereas adding script element allows JavaScript evaluating in parallel with page rendering for faster page speed.
The problem was encountered when loading the Google Maps API, something I (and probably Google too) can't change too easily. I found a workout to my specific problem which was to add a callback argument to the URL which forces the method you described.
In the case of that not being possible I'd still ask you to support it. You even say you support it in your PDF under Readiness.
Hi,
I've been having trouble with zombie.js testing when using the Google Maps API. I originally thought the problem was with the resources using query parameters in the URL. This appeared to be incorrect, here's my test for that:
Where css.html was
Here's my test case for zombie for testing to see if the bug is indeed a problem with document.write loaded scripts.
test case
write.html
write.js
head.js
output
Using zombie@0.12.10
The text was updated successfully, but these errors were encountered: