| Summary: | [GTK] Enable skipped http/tests/media/hls/video-controls-live-stream.html | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lorenzo Tilve <ltilve> |
| Component: | WebKitGTK | Assignee: | Xabier Rodríguez Calvar <calvaris> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, buildbot, calvaris, commit-queue, eric.carlson, esprehn+autocc, glenn, gyuyoung.kim, jer.noble, macpherson, menard, philipj, pnormand, rniwa, sergio |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Attachments: | |||
|
Description
Lorenzo Tilve
2014-04-29 03:01:18 PDT
Created attachment 230483 [details]
Patch
Comment on attachment 230483 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230483&action=review > LayoutTests/platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt:11 > + > +EVENT(play) > +EXPECTED (video.duration == 'Infinity') OK > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-rewind-button") == 'null') OK > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-play-button") != 'null') OK > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-status-display") != 'null') OK > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-timeline") == 'null') OK > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-current-time-display") == 'null') OK > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-remaining-time-display") == 'null') OK > +END OF TEST > + You removed all the testExpected lines so aren't these results invalid now? Comment on attachment 230483 [details] Patch Attachment 230483 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/6241129603268608 New failing tests: http/tests/media/hls/video-controls-live-stream.html Created attachment 230489 [details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Comment on attachment 230483 [details] Patch Attachment 230483 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5933866770497536 New failing tests: http/tests/media/hls/video-controls-live-stream.html Created attachment 230494 [details]
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-03 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Yep, you can manually rebase the results from the mac EWS. That'd be great to do before landing the patch. Comment on attachment 230483 [details] Patch Attachment 230483 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5714767603826688 New failing tests: http/tests/media/hls/video-controls-live-stream.html Created attachment 230504 [details]
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-07 Port: mac-mountainlion Platform: Mac OS X 10.8.5
(In reply to comment #2) > (From update of attachment 230483 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=230483&action=review > > > LayoutTests/platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt:11 > > + > > +EVENT(play) > > +EXPECTED (video.duration == 'Infinity') OK > > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-rewind-button") == 'null') OK > > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-play-button") != 'null') OK > > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-status-display") != 'null') OK > > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-timeline") == 'null') OK > > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-current-time-display") == 'null') OK > > +EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-remaining-time-display") == 'null') OK > > +END OF TEST > > + > > You removed all the testExpected lines so aren't these results invalid now? Regarding this there are two things: the first is that I moved this file and that's why all these lines are going away in one side and coming in the other; you can see them in the platform/mac directory. The second is that I do need to get the new baseline for the test as Phil suggests because I was waiting for the failures to update it. Created attachment 230689 [details]
Patch
Comment on attachment 230689 [details]
Patch
The GTK+ bits look fine to me, but I think someone else should review the changes to the tests.
(In reply to comment #12) > (From update of attachment 230689 [details]) > The GTK+ bits look fine to me, but I think someone else should review the changes to the tests. Eric, Jer, would you have a moment for a review? Brent, you reviewed fix for bug 131390, would you have a minute for this? Comment on attachment 230689 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230689&action=review > Source/WebCore/Modules/mediacontrols/mediaControlsGtk.js:63 > + configureControls: function() { > + if (!this.controls.configured) { > + this.configureInlineControls(); > + this.controls.configured = true; > + this.addControls(); > + } > + }, Nit: you should use an early return here: if (this.controls.configured) return; Created attachment 230985 [details]
Patch
(In reply to comment #15) > Nit: you should use an early return here: > > if (this.controls.configured) > return; Done this. I also rebased the test because of the long time labels. I think that requires a new review. Comment on attachment 230985 [details]
Patch
Thank you!
Comment on attachment 230985 [details] Patch Clearing flags on attachment: 230985 Committed r168467: <http://trac.webkit.org/changeset/168467> All reviewed patches have been landed. Closing bug. |