chromium/third_party/blink/web_tests/fast/events/custom-event-detail-leak.html

<script>
if (window.testRunner)
    testRunner.dumpAsText();
// This shouldn't leak document objects.
var e = new CustomEvent('custom', {'detail': new Error()});
</script>