When saving as PDF from Safari, the default file name provided is Untitled.
<rdar://problem/8998510>
Created attachment 87679 [details] Patch
Comment on attachment 87679 [details] Patch Interestingly, this is not how it works in WebKit1 - my theory is that NSPrintOperation gets job title from window title by default, but WKPrintingView doesn't have a window.
That's exactly right. [NSPrintOperation setJobTitle:] overrides the default behavior, which is to call [NSView printJobTitle], which returns the document's displayName.
Committed r82737: <http://trac.webkit.org/changeset/82737>