Closed
Bug 839465
Opened 11 years ago
Closed 11 years ago
Implement SmartCardEvent using event code generator
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla21
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(2 files)
17.58 KB,
patch
|
mounir
:
review+
rrelyea
:
feedback+
|
Details | Diff | Splinter Review |
17.59 KB,
patch
|
Details | Diff | Splinter Review |
Patch coming. (I'm not sure if we need SmartCardEvents still, but if we want to remove them, we can do that in a different bug.)
Assignee | ||
Comment 1•11 years ago
|
||
Only tests for SmardCardEvent creation in JS, but don't know to test nsNSSComponent::DispatchEventToWindow handling. It should work :) But please review changes to that method carefully. https://tbpl.mozilla.org/?tree=Try&rev=2280e92ec135 The event was originally implemented in Bug 284366.
Attachment #711818 -
Flags: review?(jst)
Attachment #711818 -
Flags: feedback?(rrelyea)
Comment 2•11 years ago
|
||
Comment on attachment 711818 [details] [diff] [review] patch f+ this just looks like mozilla plumbing changes. the Smart card Monitor thread hasn't changes, which is the kind of changes I would need to look at closely. I'm ok with these as long as they are following current mozilla event coding practices. bob
Attachment #711818 -
Flags: feedback?(rrelyea) → feedback+
Assignee | ||
Comment 3•11 years ago
|
||
Yes. The changes are need to make WebIDL bindings for events easier to implement.
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 711818 [details] [diff] [review] patch mounir might travel less in the next few days.
Attachment #711818 -
Flags: review?(jst) → review?(mounir)
Comment 5•11 years ago
|
||
Comment on attachment 711818 [details] [diff] [review] patch Review of attachment 711818 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/events/test/test_eventctors.html @@ +576,5 @@ > +ok(e.type, "hello", "SmartCardEvent: Wrong event type!"); > +ok(!e.isTrusted, "SmartCardEvent: Event shouldn't be trusted!"); > +ok(!e.bubbles, "SmartCardEvent: Event shouldn't bubble!"); > +ok(!e.cancelable, "SmartCardEvent: Event shouldn't be cancelable!"); > +ok(!e.tokenName); is(e.tokenName, null);
Attachment #711818 -
Flags: review?(mounir) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dcf53b7140cd
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → mozilla21
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•