Created attachment 263771[details]
Archive of layout-test-results from ews107 for mac-mavericks-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Created attachment 263773[details]
Archive of layout-test-results from ews100 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews100 Port: mac-mavericks Platform: Mac OS X 10.9.5
Created attachment 263775[details]
Archive of layout-test-results from ews112 for mac-yosemite
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews112 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 263783[details]
Archive of layout-test-results from ews101 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Created attachment 263784[details]
Archive of layout-test-results from ews104 for mac-mavericks-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Created attachment 263785[details]
Archive of layout-test-results from ews115 for mac-yosemite
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews115 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 263794[details]
Archive of layout-test-results from ews103 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Created attachment 263796[details]
Archive of layout-test-results from ews100 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews100 Port: mac-mavericks Platform: Mac OS X 10.9.5
Comment on attachment 263797[details]
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=263797&action=review> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:1
> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE html>
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:9
> +<div id="description"></div>
Not needed.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:10
> +<div id="console"></div>
Not needed.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:15
> +function runTest()
You don't really need a function.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:17
> + if (window.testRunner) {
This whole if block is not needed.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:22
> + window.jsTestIsAsync = true;
I don't see why this test needs to be async.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:25
> + var conv = context.createConvolver();
No abbreviations in variable names please.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:27
> + try {
shouldThrow("conv.buffer = context.createBuffer(1, 256, 22050)", "'Error: NOT_SUPPORTED_ERR'"); (or similar).
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:37
> + try {
Could use shouldThrow() as well.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:44
> + finishJSTest();
Not needed.
> LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:48
> +successfullyParsed = true;
Should not be needed.
(In reply to comment #28)
> Comment on attachment 263797[details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=263797&action=review
>
> > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:27
> > + try {
>
> shouldThrow("conv.buffer = context.createBuffer(1, 256, 22050)", "'Error:
> NOT_SUPPORTED_ERR'"); (or similar).
>
> > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:37
> > + try {
>
> Could use shouldThrow()
I used shouldThrow() and shouldNotThrow() at first, but it made an error on Mavericks and Yosemite. That's because why I use try-catch. Rest of comments will be applied in next patch attachment. Thanks.
(In reply to comment #30)
> (In reply to comment #28)
> > Comment on attachment 263797[details]
> > Patch
> >
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=263797&action=review
> >
> > > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:27
> > > + try {
> >
> > shouldThrow("conv.buffer = context.createBuffer(1, 256, 22050)", "'Error:
> > NOT_SUPPORTED_ERR'"); (or similar).
> >
> > > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:37
> > > + try {
> >
> > Could use shouldThrow()
>
> I used shouldThrow() and shouldNotThrow() at first, but it made an error on
> Mavericks and Yosemite. That's because why I use try-catch. Rest of comments
> will be applied in next patch attachment. Thanks.
There is no reason for shouldThrow() to behave different on one platform vs another.
(In reply to comment #31)
> (In reply to comment #30)
> > (In reply to comment #28)
> > > Comment on attachment 263797[details]
> > > Patch
> > >
> > > View in context:
> > > https://bugs.webkit.org/attachment.cgi?id=263797&action=review
> > >
> > > > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:27
> > > > + try {
> > >
> > > shouldThrow("conv.buffer = context.createBuffer(1, 256, 22050)", "'Error:
> > > NOT_SUPPORTED_ERR'"); (or similar).
> > >
> > > > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:37
> > > > + try {
> > >
> > > Could use shouldThrow()
> >
> > I used shouldThrow() and shouldNotThrow() at first, but it made an error on
> > Mavericks and Yosemite. That's because why I use try-catch. Rest of comments
> > will be applied in next patch attachment. Thanks.
>
> There is no reason for shouldThrow() to behave different on one platform vs
> another.
I looked at your previous diffs and saw the following error:
+PASS conv.buffer = context.createBuffer(1, 100, 22050) threw exception ReferenceError: Can't find variable: conv.
The issue was that the 'conv' variable was in the runTest() function scope, which is not compatible with should*() functions. Once you get rid of the runTest() function as I suggested, you WILL be able to use shouldThrow() again (please do).
Note that alternatively, you could have declared 'conv' at global level by omitting the 'var'.
(In reply to comment #32)
> (In reply to comment #31)
> > (In reply to comment #30)
> > > (In reply to comment #28)
> > > > Comment on attachment 263797[details]
> > > > Patch
> > > >
> > > > View in context:
> > > > https://bugs.webkit.org/attachment.cgi?id=263797&action=review
> > > >
> > > > > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:27
> > > > > + try {
> > > >
> > > > shouldThrow("conv.buffer = context.createBuffer(1, 256, 22050)", "'Error:
> > > > NOT_SUPPORTED_ERR'"); (or similar).
> > > >
> > > > > LayoutTests/webaudio/convolver-setBuffer-different-samplerate.html:37
> > > > > + try {
> > > >
> > > > Could use shouldThrow()
> > >
> > > I used shouldThrow() and shouldNotThrow() at first, but it made an error on
> > > Mavericks and Yosemite. That's because why I use try-catch. Rest of comments
> > > will be applied in next patch attachment. Thanks.
> >
> > There is no reason for shouldThrow() to behave different on one platform vs
> > another.
>
> I looked at your previous diffs and saw the following error:
> +PASS conv.buffer = context.createBuffer(1, 100, 22050) threw exception
> ReferenceError: Can't find variable: conv.
>
> The issue was that the 'conv' variable was in the runTest() function scope,
> which is not compatible with should*() functions. Once you get rid of the
> runTest() function as I suggested, you WILL be able to use shouldThrow()
> again (please do).
>
> Note that alternatively, you could have declared 'conv' at global level by
> omitting the 'var'.
Ok, i will try. Thanks a lot.
Created attachment 263897[details]
Archive of layout-test-results from ews101 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
(In reply to comment #43)
> How do you generate your test expectations?
>
> The diff looks like so:
> http://pastebin.com/dn0d7FD5
We usually do:
Tools/Scripts/run-webkit-tests --reset-results webaudio/convolver-setBuffer-different-samplerate.html
Created attachment 263898[details]
Archive of layout-test-results from ews107 for mac-mavericks-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Created attachment 263901[details]
Archive of layout-test-results from ews112 for mac-yosemite
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews112 Port: mac-yosemite Platform: Mac OS X 10.10.5
2015-10-21 00:06 PDT, Hyemi Shin
2015-10-21 17:19 PDT, Hyemi Shin
2015-10-21 17:42 PDT, Build Bot
2015-10-21 17:55 PDT, Build Bot
2015-10-21 18:08 PDT, Build Bot
2015-10-21 19:06 PDT, Hyemi Shin
2015-10-21 19:39 PDT, Build Bot
2015-10-21 19:45 PDT, Build Bot
2015-10-21 20:06 PDT, Build Bot
2015-10-21 21:46 PDT, Hyemi Shin
2015-10-21 22:21 PDT, Build Bot
2015-10-21 22:23 PDT, Hyemi Shin
2015-10-21 22:56 PDT, Build Bot
2015-10-21 23:01 PDT, Hyemi Shin
2015-10-22 21:01 PDT, Hyemi Shin
2015-10-22 21:25 PDT, Hyemi Shin
2015-10-22 21:31 PDT, Hyemi Shin
2015-10-22 21:49 PDT, Build Bot
2015-10-22 21:59 PDT, Build Bot
2015-10-22 22:26 PDT, Build Bot
2015-10-22 23:19 PDT, Hyemi Shin