Closed Bug 312873 Opened 19 years ago Closed 18 years ago

'Permission denied to get property XULElement.selectedIndex' with variety of pages

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 236791

People

(Reporter: sbkar, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7


Error: [Exception... "'Permission denied to get property
XULElement.selectedIndex' when calling method:
[nsIAutoCompletePopup::selectedIndex]"  nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)"  location: "JS frame ::
http://www.fanfiction.net/s/2149539/16/ :: select_drop :: line 280"  data: no]
Source File: http://www.fanfiction.net/s/2149539/16/
Line: 280

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'
'http://www.w3.org/TR/html4/loose.dtd'><html><head>
		<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=UTF-8'>
		<META NAME='ROBOTS' CONTENT='NOARCHIVE'>
		<title>FanFiction.Net : Yours truly</title><link rel=StyleSheet
href='http://www.fanfiction.net/static/styles/fanfiction7.css' type='text/css'>
		<style type='text/css'>
		body { margin: 0px; }
		</style>

			<script language='javascript'
src='http://127.0.0.1:1028/js.cgi?pca&r=7711'></script>

<script LANGUAGE='JavaScript' type='text/javascript'>var nopopup = 0;rsi_hints =
'Books,Harry Potter,Romance';</script>

		
		<script LANGUAGE='JavaScript'
SRC='http://www.fanfiction.net/static/scripts/master74.js'
type='text/javascript'></SCRIPT><link rel='shortcut icon'
href='/static/images/favicon2.ico' ></head>
		<body BGCOLOR='#FFFFFF' style='margin-top:0px;'  ><div
style='padding-left:10px;padding-right:10px;'><form name=fido action=nino>
		<table WIDTH='100%' CELLSPACING=0 CELLPADDING=0 border=0>
		<tr><td valign=bottom height=62><a href='/'><img border=0
src='http://www.fanfiction.net/static/images/logo_strawberry.gif' alt='site
logo'></a></td>
		<td height=62 ALIGN=right valign=middle>
		<script LANGUAGE='JavaScript' type='text/javascript'>
			if(getCookie('adblocker') < 1) {
					doBanner();
			}
			</script>
		</td>
		</tr></table></div><table width='100%' class=myborder CELLPADDING=0
CELLSPACING=0 > 
		<tr><td style='background-color: #333399;'><table cellpadding=2 cellspacing=0
width='100%'><tr><td nowrap height=30 class=menulinks>&nbsp;<a
href='/j/0/0/0/'>Just In</a> . 
		<a href='/c2d/0/'>C2</a> . <a href='/search.php'>Search</a> .  <a
href='/d/96/1/'>Directory</a> . <a href='/dictionary.php'>Dictionary</a>

		</td><td align=right nowrap class=menulinks>&nbsp;&nbsp;
		<a href='/secure/login.php'  class=thlink>Log In</a> . <a href='/reg/'
class=thlink>Register</a>&nbsp; 
		</td>
		<td align=right>

		<select Name='fidomido' title='Navigation' onKeyPress="if(isenter(this,event)
&& this.selectedIndex != 0 && this.options[this.selectedIndex].value != 0)
self.location = this.options[this.selectedIndex].value ;">
		<option value=1>Menu<option value='/faq/0/'>FAQ/Help<option
value='/tos/'>TOS<option value='/adb/0/'>Ad Blocker
		<option value='/privacy/'>Privacy
		<option value='0' title='divider'>-
		<option value='/j/0/0/0/'>Just In
		<option value='/c2d/0/'>C2
		<option value='/search.php'>Search
		<option value='/d/96/1/'>Directory
		<option value='/dictionary.php'>Dictionary
		<option value='/secure/login.php'>Login
		<option value='/reg/'>Register
		<option value='0' title='divider'>-
		<option value='/cat/201/'>Anime
		<option value='/cat/202/'>Book
		<option value='/cat/203/'>Cartoon
		<option value='/cat/204/'>Comic
		<option value='/cat/209/'>Game
		<option value='/cat/205/'>Movie
		<option value='/cat/211/'>Misc
		<option value='/cat/208/'>TV Show
		
		</select> <input type=button onClick="if(document.fido.fidomido.selectedIndex
> 0 &&
document.fido.fidomido.options[document.fido.fidomido.selectedIndex].value != 0)
self.location =
document.fido.fidomido.options[document.fido.fidomido.selectedIndex].value;"
value='Go'>&nbsp;&nbsp;</td></tr></table></td></tr></table></form>

	
		<div style='padding-left:10px;padding-right:10px;padding-top:5px;'><TABLE
