blob: 56848976e148ffa5ced4e61e20102b5343b3b2c4 [file] [log] [blame]
<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>