Closed Bug 622667 Opened 14 years ago Closed 14 years ago

incorrectly treating NPError values as nsresult values

Categories

(Core Graveyard :: Plug-ins, defect)

All
macOS
defect
Not set
normal

Tracking

(blocking2.0 final+)

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: jaas, Assigned: jaas)

References

Details

dom/plugins/PluginModuleChild.cpp: 1662 nsresult rv = mGetEntryPointsFunc(&mFunctions); 1663 if (NS_FAILED(rv)) { 1664 return false; 1665 } NP_GetEntryPoints returns an NPError value. This mistake happens in a couple of places.
Marking blocking2.0final+ because this mistake can cause plugins to fail to initialize properly.
blocking2.0: --- → final+
Fixed by the patch for bug 475991, which has been checked in.
Status: NEW → RESOLVED
Closed: 14 years ago
Depends on: 475991
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.