Bug 991600 - Make sure that registering the content policy doesn't race with the call to sendBeacon; r=rbarnes