WIDTH='100%' class=myborder cellspacing=0 CELLPADDING=6 >
			<tr><FORM name=fidochap>
				<td class=myborder_only_bottom>
<table cellspacing=0 cellpadding=0 width=100%><tr>
<td><a href='/cat/202/'>Books</a> &#187; <a href='/l/224/3/0/1/1/0/0/0/1/'>Harry
Potter</a> &#187; <b>Yours truly</b></td>
<td align=right>
<a href="javascript:updateFontSize('u');">B</a> <a
href="javascript:updateFontSize('d');">s</a> : 
 

<a href="javascript:updateFontStyle('Verdana');" style='font-family:Verdana'
alt='Verdana font'>A</a> 
<a href="javascript:updateFontStyle('Serif');" style='font-family:Serif;'
alt='Serif font'>A</a>
<a href="javascript:updateFontStyle('Sans-serif');"
style='font-family:Sans-serif' alt='Sans-serif font'>A</a>


</td>
</tr></table>				 
			</td>
			</tr>
			<TR>
				<TD class=myborder_only_bottom>

<table cellspacing=0 cellpadding=0 width=100%><tr>
<td>Author: <a href='/u/585251/'>YaoiSilverSilver-Yaoi</a></td>
<TD ALIGN='RIGHT'>
<INPUT TYPE=BUTTON Value='&nbsp;&nbsp;&#171;&nbsp;&nbsp;'
onClick="self.location='/s/2149539/15/'"><SELECT title='chapter navigation'
Name=chapter onChange="self.location = '/s/2149539/'+
this.options[this.selectedIndex].value + '/';"><option  value=1 >1.
Prepared<option  value=2 >2. So that’s why<option  value=3 >3. None of your
business!<option  value=4 >4. What’s wrong with them?<option  value=5 >5. Find
out<option  value=6 >6. Complicated<option  value=7 >7. I see…<option  value=8
>8. The king of idiots<option  value=9 >9. Flutter<option  value=10 >10.
Voice<option  value=11 >11. A Mother’s Explanation<option  value=12 >12. Bloody
Hell…<option  value=13 >13. Put Me Down!<option  value=14 >14. I’m Not
Scared<option  value=15 >15. Old Promises<option  value=16 selected>16. The
Hardest To Do</select></TD></TR></TABLE></TD></TR><TR><TD ><table cellspacing=0
cellpadding=0 width=100%><tr><td><a
href='http://www.fictionratings.com/guide.php' target='rating'>Fiction Rated:
M</a> - English - Romance/General - Reviews: <a href='/r/2149539/0/1/'>275</a> -
Published: 11-28-04 - Updated: 10-02-05

