Simple glass won't abrade hardened knife steel much, if at all. It can serve to re-align a rolled edge, and perhaps burnish it a little bit. Bits of weakened steel, like burrs, can sometimes be scrubbed off an edge with glass. I wouldn't count on it to 'sharpen' much, as it won't remove any significant amount of steel otherwise, by itself. The gains seen in sharpness of an edge, after using glass, are more due to straightening (aligning) a rolled edge, as opposed to honing it. The relative lack of abrasiveness of glass, versus hardened steel, can be seen by checking for leftover swarf (black residue) on the glass by wiping it with a Windex-moistened paper towel after attempting sharpening on it. You won't likely find much swarf, if any. Compare this to doing the same on a ceramic hone; both seem very 'glass-like', but the ceramic is much harder and will collect visible swarf easily.
All that aside, glass is great as a hard backing for sharpening or stropping, used underneath sandpaper or paper/fabric with compound.
David