;(function(window) {
  'use strict';

  /** `QUnit.addEvent` shortcut */
  var addEvent = QUnit.addEvent;

  /** The Lo-Dash build to load */
  var build = (/build=([^&]+)/.exec(location.search) || [])[1];

  /** A flag to determine if RequireJS should be loaded */
  var norequire = /[?&]norequire=true(?:&|$)/.test(location.search);

  /*--------------------------------------------------------------------------*/

  // assign `QUnit.config` properties
  QUnit.config.lodashFilename = (function() {
    switch (build) {
      case 'prod':         return 'lodash.min';
      case 'custom':       return 'lodash.custom.min';
      case 'custom-debug': return 'lodash.custom';
    }
    return 'lodash';
  }());

  // assign `QUnit.urlParams` properties
  QUnit.extend(QUnit.urlParams, {
    'build': build,
    'norequire': norequire
  });

  // initialize the build dropdown
  addEvent(window, 'load', function() {
    function eventHandler(event) {
      var search = location.search.replace(/^\?|&?(?:build|norequire)=[^&]*&?/g, '');
      if (event.stopPropagation) {
        event.stopPropagation();
      } else {
        event.cancelBubble = true;
      }
      location.href =
        location.href.split('?')[0] + '?' +
        (search ? search + '&' : '') + 'build=' +
        dropdown[dropdown.selectedIndex].value +
        (checkbox.checked ? '&norequire=true' : '');
    }

    function init() {
      var toolbar = document.getElementById('qunit-testrunner-toolbar');
      if (toolbar) {
        toolbar.appendChild(label1);
        toolbar.appendChild(label2);

        dropdown.selectedIndex = (function() {
          switch (build) {
            case 'prod':         return 1;
            case 'custom':       return 2;
            case 'custom-debug': return 3;
          }
          return 0;
        }());

        checkbox.checked = norequire;
        addEvent(checkbox, 'click', eventHandler);
        addEvent(dropdown, 'change', eventHandler);
      }
      else {
        setTimeout(init, 15);
      }
    }

    var label1 = document.createElement('label');
    label1.innerHTML =
      '<input name="norequire" type="checkbox">No RequireJS';

    var label2 = document.createElement('label');
    label2.innerHTML = '&nbsp;' +
      '<select name="build">' +
      '<option value="dev">Developement</option>' +
      '<option value="prod">Production</option>' +
      '<option value="custom">Custom</option>' +
      '<option value="custom-debug">Custom (debug)</option>' +
      '</select> Build';

    var checkbox = label1.firstChild,
        dropdown = label2.getElementsByTagName('select')[0];

    init();
  });

}(this));

@@ -1526,21 +1526,20 @@
 ndChild(
-label
+span
 1);%0A    
@@ -1562,21 +1562,20 @@
 ndChild(
-label
+span
 2);%0A%0A   
@@ -2036,21 +2036,20 @@
     var 
-label
+span
 1 = docu
@@ -2064,37 +2064,36 @@
 ateElement('
-label
+span
 ');%0A    
 label1.inner
@@ -2080,21 +2080,20 @@
 ');%0A    
-label
+span
 1.innerH
@@ -2112,22 +2112,26 @@
 '%3Cinput 
-name=%22
+id=%22qunit-
 norequir
@@ -2149,16 +2149,56 @@
 eckbox%22%3E
+' +%0A      '%3Clabel for=%22qunit-norequire%22%3E
 No Requi
@@ -2201,16 +2201,24 @@
 equireJS
+%3C/label%3E
 ';%0A%0A    
@@ -2221,21 +2221,20 @@
     var 
-label
+span
 2 = docu
@@ -2257,21 +2257,20 @@
 nt('
-label
+span
 ');%0A    
 labe
@@ -2269,34 +2269,114 @@
     
-label2.innerHTML = '&nbsp;
+span2.style.cssText = 'float:right';%0A    span2.innerHTML =%0A      '%3Clabel for=%22qunit-build%22%3EBuild: %3C/label%3E
 ' +%0A
@@ -2394,14 +2394,18 @@
 ect 
-name=%22
+id=%22qunit-
 buil
@@ -2646,14 +2646,8 @@
 ect%3E
- Build
 ';%0A%0A
@@ -2665,21 +2665,20 @@
 ckbox = 
-label
+span
 1.firstC
@@ -2706,48 +2706,23 @@
 n = 
-label2.getElementsByTagName('select')%5B0%5D
+span2.lastChild
 ;%0A%0A 

Tweak test/test-ui.js for QUnit v1.10.0.