[Webkit-unassigned] [Bug 140209] New: Web Inspector: Type check NSArray's in ObjC Interfaces have the right object types
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 7 14:20:22 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140209
Bug ID: 140209
Summary: Web Inspector: Type check NSArray's in ObjC Interfaces
have the right object types
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joepeck at webkit.org
CC: graouts at webkit.org, joepeck at webkit.org,
jonowells at apple.com, mattbaker at apple.com,
nvasilyev at apple.com, timothy at apple.com,
webkit-bug-importer at group.apple.com
* SUMMARY
Lacking generics, we should type check NSArray's contain the right object types.
For example:
@protocol RWIProtocolCSSDomainHandler <NSObject>
- (void)getMatchedStylesForNodeWithErrorCallback:(void(^)(NSString *error))errorCallback successCallback:(void(^)(NSArray/*<RWIProtocolCSSRuleMatch>*/ **matchedCSSRules, NSArray/*<RWIProtocolCSSPseudoIdMatches>*/ **pseudoElements, NSArray/*<RWIProtocolCSSInheritedStyleEntry>*/ **inherited))successCallback nodeId:(int)nodeId includePseudo:(BOOL *)includePseudo includeInherited:(BOOL *)includeInherited;
@end
We should type check in the successCallback that "matchedCSSRules" really has RWIProtocolCSSRuleMatch objects and not RWIProtocolCSSRule objects.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150107/14034779/attachment-0002.html>
More information about the webkit-unassigned
mailing list