| Summary: | Fix FIXME's in JSTrackCustom now that AudioTrack and VideoTrack exist. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brendan Long <b.long> | ||||
| Component: | Media | Assignee: | Brendan Long <b.long> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, eric.carlson, jer.noble, pnormand | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Brendan Long
2014-09-04 15:45:51 PDT
Created attachment 237652 [details]
Patch
I saw this FIXME while I was working on another patch. I'm not really sure how this code is used though. Is there some way I could test this? (In reply to comment #2) > I saw this FIXME while I was working on another patch. I'm not really sure how this code is used though. Is there some way I could test this? I think toTrack() is only used by JSDictionary::convertValue() currently, and I believe that is only used when MediaStream is enabled so you can't test it at the moment. (In reply to comment #3) > (In reply to comment #2) > > I saw this FIXME while I was working on another patch. I'm not really sure how this code is used though. Is there some way I could test this? > > I think toTrack() is only used by JSDictionary::convertValue() currently, and I believe that is only used when MediaStream is enabled so you can't test it at the moment. Scratch that, it can also be used for a TrackEvent. But I am still not sure how you would test it. Sorry, got distracted by some other stuff. Do you think we should apply this fix, or should we wait until we have some way to test it? (In reply to comment #5) > Sorry, got distracted by some other stuff. Do you think we should apply this fix, or should we wait until we have some way to test it? Why don't you land it, the new code is obviously better than what we have now. Comment on attachment 237652 [details] Patch Clearing flags on attachment: 237652 Committed r173513: <http://trac.webkit.org/changeset/173513> All reviewed patches have been landed. Closing bug. |