             attributedString.addAttribute(UIAccessibilitySpeechAttributePitch, value: NSNumber(double: BrowserLocationViewUX.BaseURLPitch), range: nsRange)
             attributedString.pitchSubstring(baseDomain, withPitch: BrowserLocationViewUX.HostPitch)
             editTextField.attributedText = attributedString
+        } else {
+            // If we're unable to highlight the domain, just use the URL as is.
+            editTextField.text = url?.absoluteString
         }
     }
 

        }
    }

    private func highlightDomain() {
        if let httplessURL = url?.absoluteStringWithoutHTTPScheme(), let baseDomain = url?.baseDomain() {
            var attributedString = NSMutableAttributedString(string: httplessURL)
            let nsRange = NSMakeRange(0, count(httplessURL))
            attributedString.addAttribute(NSForegroundColorAttributeName, value: BrowserLocationViewUX.BaseURLFontColor, range: nsRange)

    var url: NSURL? {
        didSet {
            lockImageView.hidden = url?.scheme != "https"
            updateTextWithURL()
            setNeedsUpdateConstraints()
        }
    }
