| OLD | NEW |
| 1 Tests destroying a context during registration at the point when the attributeCh
anged callback is retrieved. | 1 Tests destroying a context during registration at the point when the attributeCh
anged callback is retrieved. |
| 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 destroyed context | 6 PASS destroyed context |
| 7 PASS caught expected exception "NotSupportedError: Failed to execute 'registerEl
ement' on 'Document': Registration failed for type 'x-a'. The context is no long
er valid." | 7 PASS caught expected exception "InvalidStateError: Failed to execute 'registerEl
ement' on 'Document': Registration failed for type 'x-a'. The context is no long
er valid." |
| 8 PASS child done | 8 PASS child done |
| 9 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 10 | 10 |
| 11 TEST COMPLETE | 11 TEST COMPLETE |
| 12 | 12 |
| OLD | NEW |