Closed Bug 628353 Opened 15 years ago Closed 14 years ago

DATA_CLONE_ERR should be exposed on DOMException

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch v1 (obsolete) — Splinter Review
So it turns out DOMException.DATA_CLONE_ERR isn't defined...
Attachment #506484 - Flags: review?(jst)
Comment on attachment 506484 [details] [diff] [review] Patch v1 >diff --git a/dom/interfaces/core/nsIDOMDOMException.idl b/dom/interfaces/core/nsIDOMDOMException.idl >--- a/dom/interfaces/core/nsIDOMDOMException.idl >+++ b/dom/interfaces/core/nsIDOMDOMException.idl >@@ -73,12 +73,13 @@ interface nsIDOMDOMException : nsISuppor > // Introduced in DOM Level 2: > const unsigned short NAMESPACE_ERR = 14; > // Introduced in DOM Level 2: > const unsigned short INVALID_ACCESS_ERR = 15; > // Introduced in DOM Level 3: > const unsigned short VALIDATION_ERR = 16; > // Introduced in DOM Level 3: > const unsigned short TYPE_MISMATCH_ERR = 17; >+ const unsigned short DATA_CLONE_ERR = 25; > > readonly attribute unsigned long code; > }; Shouldn't you update the UUID?
Comment on attachment 506484 [details] [diff] [review] Patch v1 I don't think we need to change the UUID here, this is a binary compatible change, but users of this will need to recompile if they actually use this removed constant. Either way, this is material for post 2.0...
Attachment #506484 - Flags: review?(jst) → review+
Depends on: post2.0
Whiteboard: [needs review] → [needs landing]
Whiteboard: [needs landing] → [needs landing][post-2.0]
Target Milestone: mozilla2.0 → Future
Attachment #506484 - Attachment is obsolete: true
The future is now.
Keywords: checkin-needed
Whiteboard: [needs landing][post-2.0]
Flags: in-testsuite+
Whiteboard: fixed-in-cedar
Target Milestone: Future → mozilla2.2
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: