[Cocoa] WKScriptMessage should include the frame the message is from
Created attachment 232691 [details] Patch
Comment on attachment 232691 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232691&action=review > Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.mm:32 > #import "WeakObjCPtr.h" > +#import "WKFrameInfo.h" K < e > Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.mm:108 > + WKWebView* webView = fromWebPageProxy(page); Is this necessary?
(In reply to comment #2) > (From update of attachment 232691 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=232691&action=review > > > Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.mm:32 > > #import "WeakObjCPtr.h" > > +#import "WKFrameInfo.h" > > K < e Will fix. > > Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.mm:108 > > + WKWebView* webView = fromWebPageProxy(page); > > Is this necessary? Nah.
<rdar://problem/17210226>
Committed revision 169684