Closed Bug 632474 Opened 13 years ago Closed 13 years ago

Throw a TYPE_MISMATCH_ERR on drawImage(null)

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

Details

(Keywords: dev-doc-complete, html5)

Attachments

(1 file, 1 obsolete file)

Attached patch Patch v1 (obsolete) — Splinter Review
      No description provided.
Flags: in-testsuite+
Attachment #510681 - Flags: review?(jonas)
Comment on attachment 510681 [details] [diff] [review]
Patch v1

Personally I'd use NS_ENSURE_TRUE here since I think it's both fine and desirable to warn when script triggers error conditions in our code.

But r=me either way.
Attachment #510681 - Flags: review?(jonas) → review+
Depends on: post2.0
Whiteboard: [needs landing]
Attachment #510681 - Attachment is obsolete: true
Keywords: checkin-needed
Whiteboard: [needs landing]
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/f9a1950d59f8
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
No longer depends on: post2.0
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
Target Milestone: --- → mozilla2.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: