Bug 860849 - Fix 'Illegal Value' error in marionette, r=jgriffin