[Webkit-unassigned] [Bug 9928] REGRESSION: Text Encoding menu inoperative
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sat Jul 15 06:40:39 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9928
darin at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timothy at hatcher.name,
| |darin at apple.com
------- Comment #3 from darin at apple.com 2006-07-15 06:40 PDT -------
This happened because of the protocol changes that Tim Hatcher made.
Since the WebDocumentText protocol is now appearing on a category of
WebHTMLView rather than on WebHTMLView itself, the -[WebView
supportsTextEncoding] method is returning NO.
id documentView = [[[self mainFrame] frameView] documentView];
return [documentView conformsToProtocol:@protocol(WebDocumentText)]
&& [documentView supportsTextEncoding];
Apparently having a category that implements a protocol is not sufficient to
make an object return YES to conformsToProtocol: -- a short term solution could
be to add a special case for WebHTMLView.
It's really unfortunate that WebHTMLView.h is a public header!
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list