Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What methods can I use to reproduce a sporadic IE "A script on this page is causing Internet Explorer to run slowly" notification?

I'm trying to replicate a bug which the client has reported, it's the "this script is running slow" notification which appears in IE due to it's extremely slow JS/DOM parsing.

This doesn't occur on my virtualbox IE6 ( client has IE6 ) nor does it work on a test machine I have ( some mac mini ).

I can guarantee that there's a lot of JS happening though, and there's lots of HTML being processed after being retrieved using XHR, in addition a lot of JS operating on the appended DOM elements after that. I can't possibly post the entire script, but I'm confident I could easily track the issue down but I want to reproduce this to play around with optimizing it.

This is a really high profile client so I can't just get on the phone or IM and speak to them. Are there any ways I could slow down my machine in order to reproduce this bug? Or should I just stick to asking for the client's computer specifications and try to get access to an older computer which would have a more likely chance of reproducing the issue? Or even use something like browsercam?

Another idea I thought about would be sort of, making the JS operate even more, in order so I do get the issue and try to optimize my code so even with my additional code it won't post the script notification error.

I'd appreciate any advice.

like image 746
meder omuraliev Avatar asked Sep 10 '10 16:09

meder omuraliev


People also ask

How to troubleshoot Internet Explorer script issues?

A straightforward way to fix internet explorer issues is by using its performance troubleshooter. The internet explorer performance troubleshooter runs automatically and applies the needed fixes. Some users have also reported that their internet explorer script issue has been resolved using an internet explorer troubleshooter.

How to Disable Script Debugging in Internet Explorer?

Follow the below steps to disable script debugging in internet explorer. Step 1: Launch your internet explorer browser. Step 2: Select Internet Options from Tools in your internet explore. (you can see tools as a gear icon in your internet explorer) Step 3: Select the Advanced tab. Step 4: Check " Disable Script Debugging" from the displayed list.

How to fix Internet Explorer performance issues in Windows 10?

Step 1: Download the internet explorer performance troubleshooter. You can download it from the official website of Microsoft. Step 2: Press the Win + R key and type Control Panel in the Run prompt. Pressing that, the control panel will open in classic view. Please click on the view by button to change it to large icons.

What does Internet Explorer script error message mean?

When Internet Explorer script error message pops up on your computer, it means that your web browser experiences difficulties of running a script from the website you open. In most issues, Internet Explorer script error is caused by the developer of the website who inserts some scripts like JavaScript, JScript, or VisualBasic script.


1 Answers

run inside a VM, and lower the memory on purpose to have excess swapping. If this still doesn't work, you can run some benchmarking SW in the background, those tends to chew a lot of CPU.

like image 109
fseto Avatar answered Sep 19 '22 19:09

fseto