Support custom Observers callback interfaces

NEW
Unassigned

Status

Mozilla Labs
JS Modules
8 years ago
8 years ago

People

(Reporter: Mardak, Unassigned)

Tracking

Trunk
x86
Mac OS X

Details

(Reporter)

Description

8 years ago
Bug 568292 regressed when switching to Observers instead of using plain .addObserver because nsHTMLFormElement will get the list of observers and notify them using a custom interface, nsIFormSubmitObserver.notify.

The Observers object is only expecting nsIObserver.observe and does not implement other interfaces.
You need to log in before you can comment on or make changes to this bug.