I'm aware of postmessage, however as both the parent and frame are on the same domain, I was hoping I could avoid it (otherwise what's the point of the parent document selector?)
It's worth noting that this works fine when it's two standard webpages pages:
w3schools.com/jsref/tryit.asp