Test that code evaluated in the main frame cannot access $0 that resolves into a node in a frame from a different domain. Bug 105423.