It would be good to move any frame traversal type logic (at least anything that uses _internalChildFrames for the sake of performance) down to WebFrame in preparation for moving frame tree management across the bridge.
Created attachment 5278 [details] the patch
Comment on attachment 5278 [details] the patch r=me after removing confusing no-longer-pertinant comment.