Closed
Bug 705188
Opened 14 years ago
Closed 14 years ago
Use IDL for mozIJSSubScriptLoader::LoadSubScript, {xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
Details
Attachments
(1 file, 1 obsolete file)
26.61 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
It's some nice cleanup, but I'm not sure if JS_GetGlobalObject(aCx) is correct (or even what behaviour these methods want, and how that correlates with JSAPI).
Attachment #576821 -
Flags: review?(bzbarsky)
![]() |
||
Comment 1•14 years ago
|
||
JS_GetGlobalObject is almost certainly different from what we used to do if the code that's running doesn't have the same global as the context it's running on (think cross-window call).
I'm not exactly comfortable with this review; who touched this code last?
Assignee | ||
Comment 2•14 years ago
|
||
sayrer, rginda@netscape.com, jst, and, well, you. How about I leave the global-getting code alone and just clean up the arguments-converting code?
Summary: Use IDL for {mozIJSSubScriptLoader,xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import → Use IDL for mozIJSSubScriptLoader::LoadSubScript, {xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import
![]() |
||
Comment 3•14 years ago
|
||
Gah. Are you serious? Can I still disclaim responsibility somehow?
Leaving the global stuff alone and cleaning up the argument mess sounds great.
Assignee | ||
Comment 4•14 years ago
|
||
Let's try this...
Attachment #576821 -
Attachment is obsolete: true
Attachment #576821 -
Flags: review?(bzbarsky)
Attachment #578859 -
Flags: review?(bzbarsky)
![]() |
||
Comment 5•14 years ago
|
||
Comment on attachment 578859 [details] [diff] [review]
Patch v2
r=me
Attachment #578859 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in
before you can comment on or make changes to this bug.
Description
•