Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1428)

Unified Diff: content/browser/renderer_host/media/audio_renderer_host_unittest.cc

Issue 2561343002: Revert making trying to authorize a nonsense device id a bad_message. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_renderer_host_unittest.cc
diff --git a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
index 04b7209b10fd07ec065651ff22dc1b44a9331a7c..88dc9d37dd9ac1334d7cd4d5990af6c2fab6b674 100644
--- a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
+++ b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
@@ -609,9 +609,8 @@ TEST_F(AudioRendererHostTest, CreateDeviceWithBadSecurityOrigin) {
}
TEST_F(AudioRendererHostTest, CreateInvalidDevice) {
- Create(kInvalidDeviceId, url::Origin(GURL(kSecurityOrigin)), true, false);
+ Create(kInvalidDeviceId, url::Origin(GURL(kSecurityOrigin)), true, true);
Close();
- AssertBadMsgReported();
}
TEST_F(AudioRendererHostTest, CreateFailsForInvalidRenderFrame) {
« no previous file with comments | « content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698