| Summary: | [Cocoa] WKScriptMessage should include the frame the message is from | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||
| Component: | New Bugs | Assignee: | Sam Weinig <sam> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | ||||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Sam Weinig
2014-06-08 16:02:08 PDT
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. Committed revision 169684 |