Today all of a sudden Google Chrome (9.0.597.84-r72991) hung loading a
simple web2py page. It couldn't even render the welcome page any more. Even
a blank new profile didn't work. It just hung and reported a crashed web
page after a while (the sad dialog).

Then I tried chromium - same behaviour, even with a mirror copy of the
welcome page as "file:///...".

It turned out that modernizr-1.6.min.js caused the crash when trying to
detect WebGL support.

Bug report for chromium:
http://code.google.com/p/chromium/issues/detail?id=69845

Bug report for modernizr:
https://github.com/Modernizr/Modernizr/issues/issue/156

It should help to disable WebGL in http://about:flags if this bug bites you.
You can also comment out the try...webgl... part in modernizr-1.6.js or just
remove modernizr from the layout.html. Its checks for WebGL  can be quite
expensive anyway and slow down page loading if you don't need it.

Funny: Trying to load http://www.modernizr.com/news/ fails in the same way
(Google Chrome 9.0.597.84-r72991).

Cheers
Bernd

Reply via email to