| Index: third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-max-contexts.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-max-contexts.html b/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-max-contexts.html
|
| index af8611f75cee27b9329c6bf56e973695a2d6d990..4ff30e0768957080b90de9788e14c2ceabf91cba 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-max-contexts.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-max-contexts.html
|
| @@ -19,17 +19,21 @@ function reachHardwareContextsLimit() {
|
| }
|
|
|
|
|
| -audit.define("test-limit", function (task, should) {
|
| - task.describe(
|
| - "Check that the AudioContext constructor throws when the limit on hardware contexts is reached."
|
| - );
|
| - should(function () {
|
| - reachHardwareContextsLimit();
|
| - }, "Create " + contextsToCreate + " concurrent AudioContext's")
|
| - .throw("NotSupportedError");
|
| +audit.define(
|
| + {
|
| + label: 'hardware-context-limit',
|
| + description: 'AudioContext throws when hardware context limit is reached'
|
| + },
|
| + function(task, should) {
|
| + should(
|
| + function() {
|
| + reachHardwareContextsLimit();
|
| + },
|
| + 'Create ' + contextsToCreate + ' concurrent AudioContext\'s')
|
| + .throw('NotSupportedError');
|
|
|
| - task.done();
|
| -});
|
| + task.done();
|
| + });
|
|
|
| audit.run();
|
| </script>
|
|
|