fix chrome bug with origin=//file...