Bug 138568 - Invalid message WebPageProxy.DidPerformDictionaryLookup on Google stocks result
Summary: Invalid message WebPageProxy.DidPerformDictionaryLookup on Google stocks result
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 11:46 PST by Tim Horton
Modified: 2014-11-20 14:04 PST (History)
3 users (show)

See Also:


Attachments
patch (6.60 KB, patch)
2014-11-10 11:51 PST, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (7.79 KB, patch)
2014-11-20 13:48 PST, Beth Dakin
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2014-11-10 11:46:18 PST
We can on occasion (with an explicit selection, usually) have an image in the LookUp attributed string; we don't know how to serialize an attributed string with a image in it, though!

In other cases, we round-trip through RTFD. This can lead to bizarre behavior with SVG, etc. (things that AppKit doesn't know how to render), but at least it doesn't crash anymore.
Comment 1 Tim Horton 2014-11-10 11:46:52 PST
<rdar://problem/18904600>
Comment 2 Tim Horton 2014-11-10 11:51:50 PST
Created attachment 241295 [details]
patch
Comment 3 Tim Horton 2014-11-10 22:29:34 PST
Comment on attachment 241295 [details]
patch

Sam thinks we should just strip images instead.
Comment 4 Anders Carlsson 2014-11-11 08:50:05 PST
(In reply to comment #3)
> Comment on attachment 241295 [details]
> patch
> 
> Sam thinks we should just strip images instead.

Sounds good to me.
Comment 5 Beth Dakin 2014-11-20 13:48:59 PST
Created attachment 241976 [details]
Patch
Comment 6 Beth Dakin 2014-11-20 14:04:13 PST
http://trac.webkit.org/changeset/176412