Your browser behaved correctly regarding cookies sent with the request.
In local javascript,