OLD | NEW |
1 Test the constructor of WebKitMutationObserver | 1 Test the constructor of WebKitMutationObserver |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS window.WebKitMutationObserver is non-null. | 6 PASS window.WebKitMutationObserver is non-null. |
7 PASS typeof WebKitMutationObserver.prototype.observe is "function" | 7 PASS typeof WebKitMutationObserver.prototype.observe is "function" |
8 PASS typeof WebKitMutationObserver.prototype.disconnect is "function" | 8 PASS typeof WebKitMutationObserver.prototype.disconnect is "function" |
9 PASS typeof observer.observe is "function" | 9 PASS typeof observer.observe is "function" |
10 PASS typeof observer.disconnect is "function" | 10 PASS typeof observer.disconnect is "function" |
11 PASS new MutationObserver({ handleEvent: function() {} }) threw exception TypeEr
ror: Callback argument must be a function. | 11 PASS new MutationObserver({ handleEvent: function() {} }) threw exception TypeEr
ror: Failed to construct 'MutationObserver': Callback argument must be a functio
n. |
12 PASS new MutationObserver({}) threw exception TypeError: Callback argument must
be a function. | 12 PASS new MutationObserver({}) threw exception TypeError: Failed to construct 'Mu
tationObserver': Callback argument must be a function. |
13 PASS new MutationObserver(42) threw exception TypeError: Callback argument must
be a function. | 13 PASS new MutationObserver(42) threw exception TypeError: Failed to construct 'Mu
tationObserver': Callback argument must be a function. |
14 PASS new MutationObserver("foo") threw exception TypeError: Callback argument mu
st be a function. | 14 PASS new MutationObserver("foo") threw exception TypeError: Failed to construct
'MutationObserver': Callback argument must be a function. |
15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
16 | 16 |
17 TEST COMPLETE | 17 TEST COMPLETE |
18 | 18 |
OLD | NEW |