- fixed <rdar://problem/
5103009> REGRESSION: Activity window shows blank name for untitled pages
* WebView/WebHTMLRepresentation.mm:
(-[WebHTMLRepresentation title]):
return nil for empty string, to match old behavior
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20934
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-04-18 John Sullivan <sullivan@apple.com>
+
+ Reviewed by Adam
+
+ - fixed <rdar://problem/5103009> REGRESSION: Activity window shows blank name for untitled pages
+
+ * WebView/WebHTMLRepresentation.mm:
+ (-[WebHTMLRepresentation title]):
+ return nil for empty string, to match old behavior
+
2007-04-17 John Sullivan <sullivan@apple.com>
Reviewed by Tim Hatcher
- (NSString *)title
{
- return [_private->dataSource _documentLoader]->title();
+ return nsStringNilIfEmpty([_private->dataSource _documentLoader]->title());
}
- (DOMDocument *)DOMDocument