context of firebug js console

18 views
Skip to first unread message

0)0(0

unread,
Jun 9, 2009, 4:26:57 AM6/9/09
to Firebug
Hi All,
Reading through the fb api docs led me to find out about the cd()
function, which allows one to change the context the console window is
working in. My question: how is this implemented programmatically? I
tried looking through the relevant source code but I must admit it is
a little dense for me. Thanks!

0)0(0

unread,
Jun 9, 2009, 4:29:26 AM6/9/09
to Firebug

0)0(0

unread,
Jun 9, 2009, 4:32:16 AM6/9/09
to Firebug

Jan Odvarko

unread,
Jun 9, 2009, 9:52:37 AM6/9/09
to Firebug
The method is implemented here:
http://code.google.com/p/fbug/source/browse/branches/firebug1.5/content/firebug/commandLine.js#875

The goal of the method is changing baseWindow so all related
operations are performed upon the new specified window (e.g. embedded
iframe)

Honza
Reply all
Reply to author
Forward
0 new messages