This is a regression from 78a30bac. It's actually expected that a web view may not have a URL yet when it's being opened from JavaScript. We have to guard against this condition. Part-of: <!1469>