Bug 160820

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

Description mitz 2016-08-12 14:12:48 PDT

For example, CFGetTypeID(webView.title) is not equal to CFStringGetTypeID(), but should be.
Comment 1 mitz 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.
Comment 2 mitz 2016-08-12 16:27:51 PDT
Created attachment 285973 [details]
Implement -[WKObject _cfTypeID]
Comment 3 mitz 2016-08-12 16:36:17 PDT
Fixed in <https://trac.webkit.org/r204432>.