Bug 834266 - Use isEqualNode instead of == for comparing frames, r=mdas