2 <p>Please run within DRT or enable continuous spell checking and unified text checker
</p>
6 testRunner
.dumpAsText();
7 if (window
.internals
) {
8 internals
.setContinuousSpellCheckingEnabled(true);
9 internals
.settings
.setUnifiedTextCheckerEnabled(true);
11 var input
= document
.querySelector('input');
12 var shadowRoot
= input
.createShadowRoot();
13 shadowRoot
.appendChild(document
.createElement('div'));
14 input
.contentEditable
= true;
15 // Focus to invoke spell checking.
17 document
.body
.textContent
= 'PASS if not crashed';