[Webkit-unassigned] [Bug 172867] Can't extend RTCPeerConnection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 2 12:07:07 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172867

--- Comment #1 from Andrew Morris <andrew at tokbox.com> ---
Also seeing this behavior, might be the same underlying issue:

```js
function Foo() {}

Foo.prototype = Object.create(RTCPeerConnection.prototype);
Foo.prototype.constructor = Foo;

console.log(RTCPeerConnection.prototype.constructor !== Foo);
```

Again, output is `false`, should be `true`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170602/1018d8d1/attachment.html>


More information about the webkit-unassigned mailing list