Index: extensions/test/data/manifest_tests/usb_printers_invalid_filter.json |
diff --git a/extensions/test/data/manifest_tests/usb_printers_invalid_filter.json b/extensions/test/data/manifest_tests/usb_printers_invalid_filter.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e11777950f51bf8e8679834a168a4d00e736c410 |
--- /dev/null |
+++ b/extensions/test/data/manifest_tests/usb_printers_invalid_filter.json |
@@ -0,0 +1,16 @@ |
+{ |
+ "name": "extensions_unittests --gtest_filter=UsbPrinterManifestTest.InvalidFilter", |
+ "version": "1", |
+ "manifest_version": 2, |
+ "app": { |
+ "background": { |
+ "scripts": ["background.js"] |
+ } |
+ }, |
+ "usb_printers": { |
+ "filters": [ |
+ // Cannot specify both productId and interfaceClass. |
+ { "vendorId": 0, "productId": 0, "interfaceClass": 0 } |
+ ] |
+ } |
+} |