videoElement.currentSrc should not be empty after setting src attribute (even to a bogus value)
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS true is true
PASS false is false
PASS successfullyParsed is true
TEST COMPLETE
spec reference