Closed Bug 630271 Opened 9 years ago Closed 9 years ago
Throw a TYPE
_MISMATCH _ERR on create Pattern(null)
This makes us pass http://www.w3c-test.org/html/tests/approved/canvas/2d.pattern.image.null.html http://www.w3c-test.org/html/tests/approved/canvas/2d.pattern.image.undefined.html
Attachment #508466 - Flags: review?(Olli.Pettay)
Attachment #508466 - Flags: review?(Olli.Pettay) → review+
Depends on: post2.0
Whiteboard: [needs review] → [needs landing]
Whiteboard: [needs landing]
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.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
You need to log in before you can comment on or make changes to this bug.