<!DOCTYPE html> | |
<script src="../../resources/testharness.js"></script> | |
<script src="../../resources/testharnessreport.js"></script> | |
<b contenteditable>hello</b> | |
<script> | |
async_test(t => { | |
testRunner.findString('hello', []); | |
requestAnimationFrame(t.step_func(() => { | |
requestAnimationFrame(t.step_func_done(() => { | |
})); | |
})); | |
}, `Tests that using find-in-page on a <b contenteditable> element doens't crash`); | |
</script> |