Summary: | [mediastream] Fix a bug in MediaStreamDescriptor::removeVideoComponent | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nick Diego Yamane (diegoyam) <nick.diego> | ||||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | buildbot, cdumez, commit-queue, eric.carlson, glenn, hta, jer.noble, rniwa, sergio, tommyw | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Nick Diego Yamane (diegoyam)
2013-07-06 17:37:48 PDT
Created attachment 206195 [details]
Patch
MediaStreamDescriptor::removeVideoComponent is currently trying to remove the videoComponent from the wrong vector.
Comment on attachment 206195 [details] Patch Attachment 206195 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/979474 New failing tests: editing/style/5065910.html Created attachment 206203 [details]
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-10 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.3
Comment on attachment 206195 [details]
Patch
Can this be covered by a layout test?
(In reply to comment #4) > (From update of attachment 206195 [details]) > Can this be covered by a layout test? Actually, it's supposed to be covered by layout test fast/mediastream/MediaStream-add-remove-tracks.html, but MEDIASTREAM is enabled only in blackberry port and we are currently working on mediastream support for Nix port. (In reply to comment #5) > (In reply to comment #4) > > (From update of attachment 206195 [details] [details]) > > Can this be covered by a layout test? > > Actually, it's supposed to be covered by layout test fast/mediastream/MediaStream-add-remove-tracks.html, but MEDIASTREAM is enabled only in blackberry port and we are currently working on mediastream support for Nix port. Sorry, the comment above is wrong :( I've just realized fast/mediastream/MediaStream-add-remove-tracks.html doens't test MediaStreamDescriptor logic, it tests only MediaStream's addTrack/removeTrack, checking the audioTrack/videoTrack vector's length. I don't know if it's possible to test MediaStreamDescriptor itself via Layout tests, since it's not directly exposed to javascript. Comment on attachment 206195 [details] Patch Clearing flags on attachment: 206195 Committed r152540: <http://trac.webkit.org/changeset/152540> All reviewed patches have been landed. Closing bug. |