Hello,
has anyone else experienced crashes to 100% CPU usage with Firebug and
XML files? I searched around some hours and did not find any similar
problem description.
I am using Firebug 1.3.3 on Firefox 3.0.7 on Windows XP. If my web
application (running remote) opens a new window using javascript
(window.open(url,name,options);) with options set to something and for
the URL of the new window the web application returns
Content-type:text/xml or application/xml
plus
Content-disposition: ...
Firebug starts with exhaustive CPU usage if the file is not very
small. The problem disappears when I disable Firebug (and is
reproducible on another PC running Firebug). I can reproduce this
problem using the following small script:
#!/usr/bin/perl
use CGI qw/:standard/;
my $t = <<'Text' ;
XXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Text
$t = $t x 1500 ;
#OR:###
#open IN, '<AnyLarge(?)File' ;
#$t = join '', <IN> ;
#close IN ;
########
#print "Content-type: text/xml\n" ; #Crashes
print "Content-type: application/xml\n" ; #Crashes
#print "Content-type: application/pdf\n" ; #Works at least with pdf
files
print "Content-disposition: attachment; filename=\"test.pdf\"\n";
print "Content-length: ";
print length($t);
print "\n\n";
print $t;
I have tested the following ways of opening the script:
javascript:window.open("http://whatever.you.server.url/cgi-bin/
test.pl","_blank","dependent=yes"); // crashes
javascript:window.open("http://whatever.you.server.url/cgi-bin/
test.pl","_blank","a"); // crashes too
javascript:window.open("http://whatever.you.server.url/cgi-bin/
test.pl","_blank",""); // does not crash
javascript:window.open("http://whatever.you.server.url/cgi-bin/
test.pl","_blank"); // does not crash
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---