chromium/third_party/blink/web_tests/dom/mutation-event-tests/fast/events/event-fire-disconnected-bubbling-mutation.html

<!DOCTYPE html>
<html>
<head>
<script src="../../../../resources/js-test.js"></script>
</head>
<body>
<script>
description("Mutation events should propagate in disconnected DOM trees.");

var eventReceivedOnParent = false;
var eventReceivedOnChild = false;

var parent = document.createElement('div');
var child = document.createElement('div');
parent.addEventListener('DOMNodeInserted', function(e) { eventReceivedOnParent = true; } );
child.addEventListener('DOMNodeInserted', function(e) { eventReceivedOnChild = true; } );
parent.appendChild(child);

shouldBeTrue("eventReceivedOnParent");
shouldBeTrue("eventReceivedOnChild");
</script>
</body>
</html>