Assert not null when wrapping non-nullable objects

RESOLVED FIXED in mozilla23

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jruderman, Assigned: bzbarsky)

Tracking

Trunk
mozilla23
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
* Might make it easier to diagnose bugs like bug 862084 and bug 863950.

* Might catch cases where there isn't an immediate null deref.  (Should these cases have a release-build runtime abort, too?)
(Assignee)

Comment 1

6 years ago
Created attachment 740628 [details] [diff] [review]
Assert that the object is not null when wrapping WebIDL objects.
Attachment #740628 - Flags: review?(peterv)
Attachment #740628 - Flags: review?(peterv) → review+
(Assignee)

Comment 2

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/72b91a0ba398
Flags: in-testsuite-
Target Milestone: --- → mozilla23
https://hg.mozilla.org/mozilla-central/rev/72b91a0ba398
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.