If the URL doesn’t have a path and the webpage doesn’t have a title, WebKit2 windows show “(null)” in the title, and WebKit1 windows raise an exception, trying to set the NSWindow’s title to nil.
Created attachment 292481 [details] Use the full URL if all else fails
Committed <https://trac.webkit.org/r207713>.