Tests origin whitelisting to an IP address.

Intended to be run in an iframe. Notifies success/failure via postMessage().