Index: chrome/browser/usb/web_usb_detector_unittest.cc |
diff --git a/chrome/browser/usb/web_usb_detector_unittest.cc b/chrome/browser/usb/web_usb_detector_unittest.cc |
index 70b5f4c6ea4386c2164861360ad86c6d28f41a97..dd410a289278e9dd92a7b055d1422952b548b174 100644 |
--- a/chrome/browser/usb/web_usb_detector_unittest.cc |
+++ b/chrome/browser/usb/web_usb_detector_unittest.cc |
@@ -17,6 +17,10 @@ |
#include "ui/message_center/notification_delegate.h" |
#include "url/gurl.h" |
+// These tests are disabled because WebUsbDetector::Initialize is a noop on |
+// Windows due to jank and hangs caused by enumerating devices. |
+// https://crbug.com/656702 |
+#if !defined(OS_WIN) |
namespace { |
// USB device product name. |
@@ -399,3 +403,4 @@ TEST_F(WebUsbDetectorTest, ThreeUsbDeviceAddedAndRemovedDifferentOrder) { |
device_client_.usb_service()->RemoveDevice(device_3); |
EXPECT_EQ(nullptr, message_center_->FindVisibleNotificationById(guid_3)); |
} |
+#endif // !OS_WIN |