Closed Bug 17539 Opened 25 years ago Closed 6 years ago

onStopBinding 2nd parameter hasn't pre-specified values

Categories

(Core Graveyard :: Java-Implemented Plugins, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lvv, Assigned: blackconnect)

Details

(Whiteboard: suntrak-n6)

Overview Description:
The 2nd parameter of onStopBinding method of PlugletStreamListener
has sense of status of terminating of loading URL. There should be defined
at least 2 constants - for succesfull finishing and for error.
Current implementation of this parameter is nsresult value delivered by native
code. So at present pluglet authors are enforced to use the
internal raw values (the same as defined in the header file).
I guess we need to create something like nsError.h.
Do you think org.mozilla.Error  would be ok?
Also we can add some functions for mapping nsresult to exception
Status: NEW → ASSIGNED
NOTE: Changed primary QA contact person (rest of it remains the same).
QA Contact: leila.garin → rpallath
Add status whiteboard keyword, add CC
Whiteboard: suntrak-n6
Remove unnecessary CC
Changing QA contact
QA Contact: rpallath → avm
Product: Core → Core Graveyard
Dead component, closing all bugs in it.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.