Bug 182612

Summary: [GStreamer][WebAudio] Winamp2-js woes
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: WebKitGTKAssignee: Philippe Normand <pnormand>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, calvaris, cgarcia, clopez, ews-watchlist, rniwa
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Archive of layout-test-results from ews101 for mac-sierra
none
Archive of layout-test-results from ews104 for mac-sierra-wk2
none
Patch clopez: review+

Description Philippe Normand 2018-02-08 12:03:51 PST
https://jordaneldredge.com/projects/winamp2-js/ doesn't behave well in wkgtk.
Comment 1 Philippe Normand 2018-02-08 12:06:12 PST
Created attachment 333405 [details]
Patch
Comment 2 Carlos Alberto Lopez Perez 2018-02-08 14:21:46 PST
Comment on attachment 333405 [details]
Patch

It will be nice to have also some test case, not sure how hard is to write it.
Comment 3 Philippe Normand 2018-02-09 04:23:53 PST
Created attachment 333476 [details]
Patch
Comment 4 Xabier Rodríguez Calvar 2018-02-09 04:57:57 PST
Comment on attachment 333476 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=333476&action=review

> LayoutTests/webaudio/silence-after-playback.html:13
> +         description("Test ensuring silence is outputed after <audio> playback ended.");

I think outputed does not exist, only output.

> LayoutTests/webaudio/silence-after-playback.html:17
> +         var context = 0;
> +         var sampleRate = 44100.0;
> +         var lengthInSeconds = 3;

I would recommend switching var to const instead of context, that would use let and leave it uninitialized until it is done in runTest.
Comment 5 Philippe Normand 2018-02-09 05:05:16 PST
(In reply to Xabier Rodríguez Calvar from comment #4)
> Comment on attachment 333476 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=333476&action=review
> 
> > LayoutTests/webaudio/silence-after-playback.html:13
> > +         description("Test ensuring silence is outputed after <audio> playback ended.");
> 
> I think outputed does not exist, only output.
> 

Ok

> > LayoutTests/webaudio/silence-after-playback.html:17
> > +         var context = 0;
> > +         var sampleRate = 44100.0;
> > +         var lengthInSeconds = 3;
> 
> I would recommend switching var to const instead of context, that would use
> let and leave it uninitialized until it is done in runTest.

I don't understand this comment. The var context = 0; comes from another webaudio test, I don't see what's wrong with it :)
Comment 6 EWS Watchlist 2018-02-09 05:26:19 PST
Comment on attachment 333476 [details]
Patch

Attachment 333476 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/6430867

New failing tests:
webaudio/silence-after-playback.html
Comment 7 EWS Watchlist 2018-02-09 05:26:21 PST
Created attachment 333478 [details]
Archive of layout-test-results from ews101 for mac-sierra

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101  Port: mac-sierra  Platform: Mac OS X 10.12.6
Comment 8 EWS Watchlist 2018-02-09 05:32:47 PST
Comment on attachment 333476 [details]
Patch

Attachment 333476 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/6430879

New failing tests:
webaudio/silence-after-playback.html
Comment 9 EWS Watchlist 2018-02-09 05:32:49 PST
Created attachment 333479 [details]
Archive of layout-test-results from ews104 for mac-sierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-sierra-wk2  Platform: Mac OS X 10.12.6
Comment 10 Philippe Normand 2018-02-09 05:36:53 PST
Created attachment 333480 [details]
Patch
Comment 11 Carlos Alberto Lopez Perez 2018-02-09 08:33:28 PST
Comment on attachment 333480 [details]
Patch

Thanks for the test!
Comment 12 Philippe Normand 2018-02-09 08:49:11 PST
Committed r228321: <https://trac.webkit.org/changeset/228321>