Index: third_party/WebKit/LayoutTests/webaudio/doppler-deprecated.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/doppler-deprecated.html b/third_party/WebKit/LayoutTests/webaudio/doppler-deprecated.html |
index a7712cd59e7e3795e114b982cb503257da5b4349..84ee37232dad5ff8b6ebc0954b2bb34a6d844514 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/doppler-deprecated.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/doppler-deprecated.html |
@@ -7,15 +7,9 @@ var context = new AudioContext(); |
var listener = context.listener; |
var panner = context.createPanner(); |
-shouldBe("listener.dopplerFactor", "1"); |
-evalAndLog("listener.dopplerFactor = 2"); |
-shouldBe("listener.dopplerFactor", "2"); |
+shouldBeUndefined("listener.dopplerFactor"); |
+shouldBeUndefined("listener.speedOfSound"); |
hongchan
2016/09/29 20:58:28
Hmm. Is this necessary?
foolip
2016/09/29 21:13:05
My view is that this kind of test isn't very valua
|
-shouldBe("listener.speedOfSound", "343.3"); |
-evalAndLog("listener.speedOfSound = 400"); |
-shouldBe("listener.speedOfSound", "400"); |
- |
-evalAndLog("listener.setVelocity(0, 0, 0)"); |
- |
-evalAndLog("panner.setVelocity(0, 0, 0)"); |
+shouldThrow("listener.setVelocity(0, 0, 0)"); |
foolip
2016/09/29 21:13:05
Checking that the method doesn't exist would be mo
|
+shouldThrow("panner.setVelocity(0, 0, 0)"); |
</script> |