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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 2 11:59:03 PDT 2017


            Bug ID: 172867
           Summary: Can't extend RTCPeerConnection
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andrew at tokbox.com

This code:

class PC extends RTCPeerConnection {}
const pc = new PC();
console.log(pc instanceof PC);

outputs `false`. It should output `true`. Trying to define new methods for pc via the PC prototype also fails. This prevents our attempt to use webrtc/adapter without modifying globals.

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/8f096bd7/attachment-0001.html>

More information about the webkit-unassigned mailing list