Error: uncaught exception: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: :: <TOP_LEVEL> :: line 3" data: no]




12 years ago
3 years ago


(Reporter: Emilio Bravo, Unassigned)


Firefox Tracking Flags

(Not tracked)




12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv: Gecko/20060308 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv: Gecko/20060308 Firefox/

code of the html page:
    top.window.location = "/Farmacotecnia/jsp/privado/";

This code work fine since the last update, with the version donĀ“t work, with the previous  versions no problem.

the error in the javascript console is the same of de summary.

Reproducible: Always

Steps to Reproduce:
html page with this code.
    top.window.location = "/Farmacotecnia/jsp/privado/";

Actual Results:  
Error: uncaught exception: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: :: <TOP_LEVEL> :: line 3"  data: no]

Comment 1

12 years ago
If i put the url of in the navigation bar manually work fine, but if the page is acceded from link in html page don't work.

Comment 2

12 years ago
I've got a similar one while testing

Error: uncaught exception: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://localhost:7777/info.html :: MM_findObj :: line 21"  data: no]

i narrowed it down to code produced by dreamweaver (this code must all over the internet). for a rollover image dreamweaver creates

<script type="text/JavaScript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

in my own html i have a set of rollovers that look like:

<a href="description.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('description','','images/nav-description-over.gif',1)"><img src="images/nav-description.gif" name="description" width="84" height="30" hspace="0" vspace="0" border="0"></a><a href="location.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('location','','images/nav-location-over.gif',1)"><img src="images/nav-location.gif" name="location" width="69" height="30" hspace="0" vspace="0" border="0">

The problem only occurs when the image is called 'location'

I have
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv: Gecko/20060508 Firefox/

for a demo (quick, before i change it) go to and mouse over location

Comment 3

12 years ago
I can confirm the results mentioned here with 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060712 Minefield/3.0a1


12 years ago
Ever confirmed: true
Is this till an issue ?
Flags: needinfo?(emilio)
Last Resolved: 5 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.