| OLD | NEW |
| 1 Test that WebKitMutationObserver.observe throws exceptions appropriately | 1 Test that WebKitMutationObserver.observe throws exceptions appropriately |
| 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 observer.observe() threw exception TypeError: Not enough arguments. | 6 PASS observer.observe() threw exception TypeError: Failed to execute 'observe' o
n 'MutationObserver': 2 arguments required, but only 0 present.. |
| 7 PASS observer.observe(null) threw exception TypeError: Not enough arguments. | 7 PASS observer.observe(null) threw exception TypeError: Failed to execute 'observ
e' on 'MutationObserver': 2 arguments required, but only 1 present.. |
| 8 PASS observer.observe(undefined) threw exception TypeError: Not enough arguments
. | 8 PASS observer.observe(undefined) threw exception TypeError: Failed to execute 'o
bserve' on 'MutationObserver': 2 arguments required, but only 1 present.. |
| 9 PASS observer.observe(document.body) threw exception TypeError: Not enough argum
ents. | 9 PASS observer.observe(document.body) threw exception TypeError: Failed to execut
e 'observe' on 'MutationObserver': 2 arguments required, but only 1 present.. |
| 10 PASS observer.observe(document.body, null) threw exception SyntaxError: An inval
id or illegal string was specified.. | 10 PASS observer.observe(document.body, null) threw exception SyntaxError: An inval
id or illegal string was specified.. |
| 11 PASS observer.observe(document.body, undefined) threw exception SyntaxError: An
invalid or illegal string was specified.. | 11 PASS observer.observe(document.body, undefined) threw exception SyntaxError: An
invalid or illegal string was specified.. |
| 12 PASS observer.observe(null, {attributes: true}) threw exception NotFoundError: A
n attempt was made to reference a Node in a context where it does not exist.. | 12 PASS observer.observe(null, {attributes: true}) threw exception NotFoundError: A
n attempt was made to reference a Node in a context where it does not exist.. |
| 13 PASS observer.observe(undefined, {attributes: true}) threw exception NotFoundErr
or: An attempt was made to reference a Node in a context where it does not exist
.. | 13 PASS observer.observe(undefined, {attributes: true}) threw exception NotFoundErr
or: An attempt was made to reference a Node in a context where it does not exist
.. |
| 14 PASS observer.observe(document.body, {subtree: true}) threw exception SyntaxErro
r: An invalid or illegal string was specified.. | 14 PASS observer.observe(document.body, {subtree: true}) threw exception SyntaxErro
r: An invalid or illegal string was specified.. |
| 15 PASS observer.observe(document.body, {childList: true, attributeOldValue: true})
threw exception SyntaxError: An invalid or illegal string was specified.. | 15 PASS observer.observe(document.body, {childList: true, attributeOldValue: true})
threw exception SyntaxError: An invalid or illegal string was specified.. |
| 16 PASS observer.observe(document.body, {attributes: true, characterDataOldValue: t
rue}) threw exception SyntaxError: An invalid or illegal string was specified.. | 16 PASS observer.observe(document.body, {attributes: true, characterDataOldValue: t
rue}) threw exception SyntaxError: An invalid or illegal string was specified.. |
| 17 PASS observer.observe(document.body, {characterData: true, attributeFilter: ["id
"]}) threw exception SyntaxError: An invalid or illegal string was specified.. | 17 PASS observer.observe(document.body, {characterData: true, attributeFilter: ["id
"]}) threw exception SyntaxError: An invalid or illegal string was specified.. |
| 18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
| 19 | 19 |
| 20 TEST COMPLETE | 20 TEST COMPLETE |
| 21 | 21 |
| OLD | NEW |