function assertTextSelection(oTextInputElement, bExpectSelected, sText) {
		if (Device.browser.safari) {
			return;
		}

		const iSelectedCharacterCount = oTextInputElement.selectionEnd - oTextInputElement.selectionStart;
		const iTotalCharacterCount = oTextInputElement.value.length;
		const bSelected = iSelectedCharacterCount > 0 && iSelectedCharacterCount === iTotalCharacterCount;

		QUnit.assert.strictEqual(bSelected, bExpectSelected, sText);
	}
Checks whether the complete text in an text input element is selected.

@param {HTMLElement} oTextInputElement The input or textarea element to check for text selection.
@param {boolean} bExpectSelected Whether the text in the input is expected to be selected.
@param {string} sText The assertion message.