Bug 182612 - [GStreamer][WebAudio] Winamp2-js woes
Summary: [GStreamer][WebAudio] Winamp2-js woes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-08 12:03 PST by Philippe Normand
Modified: 2018-02-09 08:49 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.03 KB, patch)
2018-02-08 12:06 PST, Philippe Normand
no flags Details | Formatted Diff | Diff
Patch (136.25 KB, patch)
2018-02-09 04:23 PST, Philippe Normand
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews101 for mac-sierra (3.46 MB, application/zip)
2018-02-09 05:26 PST, EWS Watchlist
no flags Details
Archive of layout-test-results from ews104 for mac-sierra-wk2 (3.84 MB, application/zip)
2018-02-09 05:32 PST, EWS Watchlist
no flags Details
Patch (257.18 KB, patch)
2018-02-09 05:36 PST, Philippe Normand
clopez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>