Error for pkg'd apps without origin (bug 1109946)

@mstriemer r?
yes, fxpay loads the URL by assigning ``location`` some time after the window opens. The tests are tied a bit to implementation here but I couldn't think of a more abstract way to do it.