port registry_controlled_domain from chromium

port registry_controlled_domain from chromium