Closed
Bug 110798
Opened 23 years ago
Closed 23 years ago
Freeze DOM Event interfaces...
Categories
(Core :: DOM: Events, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: chak, Assigned: jst)
References
Details
(Whiteboard: [HAVE FIX])
Attachments
(1 file)
38.88 KB,
patch
|
harishd
:
review+
jband_mozilla
:
superreview+
|
Details | Diff | Splinter Review |
Freeze the following Event interfaces:
nsIDOMDocumentEvent
nsIDOMEvent
nsIDOMEventListener
nsIDOMEventTarget
Some of these interfaces as they're currently defined differ from the DOM2 specs
as follows:
nsIDOMDocumentEvent:
* createEvent() method in the spec raises DOMException. Our's does not.
nsIDOMEvent
* Our definition has the following additional methods which are not in the
DOM2 spec:
void preventBubble();
void preventCapture();
nsIDOMEventTarget
* dispatchEvent() method in the spec raises EventException. Ours does not.
EventException/EventExceptionCode - I did not find any equivalents for these in
our impl.
Assignee | ||
Comment 1•23 years ago
|
||
This patch fixes all the problems I could fid in nsIDOMEvent, with this patch
the interface should match the one defined in the DOM specs. I've already
checked in the missing "raises()" on the trunk to the interfaces mentioned
here. If we want that on the branch we need to move those changes over, but
they have no real impact on the interface so we don't *really* need those
changes on the branch.
Assignee | ||
Comment 2•23 years ago
|
||
This bug is needed on the 094 branch in order to freeze event API's that are
required by the QCFF team.
Keywords: edt0.9.4
Comment on attachment 60308 [details] [diff] [review]
Make nsIDOMEvent freeze-ready
looks good. r=harishd
Attachment #60308 -
Flags: review+
Reporter | ||
Comment 4•23 years ago
|
||
Assigning to jst since he's doing most of the work....
Assignee: chak → jst
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.7
Comment 5•23 years ago
|
||
w/ an sr, please checkin to the 0.9.4 branch, and mark keyword field w/
"fixed0.9.4" once it's in.
Comment 6•23 years ago
|
||
Comment on attachment 60308 [details] [diff] [review]
Make nsIDOMEvent freeze-ready
sr=jband.
I trust you tested as appropriate.
Attachment #60308 -
Flags: superreview+
Assignee | ||
Comment 7•23 years ago
|
||
Fix checked in on the trunk, leaving open for landing on the branch too.
Assignee | ||
Comment 8•23 years ago
|
||
Oh, I also added the comment blocks for actually freezing the interfaces, forgot
to include those in the diffs.
Assignee | ||
Comment 9•23 years ago
|
||
Fixed on the trunk and on the 094 branch.
Comment 10•23 years ago
|
||
chack: I cant verify this, could you do it please?
Reporter | ||
Comment 11•23 years ago
|
||
Verified that the following DOM event interfaces are now frozen(on both the
trunk as well as the 0.9.4 branch):
nsIDOMDocumentEvent
nsIDOMEvent
nsIDOMEventListener
nsIDOMEventTarget
These interfaces now have the "@status FROZEN" stamp as well as the jst's other
changes from the patch above.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•