openlayers/ol3 — pull request #1786 by twpayne (2014-03-01 13:16:32+00:00)
Title: Catch CORS exceptions when loading icons

When an image load causes a CORS violation, it seems to raise an exception at the line that triggered the load, rather than firing an `error` event. This exception is not caught, and ends up aborting the entire render. This PR catches the exception when it occurs and treats it as an error, preventing CORS exceptions from breaking the render.