Closed Bug 704292 Opened 14 years ago Closed 12 years ago

The panel constructor doesn't throw an exception the contentURL is not supplied

Categories

(Add-on SDK Graveyard :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jaws, Unassigned)

References

Details

It is very easy as a developer to create a panel without providing a contentURL within the options and then set one after the object is created, although this approach doesn't work. An exception should be thrown if a required parameter is missing from the options so that developers can find and fix their mistakes quicker.
bug 696552 should resolve this issue.
Confirmed, contentURL can now be updated after instantiation so the constructor error isn't necessary
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.