</td><td align=right>id:2149539</td></tr></table></TD></form></TR></TABLE>
<div  style='padding-left:10px;padding-top:10px;'><SCRIPT
LANGUAGE='JavaScript'>document.write('<span name=storytext id=storytext
style=\'font-size:'+myfontsize+'px;font-family:
'+myfontstyle+';\'>');</script><P>Whoho! I
finally got time for this chap! YES! I took a long summer break and
went to Florida to visit four of my biggest fans! Had a great time!</p><P>Thanx for
all the reviews! I truly love you all!</p><P>Beta
Reader: Princesspepper (Give her a pat on the back for being a good,
helpful person)</p><P>Xxxx</p><P>Chapter
Sixteen: The Hardest To Do</p><P>Xxxx</p><P>“I can’t
say how bad I feel for you, Draco. I’m truly sorry.”</p><P>Draco
shook his head and looked at the brown haired girl. “It’s not
your fault I have a maniac for a father. Don’t beat yourself up
over that,” he said, looking down at the note in his hands. The
note his mother had written. He could tell by the way the letters
were placed on the paper that his mother had been in a hurry when she
had written it. She usually took her time to write notes, using small
and fine letters. He let his fingers trail over the text.
<I>‘Mother…’</I></p><P>Harry
sighed and glanced at his blond lover. How quickly things had
changed; he had been so happy earlier that morning. Happy about
activating the last symbol, and because he had remembered what it
meant. Draco was with child. Harry’s child, to be exact. Then…
when Skata had came with the note… everything had gone downhill. He
didn’t like the sad look on the blonde’s face. He could tell that
Draco was worried about his mother, and it was starting to affect him
as well.</p><P>Draco
finally sighed and folded the note. He stuffed the small piece of
paper into his pants pocket and stood up. “We can’t do anything
about it now. I must talk to Snape at breakfast,” he said, and then
smiled down at Harry. “I don’t think he’d like to hear about
last night.”</p><P>Harry
snapped upright beside Draco and frowned. How could Draco change
moods, just like that? <I>‘He’s faking it; I can see that in his
mind. I’ll play along for now… until we can talk about this, just
the two of us,’</I> he thought. “You wouldn’t dare to tell him
about it! That would be cruel!” he muttered.</p><P>Ron
nodded. “Yeah, poor old Snape. He’ll get a heart attack before
turning into dust from the horror. Come to think of it, it would be
fun to see his reaction, but then again I would be forced to hear…”</p><P>“Ron
Weasley! You’re babbling again! And I think Harry meant it would be
cruel to <I>him,</I> not Professor Snape. Why don’t we go to the
Headmaster? He might…”</p><P>“No!”
Draco interrupted the girl. “The old goat doesn’t have to know a
thing about this. Whenever I’ve spoken to him about my problems, my
father has found out. I don’t need him to find out about me and
Harry,” he told her. “I didn’t talk to him when this whole
thing started, and I’m not going to start now. I have enough
problems as it is.”</p><P>Harry
frowned. “You’ve actually spoken with him? When?”</p><P>The
blond looked at him before walking through the door. “When I feel
like talking about it, I’ll tell you.” <I>‘Later, Harry…
later,’</I> he quietly sent to his lover.</p><P>The golden
trio exchanged looks before following the blond. If Draco had freely
spoken to Dumbledore about his problems, he must have been truly
desperate. The blond hated the old man deeply, and avoided him as
much as he could. So what had been so horribly wrong that forced him
into talking to the headmaster?</p><P>Harry
clenched one fist. <I>‘Whatever it was, I hope it doesn’t have to
do with HIM.’</I></p><P>Xxxx</p><P>The black
haired man growled in frustration as he looked down the hall. He had
been waiting for almost one hour now. Leaning against the wall next
to the doors leading to the Great Hall, he sighed. What was taking
the young Malfoy so long?</p><P>“But I
still think…”</p><P>“Hermione,
please… drop it.”</p><P>Snape knew
those voices. One belonged to the brown haired Mudblood girl, and the
other to young Draco. Looking up from where his gaze had fallen on
the floor, he spotted the small group heading his way. Pushing
himself off the wall he walked over to them. “And where have you
been? Breakfast started over half an hour ago,” he informed them,
his eyes glued to the small blond.</p><P>Harry
pushed his glasses up on his nose. “We have been talking about
stuff. Sorry Professor,” he apologized. He looked at the pale man
and frowned. He didn’t like the way he was looking at his lover…
but there was something more in that gaze. Something he couldn’t
explain. “Is there something wrong, Professor?” It couldn’t
hurt to ask, now, could it?</p><P>Snape
snapped his eyes to the scared wonder boy. Potter knew something was
wrong. Did the boy have a sixth sense or something? “I need to
speak with Mr. Malfoy, here. Now,” he simply said. He didn’t need
to tell the black-haired teen any more.</p><P>Draco
tilted his head. Snape was acting weird… weirder then usual. “If
it’s about the curse, you don’t have to worry about it. It is
done,” he said, and then let his gaze drop, his cheeks turning red.</p><P>Snape
looked at him with questioning eyes. They grew larger after second
and he blushed harder then any of them had ever seen during their
years at the school. He coughed and looked at the blond again. “You
mean…” he began.</p><P>Harry
nodded. “Last night.”</p><P>Snape
sighed and closed his eyes. <I>‘Narcissa… things just turned
worse…’</I> he thought. Looking up, he took Harry’s arm in one
hand, Draco’s in the other, and dragged them with him, heading for
the dungeons. “Weasley, Granger, go the Great Hall. You are late,”
he snapped.</p><P>Ron
blinked. What just happened? “Where are you taking them?” he
asked.</p><P>Snape
stopped and glared at the red-haired teen. “Go to the Great Hall,
Weasley, or face detention,” he growled, leaving the stunned teens
by the door.</p><P>Ron
blinked and looked at Hermione. “You know what that was all about?”
he asked.</p><P>The girl
shook her head. “I have no idea, but the look on Snape’s face…
it was…” she trailed off.</p><P>The
red-haired teen frowned at her before looking in the direction the
three had gone. “… Harry…”</p><P>Xxxx</p><P>Harry
gasped as he was flung inside the Potions classroom, Draco right
behind him. “Darn it, Snape! What’s wrong with you?”</p><P>Draco
rubbed his sore arm as he looked at the man that had protected him
for years. “Is there a reason for you to drag us down here?” he
asked.</p><P>Snape
looked at the blond and nodded. “Sit down, Draco. You too, Potter,
for what I have to tell you will be **** both of you.”</p><P>The
two sat down on the benches and looked at the Potions master. Harry
took Draco’s hands in his and smiled lightly at him. <I>‘You
okay?’</I> he asked mentally.</p><P>Draco
nodded. <I>‘Yes, I’m fine.’</I></p><P>“Have
you two finished talking mentally?” Snape asked.</p><P>Harry
turned his gaze to the Professor and nodded. “Sorry, Professor
Snape.”</p><P>The
black-haired man sighed. “What I’m going to tell you is
important, so I want your full attention, okay?” he said, waiting
for the boys to nod. “This is not easy. Not for me or you, but it
must be said.”</p><P>The boys
nodded and watched as their Potions Professor sat down before them.</p><P>Snape took
a deep breath and looked up in order to face the two. “I have
spoken with your mother, Draco,” he began after a few minutes.</p><P>Draco
gasped. Snape had talked to his mother? “Is she alright? She is not
in danger, is she?” he asked. He was worried. Really worried. He
could feel Harry grasp his hand a little tighter, and he tried to
seek comfort in that little gesture, yet couldn’t.</p><P>“She is
alright at the moment, but she has been forced to flee from the
Malfoy manor. She told me that the Dark Lord is coming for you, and
he has ordered your father to kill your mother. She’s frightened to
death, so she fled. She’s hiding in my cottage at the moment, and
she’s safe. She and I have decided that we need to put our plan
into action sooner than we wanted to. Since it’s not that long
before the year ends, we must act now.”</p><P>“What
happens at the end of the year?” Harry asked.</p><P>Snape
looked at him and sighed. “Lucius is expecting Draco home for the
Christmas holidays. He will be there to activate the curse.”</p><P>Draco
could almost feel his heart stop. His father and the Dark Lord… so
soon? Why hadn’t…? “I – I…”</p><P>“The
Lord doesn’t know about you and Harry, yet he knows that Narcissa
is going to betray him. Narcissa and I have decided that Hogwarts is
too dangerous now, and therefore you must come with me, Draco. We
must leave Hogwarts and hide you and your mother until the He is
dead,” Snape said, and then took one of Draco’s pale hands in
his.</p><P>Draco
looked at the Professor with his silvery eyes. “You mean that…
what about Harry? What will happen to him?”</p><P>The
Professor sighed and looked at other boy beside the blond. “He must
stay here, under the watchful eye of Dumbledore. Narcissa wanted him
to come with us, but he just can’t.”</p><P>“And why
is that!”</p><P>Harry
almost jumped of his seat when the blond shot up from his seat and
snapped at the black-haired man. “Take it easy, Dra—”</p><P>“No!”
Draco interrupted. “Just tell me why I have to leave him behind!
Why must he stay while I hide? It’s <I>me</I> He’s after!”
Draco growled, his fist shaking.</p><P>“That is
why you must leave. He will know something is wrong when you don’t
return to the manor at Christmas. He will come here looking for you.
If we bring Potter with us, we risk the chance that He will find the
hiding place.”</p><P>Now Harry
felt a little confused. “How would he find the hideout if I came
there?”</p><P>Dark eyes
landed on the boy. “You and the Dark Lord share the same power. You
can sometimes feel when He is around and the same goes for Him. He
can feel where you are at all times. I don’t want to risk Him
finding Draco because you two want to be together,” he said, and
then looked at Draco. “I’m sorry but that’s how things are.”</p><P>Draco
nodded. “I understand, uncle Snape. It is just…”</p><P>“Hard, I
know,” Snape finished for him. He turned his back to the two and
walked towards the door. “I’ll go and talk to the Headmaster.
Pack only the necessary and get ready to leave as soon as possible.
I’ll meet you in the Entrance Hall,” the black-haired man said,
leaving the two alone.</p><P>The blond
sighed and stood. “I’d better get ready. Come with me?” he
asked, avoiding looking at Harry. It hurt too much. He felt glad that
he would meet his mother and all, but it hurt to know he had to leave
his lover behind.</p><P>Harry
stopped Draco by grabbing his arm. Turning the blond to face him he
lifted the blonde’s chin and looked into the silver orbs that were
filled with tears. “We’ll get through this. As soon as the Dark
Lord is dead, we can be together again and then I’m sure it will be
forever,” he said, wiping away one stray tear from under Draco’s
eye.</p><P>The blond
nodded and hugged the dark-haired teen hard. “You’re right…
you’re right…” he mumbled into Harry’s robes as he let the
tears flow.</p><P>Xxxx</p>

