Bug 125568 - Improving createOffer and createAnswer LayoutTests
Summary: Improving createOffer and createAnswer LayoutTests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Thiago de Barros Lacerda
URL:
Keywords:
Depends on:
Blocks: 124288 125574
  Show dependency treegraph
 
Reported: 2013-12-11 05:49 PST by Thiago de Barros Lacerda
Modified: 2014-05-19 09:08 PDT (History)
7 users (show)

See Also:


Attachments
Patch (11.80 KB, patch)
2013-12-11 06:01 PST, Thiago de Barros Lacerda
no flags Details | Formatted Diff | Diff
Patch (12.53 KB, patch)
2013-12-11 06:43 PST, Thiago de Barros Lacerda
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago de Barros Lacerda 2013-12-11 05:49:50 PST
The constraints parameter should be optional in both. Also adding tests to check if we already have a local SDP when creating an answer.
Comment 1 Thiago de Barros Lacerda 2013-12-11 06:01:27 PST
Created attachment 218954 [details]
Patch
Comment 2 Thiago de Barros Lacerda 2013-12-11 06:26:11 PST
In fact, the spec says that the check for local offer must be done when user is trying to set a description of type answer. I will modify this patch.
Comment 3 Thiago de Barros Lacerda 2013-12-11 06:28:08 PST
(In reply to comment #2)
> In fact, the spec says that the check for local offer must be done when user is trying to set a description of type answer. I will modify this patch.

Other patch for that would be better, since it will require to add some state tracking in RTCPeerConnectionHandlerMock
Comment 4 Thiago de Barros Lacerda 2013-12-11 06:43:20 PST
Created attachment 218959 [details]
Patch
Comment 5 WebKit Commit Bot 2013-12-11 08:40:04 PST
Comment on attachment 218959 [details]
Patch

Clearing flags on attachment: 218959

Committed r160436: <http://trac.webkit.org/changeset/160436>
Comment 6 WebKit Commit Bot 2013-12-11 08:40:07 PST
All reviewed patches have been landed.  Closing bug.