Bug 1083060 - Refactor the XOW access control code to use an enum rather than a char*. r=bz

Srsly.
Bug 1083060 - Only use the XOW policy for Window and Location. r=bz