Bug 1045523 - customize default window size of responsive web design

it better to use `Services.io.newFileURI(<nsIFile>).spec` to get uri for cross patform especially for Windows.