OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.js"></script> |
3 <script> | 3 <script> |
4 | 4 |
5 description('Test that new WebKitMutationObserver is the same as new MutationObs
erver.'); | 5 description('Test that new WebKitMutationObserver is the same as new MutationObs
erver.'); |
6 | 6 |
7 var noPrefixObserver = new MutationObserver(function() { }); | 7 var noPrefixObserver = new MutationObserver(function() { }); |
8 var prefixObserver = new MutationObserver(function() { }); | 8 var prefixObserver = new MutationObserver(function() { }); |
9 | 9 |
10 shouldBeTrue('noPrefixObserver instanceof WebKitMutationObserver'); | 10 shouldBeTrue('noPrefixObserver instanceof WebKitMutationObserver'); |
11 shouldBeTrue('prefixObserver instanceof WebKitMutationObserver'); | 11 shouldBeTrue('prefixObserver instanceof WebKitMutationObserver'); |
12 shouldBeTrue('noPrefixObserver instanceof MutationObserver'); | 12 shouldBeTrue('noPrefixObserver instanceof MutationObserver'); |
13 shouldBeTrue('prefixObserver instanceof MutationObserver'); | 13 shouldBeTrue('prefixObserver instanceof MutationObserver'); |
14 </script> | 14 </script> |
15 <script src="../../js/resources/js-test-post.js"></script> | 15 <script src="../../js/resources/js-test-post.js"></script> |
OLD | NEW |