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

Hans de Goede hdegoede at redhat.com
Tue Apr 3 11:55:29 PDT 2012


ACK

On 04/03/2012 03:07 PM, Christophe Fergeau wrote:
> 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()


More information about the Spice-devel mailing list