JS window.open can be called from C++, but only by adding a bit of unpleasant-looking boilerplate for doing the arguments conversion. This is also causing undesired linkage to the JS library in certain modules. The boilerplate wants to be encapsulated in a single, easier to use C++ function.
QA Contact: leger → cbegle
mass-moving all m12 bugs to m13
Mass moving M17 bugs to M18
Target Milestone: M17 → M18
mass-moving all bugs to m21 that are not dofood+, or nsbeta2+
Target Milestone: M18 → M21
Not JS Engine; updating component to DOM Level 0
Isn't alecf fixing this under the aegis of another bug? /be
yep.. we never did figure out if we were going to do this in nsIScriptContext (it was a generic method to call arbitrary context-oriented functions I'll attach a patch which adds this to nsIScriptContext, but I'm wondering if this should go either in it's own interface, or in some sort of nsIJSScriptContext interface.
Filter on "Nobody_NScomTLD_20080620"
QA Contact: desale → general
nsIDOMWindow.open is available for C++ callers.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.