yui/yui3 — pull request #174 by apm (2012-06-30 19:46:25+00:00)
Title: event-simulate - use Y.config.doc instead of a cached document reference.

This is related to ticket #2531223, which was fixed by caching a
reference to Y.config.doc when the module is attached to the YUI
instance. This works fine most of the time, as long as the document
doesn't go away. I am using this to run tests across a multi-page
experience, updating Y.config.doc to the new valid document along the
way -- so the cached reference doesn't work for me.