Weird scripts in firebug script tab

623 views
Skip to first unread message

Guillermo Comesaña

unread,
Jul 14, 2011, 12:13:51 PM7/14/11
to Firebug
Hi
I just found a weird script entry in the list of scripts for a page.
That list is filled with all scripts loaded by the current page, but I
just got a weird entry with the shape my.jsp/event/seq/n, where n is a
number starting in 1.

May anyone explain what is the meaning of that? I am confused as the
list of scrips is filled only with js files, not the server side
files.

Cheers

w i l l y

Mike Collins

unread,
Jul 19, 2011, 5:05:01 PM7/19/11
to fir...@googlegroups.com
The script panel tries to show you all the scripts that have been compiled by Firefox's JS engine.  Usually the script has a URL associated with it, which is what Firebug displays in the list of scripts, but sometimes, JavaScript gets compiled because of an event handler attribute, or an eval statement. In these cases, Firebug doesn't know the URL so it makes up a URL to display in the script list of the format <original_url>/<compilation_type>/seq/n

So an event handler script might look like index.html/event/seq/1 and an eval script look like index.html/eval/seq/2

Mike


--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to fir...@googlegroups.com.
To unsubscribe from this group, send email to firebug+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.


Reply all
Reply to author
Forward
0 new messages