I am assuming that the id_Line is a URL parameter. These will be a string value at run time. In the designer you have to manually set them, and so I’m guessing you just typed in the number 3 which was converted to an integer.
This is why the expression with string literals works in chrome but not the designer. Because 3 is not equivalent to ‘3’
Use string literals (quotation marks) when entering the value in the designer so the designer knows the value is a string.
Use toInt() in your expression to convert the parameter to an integer type.
This may be your opinion, but it doesn’t change the fact that anything passed through the URL can only be a string.
Your expression works in the designer because when you just type in the number 3 the designer converts it to an integer. In chrome the parameter is a string and so your expression returns through the false path. In this case -1.
In the designer change the value of id_Line to '3' and change the expression to this: