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: Not enough arguments. |
7 PASS observer.observe(null) threw exception TypeError: Not enough arguments. | 7 PASS observer.observe(null) threw exception TypeError: Not enough arguments. |
8 PASS observer.observe(undefined) threw exception TypeError: Not enough arguments
. | 8 PASS observer.observe(undefined) threw exception TypeError: Not enough arguments
. |
9 PASS observer.observe(document.body) threw exception TypeError: Not enough argum
ents. | 9 PASS observer.observe(document.body) threw exception TypeError: Not enough argum
ents. |
10 PASS observer.observe(document.body, null) threw exception Error: SyntaxError: D
OM Exception 12. | 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 Error: SyntaxErr
or: DOM Exception 12. | 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 Error: NotFoundE
rror: DOM Exception 8. | 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 Error: NotF
oundError: DOM Exception 8. | 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 Error: Syn
taxError: DOM Exception 12. | 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 Error: SyntaxError: DOM Exception 12. | 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 Error: SyntaxError: DOM Exception 12. | 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 Error: SyntaxError: DOM Exception 12. | 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 |