to run this test more accurately!";

    // Use real spell checker as a last resort. content_shell only has intenals,
    // while chrome only has real spell checker. Some words in the test input
    // might be in the dictionary (e.g. sit, do).
    main.spellcheck = !window.internals;

    main.focus();

    // Type the initial words in bulk. This is much faster than typing it one
    // letter at a time with simulateTyping.
    const wordsInSentence = LOREM_IPSUM.split(" ").length - 1;
    const repeatedS