RuidSiel / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Facebook hanging up (javascript issue) #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch cefclient.exe and head to http://www.facebook.com
2. Log into your Facebook account and leave it on the default home page (news 
feed for example).
3. Open up task manager and locate cefclient.exe process.
4. Leave cefclient on main Facebook page without interacting with it for at 
least 8 minutes (visit http://www.online-stopwatch.com for stop watch).
5. Hang up will take place after Facebook makes a request to: 
http://www.facebook.com/ajax/presence/update.php?__a=1

What is the expected output? What do you see instead?
After 8 minutes you should see cefclient spike up in CPU usage and Facebook 
page will become inoperational. You can click whatever you want and nothing 
will work as expected.
Hang up seems to last for 6 minutes.

What version of the product are you using? On what operating system?
r293 tested on Windows 7 x64 and Windows XP SP3 x86

Please provide any additional information below.
Apparently hang up is caused by javascript emulation which is not able to 
handle 100kb json response that is retured after request to: 
http://www.facebook.com/ajax/presence/update.php?__a=1
Here is a copy of one of json responses that caused a hang up for me: 
http://pastebin.com/1PKkM6Jx

Original issue reported on code.google.com by kuba...@gmail.com on 27 Sep 2011 at 1:42

GoogleCodeExporter commented 9 years ago
seems that it is a problem in chromium and the fixed version is included in r306

Original comment by pkwong4...@gmail.com on 25 Oct 2011 at 8:11

GoogleCodeExporter commented 9 years ago
No, sorry. The issue still persists in cefclient.exe in r306. I've tested it 
several times.

Original comment by kuba...@gmail.com on 25 Oct 2011 at 11:05

GoogleCodeExporter commented 9 years ago
I've noticed that this problem is only possible to reproduce on Facebook 
accounts with more than 1000 friends. Appears that the amount of JSON data that 
has to be parsed after 8 minutes of Facebook activity is triggering the error. 
The bug must be pretty complex as the slowdowns/hangups can be spotted on pages 
that rely heavily on parsing lots of JSON data in javascript.

I can lend an account for testing.

Original comment by kuba...@gmail.com on 16 Nov 2011 at 8:29

GoogleCodeExporter commented 9 years ago
Thank you for the great Christmas present. Seems that in r439 all hanging up 
and speed issues with processing javascript are now fixed! CEF has never before 
run so smooth and fast. Great job guys!

Happy New Year!

P.S. Please mark this issue as resolved.

Original comment by kuba...@gmail.com on 31 Dec 2011 at 1:22

GoogleCodeExporter commented 9 years ago
Thanks for testing and reporting back.

Original comment by magreenb...@gmail.com on 3 Jan 2012 at 7:29