| <!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> |