It looks to me like this test could pass if this call was ignored completely (comment out this line to test). I think we need to verify that we get the lostpointercapture before any pointerup event.