same origin method execution