openlayers/openlayers — comment on commit b699afa57f7b9a6e03815558ac89f64922719186
File: lib/OpenLayers/Format/SLD/v1_0_0_GeoServer.js line 130
By marcjansen:

@bartvde could this iteration possibly fail when people manipulate Object.prototype? I guess we should check hasOwnProperty here, right? This might result in nonsense-SLDs written by the format. How do we deal with iterations over object members elsewhere?