| <html> |
| <import src="../resources/dump-as-text.sky" /> |
| <import src="resources/document-register-fuzz.sky" as="fuzzer" /> |
| <body> |
| <div id="container"></div> |
| Fuzzing document.registerElement() through getters. PASS unless crash. |
| <script> |
| fuzzer.setupObjectHooks({ |
| prototypeGet: function() { throw "Error"; }, |
| prototypeSet: function(value) { throw "Error"; }, |
| constructorGet: function() { throw "Error"; }, |
| constructorSet: function(value) { throw "Error"; } |
| }); |
| |
| fuzzer.exerciseDocumentRegister(); |
| </script> |
| </body> |
| </html> |