Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

W2u7Yw4HaD

macrumors regular
Original poster
Perhaps someone can report this to Apple.. Browse to www.aramex.com. Now, click on services on top middle.. Safari will crash.. The around this has been to not click on services and just float over it and then click and select from list. Tried on PowerPC and Intel mac mini..
 
Yeah, it crashed mine too. Regardless of whether it's a bad site or not, it shouldn't be able to bring down the whole browser! 😱

Edit: And crashed again while trying to bug-report it.

Edit 2: Report sent, this time I didn't keep the site open while reporting it.
 
There have been a handful of sites posted here that will do this.

I learned my lesson to just trust the OP. It's annoying when you have a bunch of windows open from different things and you click the link expecting nothing to happen. 😛
 
Oh...yup. There it went!

I feel like we are people lined up in front of an electric fence. There is someone up front going, "Hey! this fence is electrified!" and we all go touch it one by one right after eachother.
 
I don't use Safari so I opened it to load this site, which crashed without me needing to click anything. At least it saved me having to quit Safari.
 
I have just installed the latest QuickTime update (if that matters) then I checked the mentioned site. Everything works fine for me.
 
It's crashing for me as well.

After some debugging the function that is dying is:

Code:
function MakeRealHide(MenuItem)
{
	document.getElementById(MenuItem).style.display = 'none';
	for(i=0;i<MaxMenuNumber;i++)
		document.getElementById("ScrollDiv"+i).scrollTop=0;
		
	if(MenuItem == 'menu0' || MenuItem == 'menu1')
		document.getElementById('selCountries').style.visibility = 'visible';
}

With the particular problem line being:

document.getElementById("ScrollDiv"+i).scrollTop=0;

Commenting it out makes it work just fine in Safari, et al -- the only thing it doesn't do is reset the drop down to the topmost position. For some reason Safari does not like the dynamic "ScrollDiv" plus the for loop's counter (setting it to ScrollDiv1, for instance, works.) Error log reports with various WebKit/JavaScriptCore errors.

Anyroad, that HTML is a mess. The header alone has nested upon nested upon nested upon nested upon nested upon nested upon nested upon nested tables. Take a look at the snapshot from Firefox's DOM inspector (remember, the left-hand most side is the root of the document, with each indent is a new nested element)
 

Attachments

  • craziness.png
    craziness.png
    68.7 KB · Views: 141
crees! said:
I have just installed the latest QuickTime update (if that matters) then I checked the mentioned site. Everything works fine for me.

I can confirm that the latest QT update 7.1.1 has fixed the problem.
 
That's odd. I just updated to 7.1.1 and it's still crashing for me. Ah well, must be a fluke with my system, then. 🙂
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.