Index: LayoutTests/webaudio/audiocontext-suspend-resume.html |
diff --git a/LayoutTests/webaudio/audiocontext-suspend-resume.html b/LayoutTests/webaudio/audiocontext-suspend-resume.html |
index 99190ab92e38345c24e308359be7e9f3b2564470..8c16380b9a6cc867460b063fafd397231b770ddd 100644 |
--- a/LayoutTests/webaudio/audiocontext-suspend-resume.html |
+++ b/LayoutTests/webaudio/audiocontext-suspend-resume.html |
@@ -53,7 +53,7 @@ |
// that on an offline context. Thus, check that suspend() on an |
// OfflineAudioContext rejects the promise. |
shouldNotThrow("p1 = offlineContext.suspend()"); |
- shouldBeType(p1, Promise); |
+ shouldBeType("p1", "Promise"); |
p1.then( |
handlePromise(testFailed, "offlineContext.suspend() should have been rejected for an offline context"), |
function (e) { |
@@ -76,7 +76,7 @@ |
// that on an offline context. Thus, check that resume() on an |
// OfflineAudioContext rejects the promise. |
shouldNotThrow("p2 = offlineContext.resume()"); |
- shouldBeType(p2, Promise); |
+ shouldBeType("p2", "Promise"); |
// Resume doesn't actually resume an offline context |
shouldBeEqualToString("offlineContext.state", "suspended"); |