Closed
Bug 699602
Opened 13 years ago
Closed 13 years ago
Visiting vyuctovani.vodafone.cz frozes Firefox for a few seconds
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: JasnaPaka, Unassigned)
References
()
Details
1) Visit https://vyuctovani.vodafone.cz/.
2) Before loading is finished Firefox frozes for a few seconds.
I know this is general report but I can confirm it on all Firefox installations (clean profile, no extensions).
Comment 1•13 years ago
|
||
Profile says that 20% is finalizing JS arenas. The other 80% is all under the onload handler. 12% is mjit code, 65% is js_Date (split half and half betwen js_NewDateObjectMsec and PRMJ_Now.
Of what's left, 2.5% is date_getTime, 2% is GC off the operation callback, and the rest is _very_ minor.
Assignee: nobody → general
Component: General → JavaScript Engine
QA Contact: general → general
Comment 2•13 years ago
|
||
The site has:
<body onload="hide_initX()">
and https://www.vodafone.cz/js/sms_banner_hide.js has:
function hide_initX() {
pause(10000);
.....
}
and:
function pause(milliseconds) {
/* alert("Pausing " + milliseconds + " ms"); */
var now = new Date();
var exitTime = now.getTime() + milliseconds;
while(true) {
now = new Date();
if(now.getTime() > exitTime) {
/* alert("Pausing finished, going on ..."); */
return;
}
}
}
So the site is doing this very much on purpose. Once e10s lands it won't affect the UI, of course...
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•