PASS Text.replaceData() with invalid offset PASS Text.replaceData() with clamped count PASS Text.replaceData() with negative clamped count PASS Text.replaceData() before the start PASS Text.replaceData() at the start (shorter) PASS Text.replaceData() at the start (equal length) PASS Text.replaceData() at the start (longer) PASS Text.replaceData() in the middle (shorter) PASS Text.replaceData() in the middle (equal length) PASS Text.replaceData() in the middle (longer) PASS Text.replaceData() at the end (shorter) PASS Text.replaceData() at the end (same length) PASS Text.replaceData() at the end (longer) PASS Text.replaceData() the whole string PASS Text.replaceData() with the empty string PASS Text.replaceData() with non-ASCII data PASS Text.replaceData() with non-BMP data PASS Comment.replaceData() with invalid offset PASS Comment.replaceData() with clamped count PASS Comment.replaceData() with negative clamped count PASS Comment.replaceData() before the start PASS Comment.replaceData() at the start (shorter) PASS Comment.replaceData() at the start (equal length) PASS Comment.replaceData() at the start (longer) PASS Comment.replaceData() in the middle (shorter) PASS Comment.replaceData() in the middle (equal length) PASS Comment.replaceData() in the middle (longer) PASS Comment.replaceData() at the end (shorter) PASS Comment.replaceData() at the end (same length) PASS Comment.replaceData() at the end (longer) PASS Comment.replaceData() the whole string PASS Comment.replaceData() with the empty string PASS Comment.replaceData() with non-ASCII data PASS Comment.replaceData() with non-BMP data