Open Bug 587535 Opened 15 years ago Updated 3 years ago

Pass NSLinkEditError errors returned from pr_LoadViaDyld and pr_LoadMachDyldModule to PR_SetErrorText

Categories

(NSPR :: NSPR, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: alqahira, Unassigned)

Details

In bug 354248, Nick implemented NSLinkEditError logging for pr_LoadViaDyld, and in bug 571425, I ported Nick's patch to pr_LoadMachDyldModule. Unfortunately, to get these messages into the XPCOM component loader (where they would be logged to the Console in Mozilla apps), it is necessary to pass the error messages to PR_SetErrorText first (nsNativeModuleLoader::LoadModule in nsNativeComponentLoader.cpp uses PR_GetErrorText to retrieve the error), which is not yet implemented. wtc alludes to this in bug 354248 comment 16, and I mention it again in bug 571425 comment 0.
Assignee: wtc → alqahira
(Also per bug 571425 comment 0, this is not something I can fix.)
Assignee: alqahira → wtc

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.