Bug 169978 - Support RTCPeerConnectionState
Summary: Support RTCPeerConnectionState
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on:
Blocks: 169662 169989
  Show dependency treegraph
 
Reported: 2017-03-22 16:45 PDT by youenn fablet
Modified: 2017-03-22 19:45 PDT (History)
5 users (show)

See Also:


Attachments
Patch (34.76 KB, patch)
2017-03-22 17:08 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews114 for mac-elcapitan (1.71 MB, application/zip)
2017-03-22 18:26 PDT, Build Bot
no flags Details
Patch for landing (34.81 KB, patch)
2017-03-22 18:51 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch for landing (34.81 KB, patch)
2017-03-22 19:03 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 youenn fablet 2017-03-22 17:08:51 PDT
Created attachment 305139 [details]
Patch
Comment 2 youenn fablet 2017-03-22 17:10:03 PDT
Added test might not be interoperable.
Plan will be to move it to web-platform-tests when possible and fix any interop there.
Comment 3 Jon Lee 2017-03-22 17:35:26 PDT
Comment on attachment 305139 [details]
Patch

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

> Source/WebCore/Modules/mediastream/RTCPeerConnection.idl:-78
> -    // FIXME 169644: change to RTCSessionDescriptionInit

Why is this removed? The signature should be updated even if it's handled by the builtin.

> Source/WebCore/Modules/mediastream/RTCPeerConnection.idl:-147
> -    // FIXME 169644: convert to (MediaStreamTrack or DOMString)

Why is this removed?
Comment 4 Build Bot 2017-03-22 18:26:11 PDT
Comment on attachment 305139 [details]
Patch

Attachment 305139 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/3390928

New failing tests:
media/video-main-content-autoplay.html
Comment 5 Build Bot 2017-03-22 18:26:13 PDT
Created attachment 305150 [details]
Archive of layout-test-results from ews114 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews114  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 6 youenn fablet 2017-03-22 18:46:53 PDT
(In reply to Jon Lee from comment #3)
> Comment on attachment 305139 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=305139&action=review
> 
> > Source/WebCore/Modules/mediastream/RTCPeerConnection.idl:-78
> > -    // FIXME 169644: change to RTCSessionDescriptionInit
> 
> Why is this removed? The signature should be updated even if it's handled by
> the builtin.

I forgot to update it to RTCSessionDescriptionInit, will do at landing time.

> 
> > Source/WebCore/Modules/mediastream/RTCPeerConnection.idl:-147
> > -    // FIXME 169644: convert to (MediaStreamTrack or DOMString)
> 
> Why is this removed?

This is handled through overloading (see the two addTransceiver methods below).
Comment 7 youenn fablet 2017-03-22 18:51:09 PDT
Created attachment 305151 [details]
Patch for landing
Comment 8 Jon Lee 2017-03-22 18:51:20 PDT
Comment on attachment 305139 [details]
Patch

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

>>> Source/WebCore/Modules/mediastream/RTCPeerConnection.idl:-147
>>> -    // FIXME 169644: convert to (MediaStreamTrack or DOMString)
>> 
>> Why is this removed?
> 
> This is handled through overloading (see the two addTransceiver methods below).

True, though it would be slightly nicer to match the spec exactly rather than having two overloaded methods.
Comment 9 WebKit Commit Bot 2017-03-22 18:52:10 PDT
Comment on attachment 305151 [details]
Patch for landing

Rejecting attachment 305151 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 305151, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in LayoutTests/imported/w3c/ChangeLog contains OOPS!.

Full output: http://webkit-queues.webkit.org/results/3391265
Comment 10 youenn fablet 2017-03-22 19:03:24 PDT
Created attachment 305155 [details]
Patch for landing
Comment 11 WebKit Commit Bot 2017-03-22 19:45:01 PDT
Comment on attachment 305155 [details]
Patch for landing

Clearing flags on attachment: 305155

Committed r214293: <http://trac.webkit.org/changeset/214293>
Comment 12 WebKit Commit Bot 2017-03-22 19:45:06 PDT
All reviewed patches have been landed.  Closing bug.