Issue #3439646 by Tom Konda, smustgrave: Some of string comparisons should use String.prototype.startsWith() or String.prototype.endsWith()
mentioned in commit 270f95ac
mentioned in commit 05b6144b
mentioned in commit cc355625