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:
if({view.params.id_Line} = '0', 57,
if({view.params.id_Line} = '3',41,-1))
Then it will work in both places.