Index: third_party/WebKit/LayoutTests/webaudio/audionode.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/audionode.html b/third_party/WebKit/LayoutTests/webaudio/audionode.html |
index 31686b7a24cffb133732081e8a5c290b6d663384..9723df1d0556aef0445007ce6ce907f209fb5330 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/audionode.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/audionode.html |
@@ -69,11 +69,7 @@ function runTest() { |
} |
// 3-arg AudioContext doesn't create an offline context anymore. |
- shouldNotThrow("context3 = new AudioContext(1, 44100, 44100)"); |
- if (context3 instanceof OfflineAudioContext) |
- testFailed("context3 should not be an OfflineAudioContext"); |
- else |
- testPassed("context3 is not an OfflineAudioContext"); |
+ shouldThrow("context3 = new AudioContext(1, 44100, 44100)"); |
// Ensure it is an EventTarget |
try { |