blob: c028c76cd51c6d063d5834405ffde1637d802542 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test that new WebKitMutationObserver is the same as new MutationObserver.');
var noPrefixObserver = new MutationObserver(function() { });
var prefixObserver = new MutationObserver(function() { });
shouldBeTrue('noPrefixObserver instanceof WebKitMutationObserver');
shouldBeTrue('prefixObserver instanceof WebKitMutationObserver');
shouldBeTrue('noPrefixObserver instanceof MutationObserver');
shouldBeTrue('prefixObserver instanceof MutationObserver');
</script>
<script src="../../../resources/js-test-post.js"></script>