code: function toolbarChanged() {
  		var updatedUrl, value, tests,
  			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 );
  
  	// Check if we can apply the change without a page refresh
  		if ( "hidepassed" === field.name && "replaceState" in window.history ) {
  			QUnit.urlParams[ field.name ] = value;
  			config[ field.name ] = value || false;
  			tests = id( "qunit-tests" );
  			if ( tests ) {
  				toggleClass( tests, "hidepass", value || false );
  			}
  			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.