Re: [pointerevents-tests] Use valid pointerId and assert function, fixes #1269 (#1270)

According to spec, passing an invalid pointer ID would throw InvalidPointerId. We don't want that in this scenario. We want to test the next step of the algorithm, which is what happens if the API is called with a valid pointer ID but on a disconnected node. 

This also fixes a typo where assert_unreachable should be assert_unreached

Affected line:  f5e341e #diff-cc047112ab2b55a7f7110248a5323fe4R21


View on GitHub: https://github.com/w3c/web-platform-tests/pull/1270#issuecomment-57835747

Received on Friday, 3 October 2014 18:35:03 UTC