- From: Ryosuke Niwa <notifications@github.com>
- Date: Wed, 31 Aug 2016 23:10:29 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 1 September 2016 06:11:00 UTC
It's not configurable but writable in regular function but it could do anything because you can create a Proxy that traps `Get` to `prototype`. e.g. ```js customElements.define('bad-element', new Proxy(class extends HTMLElement {}, { get: function (target, name) { if (name == 'prototype') throw 'stuff'; } })); ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/560#issuecomment-243985269
Received on Thursday, 1 September 2016 06:11:00 UTC