</span></div>
		<div style='padding-left:10px;padding-top:10px;'>
<FORM name=myselect><TABLE WIDTH='100%' class=myborder cellpadding=4>
			<TR>
				<TD>
				<SCRIPT LANGUAGE=JavaScript>
function select_drop(sel_value) {
  var storyid = 2149539;
  var chapter = 16;
  var userid = 585251;
  var title = 'Yours+truly';
  var pre = 0;
  var rev = 1;

  if(sel_value == 'review') {
	var toast =
window.open('/secure/review.php?storyid='+storyid+'&chapter='+chapter+'&storytextid=7615889','ReviewWindow',
'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=1,width=560,height=450,left=312,top=184');
  }
  else if (sel_value == 'abuse') {
 	var toast =
window.open('/secure/report.php?chapter=16&storyid='+storyid+'&title='+title,'ReviewWindow','toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=560,height=510,left=312,top=184');
  }
   else if (sel_value == 'c2') {
 	var toast =
window.open('/secure/c2_addstory.php?action=add&storyid='+storyid,'ReviewWindow','toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=560,height=510,left=312,top=184');
  }
  else if (sel_value == 'fs') {
	var toast =
window.open('/secure/fav_add.php?add_favstory=1&storyid='+storyid,'ReviewWindow','toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=560,height=510,left=312,top=184');
  }
  else if (sel_value == 'fa') {
	var toast =
window.open('/secure/fav_add.php?add_favauthor=1&storyid='+storyid,'ReviewWindow','toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=560,height=510,left=312,top=184');
  }
  else if (sel_value == 'aa') {
 	var toast =
window.open('/secure/fav_add.php?add_authoralert=1&storyid='+storyid,'ReviewWindow','toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=560,height=510,left=312,top=184');
  }
   else if (sel_value == 'sa') {
 	var toast =
window.open('/secure/fav_add.php?add_storyalert=1&storyid='+storyid,'ReviewWindow','toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=560,height=510,left=312,top=184');
  }

}
				</SCRIPT>

				<select name=opt title='story actions'>
				<option value=review>Submit Review
				<option value=abuse>Report Possible Abuse
				<option value=fs>Add Story to Favorites
				<option value=sa>Add Story to Story Alert
				<option value=fa>Add Author to Favorites 
				<option value=aa>Add Author to Author Alert
				<option value=c2>Add Story to C2 Archive

				</select>

				<input type=button value=Go
