Is there any way how to provide a type for an object that is exposed

to content using Cu.createObjectIn(obj) ?

 

There is a case in Firebug where such object is created

as a return value when a command is evaluated on

the Command Line (in scope of the current page).

 

Consequently Firebug Console, wants to pretty-print

that object, but can't recognize it since createObjectIn

doesn't allow to specify a type (the return value is always

"Object" type).

 

Any tips?

Honza

_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to