blob: 404052d26996a84eee6bca68fce1970c9f15c9b3 [file] [log] [blame]
<html>
<link rel="import" href="../resources/dump-as-text.sky" />
<link rel="import" href="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>