chromium/third_party/blink/web_tests/fast/forms/time-multiple-fields/time-multiple-fields-state-change-on-focus-or-blur.html

<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<script>
description('Check focus handler not dispatch blur event');
testInput = document.createElement('input');
document.body.appendChild(testInput);
testInput.type = 'time';

testInput.addEventListener(
    'blur',
    function()
    {
        debug('Entering blur event handler');
        testInput.setAttribute('y', 'y');
        debug('Existing blur event handler');
    },
    false);

testInput.addEventListener(
    'focus',
    function()
    {
        debug('Entering focus event handler');
        testInput.setAttribute('x', 'x');
        debug('Existing focus event handler');
    },
    false);

debug('call focus()');
testInput.focus();
debug('focus() finished');
debug('');

testInput.parentNode.removeChild(testInput);
</script>
</body>
</html>