onClick='javascript:select_drop(document.myselect.opt.options[document.myselect.opt.selectedIndex].value)'>
				</TD>
				
				<TD ALIGN=RIGHT><INPUT TYPE=BUTTON Value='&nbsp;&nbsp;&#171;&nbsp;&nbsp;'
onClick="self.location='/s/2149539/15/'"><SELECT title='chapter navigation'
Name=chapter onChange="self.location = '/s/2149539/'+
this.options[this.selectedIndex].value + '/';"><option  value=1 >1.
Prepared<option  value=2 >2. So that’s why<option  value=3 >3. None of your
business!<option  value=4 >4. What’s wrong with them?<option  value=5 >5. Find
out<option  value=6 >6. Complicated<option  value=7 >7. I see…<option  value=8
>8. The king of idiots<option  value=9 >9. Flutter<option  value=10 >10.
Voice<option  value=11 >11. A Mother’s Explanation<option  value=12 >12. Bloody
Hell…<option  value=13 >13. Put Me Down!<option  value=14 >14. I’m Not
Scared<option  value=15 >15. Old Promises<option  value=16 selected>16. The
Hardest To Do</select></TD>

			</TR>
		</TABLE></form>
		  	<script language="JavaScript"
src="http://www.fanfiction.net/static/scripts/gcode.js"></script>
  
	<br><center>
	<script type="text/javascript">
	google_ad_client = "pub-1402966127069733";         
	google_ad_output = "js";  
	google_feedback = "on";       
	google_max_num_ads = 4;         
	google_hints = "Books Harry Potter movie movies review reviews trailer photo
