ScriptSafe is always injecting the CanvasRenderingContext2D.prototype.measureText method and therefore will break any JS 2D game engine and/or game, even when the domain is fully trusted.
Also, this method should NOT return false, as this is not spec compatible. Instead, if decided it should stay, it should return something along { width: 0 }. Otherwise shit will keep breakin unnecessarily.
ScriptSafe is always injecting the
CanvasRenderingContext2D.prototype.measureText
method and therefore will break any JS 2D game engine and/or game, even when the domain is fully trusted.Also, this method should NOT return false, as this is not spec compatible. Instead, if decided it should stay, it should return something along
{ width: 0 }
. Otherwise shit will keep breakin unnecessarily.