Bug 160820

Summary: [Cocoa] Instances of WKObject subclasses don’t work correctly with CFGetTypeID()
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Implement -[WKObject _cfTypeID] andersca: review+

mitz
Reported 2016-08-12 14:12:48 PDT
<rdar://problem/27825875> For example, CFGetTypeID(webView.title) is not equal to CFStringGetTypeID(), but should be.
Attachments
Implement -[WKObject _cfTypeID] (1.37 KB, patch)
2016-08-12 16:27 PDT, mitz
andersca: review+
mitz
Comment 1 2016-08-12 15:43:16 PDT
I picked a bad example with webView.title, but this happens for APIs that do expose internal wrappers.
mitz
Comment 2 2016-08-12 16:27:51 PDT
Created attachment 285973 [details] Implement -[WKObject _cfTypeID]
mitz
Comment 3 2016-08-12 16:36:17 PDT
Note You need to log in before you can comment on or make changes to this bug.