RESOLVED FIXED 61537
Media Stream PeerConnection API: adding StreamEvent class
https://bugs.webkit.org/show_bug.cgi?id=61537
Summary Media Stream PeerConnection API: adding StreamEvent class
Tommy Widenflycht
Reported 2011-05-26 09:08:03 PDT
This patch introduces the StreamEvent class according to the lastest specification.
Attachments
Patch (25.50 KB, patch)
2011-05-26 09:22 PDT, Tommy Widenflycht
no flags
Patch (25.54 KB, patch)
2011-05-30 05:57 PDT, Tommy Widenflycht
no flags
Patch (25.75 KB, patch)
2011-06-08 04:31 PDT, Tommy Widenflycht
no flags
Tommy Widenflycht
Comment 1 2011-05-26 09:22:52 PDT
Leandro Graciá Gil
Comment 2 2011-05-26 11:35:27 PDT
(In reply to comment #1) > Created an attachment (id=94987) [details] > Patch View in context: https://bugs.webkit.org/attachment.cgi?id=94987&action=review > Source/WebCore/ChangeLog:8 > + No new tests. (OOPS!) Same as mentioned in bug 61539 review. > Source/WebCore/dom/StreamEvent.h:42 > + static PassRefPtr<StreamEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Stream>); Are you sure that canBubble and cancelable are required here? I'm not completely sure but it sounds to me like all stream events can't bubble and are not cancelable by definition. Take a look to dom/DeviceOrientationEvent.h/cpp for example.
Tommy Widenflycht
Comment 3 2011-05-30 05:50:08 PDT
(In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=94987) [details] [details] > > Patch > > View in context: https://bugs.webkit.org/attachment.cgi?id=94987&action=review > > > Source/WebCore/ChangeLog:8 > > + No new tests. (OOPS!) > > Same as mentioned in bug 61539 review. Done. > > Source/WebCore/dom/StreamEvent.h:42 > > + static PassRefPtr<StreamEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Stream>); > > Are you sure that canBubble and cancelable are required here? I'm not completely sure but it sounds to me like all stream events can't bubble and are not cancelable by definition. Take a look to dom/DeviceOrientationEvent.h/cpp for example. Just following the IDL in the specification, even though I agree that it could be simplified.
Tommy Widenflycht
Comment 4 2011-05-30 05:57:36 PDT
Tony Gentilcore
Comment 5 2011-06-07 06:52:01 PDT
Comment on attachment 95341 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=95341&action=review > Source/WebCore/dom/StreamEvent.idl:27 > + interface [ Might be nice to add a link to the spec here.
Tommy Widenflycht
Comment 6 2011-06-08 04:31:15 PDT
Tommy Widenflycht
Comment 7 2011-06-08 04:33:01 PDT
Comment on attachment 95341 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=95341&action=review >> Source/WebCore/dom/StreamEvent.idl:27 >> + interface [ > > Might be nice to add a link to the spec here. Done.
Tommy Widenflycht
Comment 8 2011-06-08 04:33:26 PDT
Rebased + fixed review comment.
WebKit Review Bot
Comment 9 2011-06-08 06:25:04 PDT
Comment on attachment 96404 [details] Patch Clearing flags on attachment: 96404 Committed r88343: <http://trac.webkit.org/changeset/88343>
WebKit Review Bot
Comment 10 2011-06-08 06:25:09 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.