is there a reason location.origin isn't simply populated on the location object as in other gecko instances? also the cost of doing this while attaching is less that adding overhead to startup time, yes?