critic film criticism actor actress";
	google_ad_channel ="0882735489";
	google_ad_type = 'text_image';
	google_image_size = '468x60';
	
	if(getCookie("adblocker") < 1) {
		document.write('<SCR'+'IPT LANGUAGE="JavaScript" ');
	
document.write('SRC="http://pagead2.googlesyndication.com/pagead/show_ads.js"></SCR'+'IPT>');
	}
	</script>	
	</center>	
<script LANGUAGE='JavaScript'
SRC='http://www.fanfiction.net/fstat/0/2149539/7615889/'></SCRIPT><br><br></div></div></body></html>
<script language='javascript'>postamble();</script>



Reproducible: Sometimes

Steps to Reproduce:
1.Random, can't figure out why it shows up one day and not the next.
2.
3.



Expected Results:  
Javascript window should open -- either a review window (for www.fanfiction.net
pages) or whatever Javascript window is supposed to open.

Running: ZoneAlarm Security Suite 6.0.677.000; Windows XP Professional with A13 BIOS

about:buildconfig

Build platform
target
i586-pc-msvc

Build tools
Compiler 	Version 	Compiler flags
$(CYGWIN_WRAPPER) cl 	12.00.8804 	-TC -nologo -W3 -nologo -Gy -Fd$(PDBFILE)
$(CYGWIN_WRAPPER) cl 	12.00.8804 	-TP -nologo -W3 -nologo -Gy -Fd$(PDBFILE)

Configure arguments
--disable-ldap --disable-mailnews
--enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,negotiateauth
--enable-crypto --disable-composer --enable-single-profile
--disable-profilesharing --enable-optimize --disable-debug --disable-tests
--enable-static --disable-shared --enable-official-branding
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051018
Firefox/1.6a1 ID:2005101804

Works for me. Could you test this in 1.5 beta 2?
http://www.mozilla.org/projects/firefox/
Bug 236791 mentions the same error message, but it involves focus(), which isn't
used by the code in comment 0.
Summary: Example of Javascript error; while random, is frequent; can occur with variety of pages → 'Permission denied to get property XULElement.selectedIndex' with variety of pages
I am getting this same error using very simple code to practice using Ajax and the XMLHttpRequestObject.

It seems to happen after the user pauses in a input feild. Here is my code:

        function checkEmail() {
                // This will type the email exactly as user enters it in real time
                // and use php to verify it is an email address within a database
                var uEmail = document.getElementById("email").value;

                var url = "pages/en-us/testForm1.php?email="+escape(uEmail);

                // connect to file
                Request_Obj.open("GET", url, true);

                Request_Obj.onreadystatechange = updatePage;

                try {
                        Request_Obj.send(null);
                } catch(e) {
                        alert("Exception Caught! Please try again.");
                }
        }
        function updatePage() {
                if (Request_Obj.readyState == 4) {
                        try {
                                var response = Request_Obj.responseText;
                                document.getElementById("valid").innerHTML = response;
                                } catch (e) {
                                document.getElementById("valid").innerHTML = "Exception caught";
                                }
                } else {
                document.getElementById("valid").innerHTML = "Pending Verification...";
                }
         }


//////////////////////////////////////////////
///////////////////////////////////////////////////////////////

Next is the code of the php script tryinbg tp process the email address

if (isset($_GET['email']))
{
        $value = check_email_mx($_GET['email']);
        if ($value == true)
                echo "VALID";
        else
                echo "INVALID";
        exit();
}
   function check_email_mx($email) {
        if( (preg_match('/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/', $email)) ||
                (preg_match('/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/',$email)) ) {
                $host = explode('@', $email);
                if(checkdnsrr($host[1].'.', 'MX') ) return true;
                if(checkdnsrr($host[1].'.', 'A') ) return true;
                if(checkdnsrr($host[1].'.', 'CNAME') ) return true;
        }
        return false;
    }

////////////////////////

I have only tried this script in Firfox on Linux version

mozilla/5.0 (x11; u; linux i686; en-us; rv:1.7.12) gecko/20050922 fedora/1.0.7-1.1.fc4 firefox/1.0.7

I don't know if it is firefox only I don't have internet explorer installed on this computer but i will check it when i get home.
Also seen at Amazon.com in FireFox 1.0.7 & 1.5.0.1, Windows XP:
1. Go to www.amazon.com.
2. Select Books from See all 32 Product Categories (it also happens for Music, DVD...).
3. Go to a Product page (or to your cart, or to wish list), then click Back browser button.
Dupe of 236791 probably. 
You should probably take a look at http://www.mozilla.org/quality/bug-writing-guidelines.html for the next time you need to file a bug ;)

*** This bug has been marked as a duplicate of 236791 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.