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

Christophe Fergeau cfergeau at redhat.com
Wed Apr 4 01:03:44 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 ff7743b..675d2e6 100644
--- a/data/test.html
+++ b/data/test.html
@@ -116,6 +116,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