blob: 45a69fc8b33f2029db3226644b340628131008ff [file] [log] [blame]
<!DOCTYPE html>
PASS if this does not crash
<script>
if (window.testRunner) {
testRunner.dumpAsText();
}
class X extends HTMLElement {
connectedCallback() {
}
};
Object.defineProperty(Array.prototype, 0, {
set: function(value) {
throw 'barf';
},
enumerable: true
});
customElements.define('x-x', X);
</script>