[Spice-devel] [spice-xpi 4/4] Set USB filter upon connection in test.html

Christophe Fergeau cfergeau at redhat.com
Tue Apr 3 06:07:05 PDT 2012


spice-xpi doesn't currently support changing properties after the
initial connection, so set the USB filter during initial connection
so that USB filters can be tested.
---
 data/test.html |    1 +
 1 file changed, 1 insertion(+)

diff --git a/data/test.html b/data/test.html
index 3384a56..67f9d5c 100644
--- a/data/test.html
+++ b/data/test.html
@@ -117,6 +117,7 @@ function setConnectVars()
 	if(document.getElementById("SmartcardToggled").checked == true) { embed.Smartcard = document.getElementById("Smartcard").checked; } else { embed.Smartcard = ""; }
 	if(document.getElementById("ColorDepthToggled").checked == true) { embed.ColorDepth = document.getElementById("ColorDepth").value; } else { embed.ColorDepth = ""; }
 	if(document.getElementById("DisableEffectsToggled").checked == true) { embed.DisableEffects = document.getElementById("DisableEffects").value; } else { embed.DisableEffects = ""; }
+	setUsbFilter()
 }
 
 function show()
-- 
1.7.9.3



More information about the Spice-devel mailing list