Re: [heycam/webidl] Investigate/file bugs on named constructor prototype chain (#276)

Wrote tests in https://github.com/web-platform-tests/wpt/pull/14841.

The bug mentioned in https://github.com/heycam/webidl/issues/276#issue-202564214 was fixed in https://bugs.chromium.org/p/chromium/issues/detail?id=310776.

The results:
* In Chrome, `Object.getOwnPropertyDescriptor(Image, "prototype").writable` is true, while it should be false per spec. (WebKit and Gecko pass.)
* In WebKit, `Object.getPrototypeOf(Image)` is `HTMLElement`, while it should be `Function.prototype` per spec. (Chrome and Gecko pass.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/276#issuecomment-454027343

Received on Monday, 14 January 2019 14:41:42 UTC