Closed Bug 630271 Opened 9 years ago Closed 9 years ago

Throw a TYPE_MISMATCH_ERR on createPattern(null)

Categories

(Core :: Canvas: 2D, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-complete, html5)

Attachments

(1 file, 1 obsolete file)

Attachment #508466 - Flags: review?(Olli.Pettay) → review+
Depends on: post2.0
Whiteboard: [needs review] → [needs landing]
Attachment #508466 - Attachment is obsolete: true
Keywords: checkin-needed
Whiteboard: [needs landing]
Whiteboard: [not-ready-for-cedar]
Boris: not-ready-for-cedar as in post 2.2?
That was my thinking on the "it makes us throw where we don't throw now" premise.  But I would be open to being convinced otherwise here.... (e.g. if my premise is wrong or if we have good reason to believe that no one depends on our old behavior).
We already throw NS_ERROR_NOT_AVAILABLE, this is just a change of which exception we throw.
Whiteboard: [not-ready-for-cedar]
http://hg.mozilla.org/mozilla-central/rev/15329bcef8d0
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
No longer depends on: post2.0
You need to log in before you can comment on or make changes to this bug.