Bug 186770

Summary: Expose RTCPeerConnectionIceEventInit constructor
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, commit-queue, eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description youenn fablet 2018-06-18 09:05:04 PDT
Expose RTCPeerConnectionIceEventInit constructor as per spec
Comment 1 youenn fablet 2018-06-18 09:13:25 PDT
Created attachment 342944 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2018-06-18 09:13:53 PDT
<rdar://problem/41212281>
Comment 3 Alex Christensen 2018-06-18 10:27:46 PDT
Comment on attachment 342944 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=342944&action=review

> Source/WebCore/Modules/mediastream/RTCPeerConnectionIceEvent.idl:28
> +    DOMString? url;

Why is this not a DOMURL?
Comment 4 youenn fablet 2018-06-18 13:06:24 PDT
> > Source/WebCore/Modules/mediastream/RTCPeerConnectionIceEvent.idl:28
> > +    DOMString? url;
> 
> Why is this not a DOMURL?

I am not quite sure, it is defined in RFCs as specific URIs and I believe it could be passed as DOMURL.
But this would require changing an API that is there since quite some time with only small benefits.
Not this particular attribute but RTCIceServer which has a "DOMString url" attribute and is passed as parameter of RTCPeerConnection getter.
Comment 5 youenn fablet 2018-06-18 13:08:51 PDT
Created attachment 342965 [details]
Patch for landing
Comment 6 youenn fablet 2018-06-18 13:10:01 PDT
(In reply to youenn fablet from comment #5)
> Created attachment 342965 [details]
> Patch for landing

Updated PeerConnectionBackend::finishedRegisteringMDNSName implementation to use more WTFMove.
Comment 7 WebKit Commit Bot 2018-06-18 13:48:14 PDT
Comment on attachment 342965 [details]
Patch for landing

Clearing flags on attachment: 342965

Committed r232943: <https://trac.webkit.org/changeset/232943>
Comment 8 WebKit Commit Bot 2018-06-18 13:48:16 PDT
All reviewed patches have been landed.  Closing bug.