Closed
Bug 518135
Opened 16 years ago
Closed 16 years ago
mouse up in a Cocoa event model plugin generates an event of unrecognized type
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(status1.9.2 .2-fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| status1.9.2 | --- | .2-fixed |
People
(Reporter: jaas, Assigned: jaas)
References
Details
Attachments
(2 files, 1 obsolete file)
|
1.95 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
|
5.19 KB,
patch
|
Details | Diff | Splinter Review |
Mouse up in a Cocoa event model plugin causes an event of unrecognized type (0) to be sent to the plugin.
If we receive an event without a native event attached and we don't care about it we send a bogus event to the plugin. We should bail instead, ignoring the event. We can test for this in bug 518278.
Attachment #402434 -
Flags: review?(roc)
Comment on attachment 402434 [details] [diff] [review]
fix v1.0
Actually we might not want to do this. It doesn't correctly match start/end draw calls.
Attachment #402434 -
Flags: review?(roc)
Attachment #402434 -
Attachment is obsolete: true
Attachment #402446 -
Flags: review?(roc)
We could also do it like this, which avoids early returns.
Attachment #402446 -
Flags: review?(roc) → review+
pushed fix v1.1 to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/c3541686e7cf
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
status1.9.2:
--- → .2-fixed
roc landed this on 1.9.2 yesterday, but inadvertently on a relbranch:
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/329b6494c800
I backed it out of the relbranch:
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/f57f01f6b371
and relanded it on the default branch:
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/ed9a0c476849
However, I'm a little confused about whether it was supposed to land on 1.9.2 in the first place; I don't see anything in the bug about it being intended for 1.9.2 until roc marked it as fixed for 1.9.2.2.
I landed this to fix bug 537269 on branch.
Comment 8•16 years ago
|
||
Josh, is there a way to test/verify this bug ?
Not easily right now. You can test other bugs it fixed, but our test plugin is only Cocoa when used in 64-bit builds right now.
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
•