openlayers/ol3 — pull request #1298 by ahocevar (2013-11-20 12:05:34+00:00)
Title: The source determines who can do GetFeatureInfo

Now that the ol.renderer.Layer base class has a
getFeatureInfoForPixel method, we have to check whether the
source supports GetFeatureInfo, not the layer renderer.