| 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 src="testutils.js"></script> | 3 <script src="testutils.js"></script> |
| 4 <body> | 4 <body> |
| 5 <script> | 5 <script> |
| 6 if (fork()) { | 6 if (fork()) { |
| 7 // The controlling parent frame | 7 // The controlling parent frame |
| 8 description('Tests destroying a context during registration at the point whe
n the attributeChanged callback is retrieved.'); | 8 description('Tests destroying a context during registration at the point whe
n the attributeChanged callback is retrieved.'); |
| 9 jsTestIsAsync = true; | 9 jsTestIsAsync = true; |
| 10 successfullyParsed = true; | 10 successfullyParsed = true; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 try { | 23 try { |
| 24 document.register('x-a', {prototype: proto}); | 24 document.register('x-a', {prototype: proto}); |
| 25 log('FAIL expected register to throw an exception'); | 25 log('FAIL expected register to throw an exception'); |
| 26 } catch (ex) { | 26 } catch (ex) { |
| 27 log('PASS caught expected exception "' + ex + '"'); | 27 log('PASS caught expected exception "' + ex + '"'); |
| 28 } | 28 } |
| 29 done(); | 29 done(); |
| 30 } | 30 } |
| 31 </script> | 31 </script> |
| 32 <script src="../../js/resources/js-test-post.js"></script> | |
| OLD | NEW |