editor/reftests/spellcheck-contenteditable-ref.html
author JW Wang <jwwang@mozilla.com>
Mon, 09 Jan 2017 13:06:55 +0800
changeset 458396 06f59c551e95e929c9e8c667b4082fecfeee8f3b
parent 135392 67b02bc5a2a179b7772ff722d818e2a94f476246
permissions -rw-r--r--
Bug 1329110. Part 6 - remove StateObject::HandleWaitingForData(). Since DecodingState is the only one that overrides the function, we will let it just override HandleWaitingFor{Audio,Video}. We also reduce the code complexity because it is hard to trace the code when one virtual function calls another virtual function. MozReview-Commit-ID: AdLXpDgvOyx

<!DOCTYPE html>
<html>
<body>
  <div contenteditable spellcheck="true">blahblahblah</div>
  <script type="text/javascript">
    var box = document.getElementsByTagName("div")[0];
    box.focus(); //Bring the textbox into focus, triggering a spellcheck
    box.blur(); //Blur in order to make things similar to other tests otherwise
  </script>
</body>
</html>