Closed
Bug 500406
Opened 17 years ago
Closed 9 years ago
add support for NPN_ConvertPoint on all platforms
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jaas, Unassigned)
Details
Attachments
(1 file, 3 obsolete files)
|
10.83 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
We should add support for NPN_ConvertPoint to our NPAPI implementation.
Modifying this bug to be specifically about expanding our implementation for all platforms. Right now calling NPN_ConvertPoint will fail on all platforms except for Mac OS X.
Summary: add support for NPN_ConvertPoint → add support for NPN_ConvertPoint on all platforms
Fix some bugs in the test.
Attachment #406331 -
Attachment is obsolete: true
We need a frame point-conversion function that uses nsIFrame::GetTransformMatrix so it works with transforms.
Might as well get this into the tree now as a Mac-only test. It passes with our existing impl.
Attachment #406466 -
Attachment is obsolete: true
Attachment #408913 -
Flags: review?(roc)
+* convertPointMatch(sourceSpace, sourceX, sourceY, destSpace, destX, destY)
+The plugin uses NPN_ConvertPoint to convert sourceX and sourceY from the source
+to dest space and returns true if the results from NPN_ConvertPoint match the
+destX and destY coordinates.
I'd prefer to have convertPointX and convertPointY, both of which take (sourceSpace, sourceX, sourceY, destSpace), and do the comparison in the test code. That way we get better test failure output if something fails, and the method might be useful for other things later on.
Attachment #408913 -
Attachment is obsolete: true
Attachment #411135 -
Flags: review?(roc)
Attachment #408913 -
Flags: review?(roc)
Attachment #411135 -
Flags: review?(roc) → review+
test v1.3 pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/e1e6c6e410d8
In order to do this we'll need to write up a spec and propose it. Until then, NPN_ConvertPoint will be only for the Cocoa event model.
https://wiki.mozilla.org/NPAPI
Assignee: joshmoz → nobody
Comment 10•9 years ago
|
||
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•