I’m used to debug my javascript code in Google Chrome as it has cool developer tools and its javascript engine is superb, but today I’ve broken Google Chrome.
I was writting some javascript code in OpenLayers to automatically generate unique value and range thematic for vector layers fully loaded on the browser. Once the code was running and after a few pans Google Chrome broke, the same code worked on Firefox. At the moment I have no idea what the “bug” is but I’ve made some (non rigorous) tests on several browsers and these are the results.
My OpenLayers was loading:
120 scaled and rotate SVG graphics
120 polygons
111 lines
1127 thematic points
15 png from a WMS layer
Browser | Start memory | OL load memory | Worked |
Chromium 16 | 80 MB | 320 MB | Yes |
Firefox 11 | 127 MB | 340 MB | Yes |
Safari 5.1 | 22 MB | 180 MB | Graphic errors |
Chrome 18 | 140 MB | 330 MB | No |
IE | – | – | LOL |
Opera 11 | 60 MB | 200 MB | Yes |
So Opera seems the “best browser in the world” but at the moment I will continue with Chromium