Closed
Description
Bug report
Describe the bug
$sData = StringRegExpReplace($sData, '[\v\t]', '')
from here:
Lines 1747 to 1749 in 42dda7d
strips [\v]
chars and when // comment
is used entire $sJavaScript
becames commented out.
How to reproduce
_Example()
Func _Example()
Local $sJavaScript = _
"// comment" & @CRLF & _
"return document.readyState;" & @CRLF & _
""
_WD_DebugSwitch($_WD_DEBUG_Full)
_WD_ExecuteScript($sSession, $sJavaScript)
_WD_DebugSwitch()
EndFunc ;==>_Example
Expected behavior
get result from: return document.readyState;
Screenshots
none
Additional context
System under test
not related
Metadata
Metadata
Assignees
Labels
No labels