chromium/third_party/blink/web_tests/editing/execCommand/paste-and-match-style-event.html

<html>
<script src="../editing.js"></script>
<script>
function onpastehandler(event) {
    var e = document.getElementById('result');
    e.innerHTML = "SUCCESS";
}

function test() {
    execCopyCommand();
    // Test to make sure that PasteAndMatchStyle fires the onpaste event.
    execPasteAndMatchStyleCommand();
    
    if (window.testRunner)
        testRunner.dumpAsText();
}

</script>
<body onload='test()' onpaste='onpastehandler(event)'>
<div id='result'>FAILURE</div>
</body>
</html>