code: function toolbarChanged() {
  	var updatedUrl, value,
  		field = this,
  		params = {};
  
  	// Detect if field is a select menu or a checkbox
  	if ( "selectedIndex" in field ) {
  		value = field.options[ field.selectedIndex ].value || undefined;
  	} else {
  		value = field.checked ? ( field.defaultValue || true ) : undefined;
  	}
  
  	params[ field.name ] = value;
  	updatedUrl = setUrl( params );
  
  	if ( "hidepassed" === field.name && "replaceState" in window.history ) {
  		config[ field.name ] = value || false;
  		if ( value ) {
  			addClass( id( "qunit-tests" ), "hidepass" );
  		} else {
  			removeClass( id( "qunit-tests" ), "hidepass" );
  		}
  
  		// It is not necessary to refresh the whole page
  		window.history.replaceState( null, "", updatedUrl );
  	} else {
  		window.location = updatedUrl;
  	}
  }
docs: Handle "click" events on toolbar checkboxes and "change" for select menus. Updates the URL with the new state of `config.urlConfig` values.