Closed Bug 574872 Opened 14 years ago Closed 14 years ago

Allow XPConnect to pass the JSContext through XPIDL when requested

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b1

People

(Reporter: bent.mozilla, Assigned: bent.mozilla)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch, v1 (obsolete) (deleted) — Splinter Review
The attached patch adds an XPIDL annotation "[callerjscontext]" be appended to methods and attributes which XPConnect (and quickstubs) then use to pass the JSContext through to the C++ callee. This can help us avoid getting the native call context in a bunch of cases.
Attachment #454179 - Flags: review?(jst)
shaver and jorendorff like [implicit_jscontext] better, so i will switch it to that.
Attached patch Patch, v1.1 (deleted) — Splinter Review
So renamed.
Attachment #454179 - Attachment is obsolete: true
Attachment #454637 - Flags: review?(jst)
Attachment #454179 - Flags: review?(jst)
Attachment #454637 - Flags: review?(jst) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: