Bug 30326 - NPN_ConvertPoint gives incorrect results when source coordinate space matches destination space
Summary: NPN_ConvertPoint gives incorrect results when source coordinate space matches...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-13 00:22 PDT by Josh Aas
Modified: 2013-05-02 10:57 PDT (History)
2 users (show)

See Also:


Attachments
fix v1.0 (768 bytes, patch)
2009-10-13 00:23 PDT, Josh Aas
darin: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Aas 2009-10-13 00:22:46 PDT
NPN_ConvertPoint gives incorrect results when the source coordinate space matches the destination coordinate space. This is because instead of just returning early when the coordinate spaces match WebKit needs to copy the source coordinates to the destination coordinates.
Comment 1 Josh Aas 2009-10-13 00:23:58 PDT
Created attachment 41090 [details]
fix v1.0
Comment 2 Darin Adler 2009-10-13 09:19:23 PDT
Comment on attachment 41090 [details]
fix v1.0

Josh, thanks very much for contributing the patch!

I'm going to have to mark this review- because it lacks a change log and test case, but I really appreciate you taking the time to provide the patch. Anders, can you check with Josh and figure out who can flesh this out with a test and change log entry?
Comment 3 Anders Carlsson 2013-05-02 10:57:11 PDT
This was fixed when https://bugs.webkit.org/show_bug.cgi?id=57653 was fixed.