With support for `self.origin`, `document.origin` is unnecessary. It adds basically zero code, but we should remove it to save developers from trying to decide which of `self.origin`, `document.origin`, or `document.location.origin` they ought to use.
Comment 1 by bugdroid1@chromium.org
, Feb 21 2017