Closed Bug 622667 Opened 11 years ago Closed 11 years ago

incorrectly treating NPError values as nsresult values

Categories

(Core :: Plug-ins, defect)

All
macOS
defect
Not set
normal

Tracking

()

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: 11 years ago
Depends on: 475991
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.