author JW Wang <jwwang@mozilla.com>
Mon, 09 Jan 2017 13:06:55 +0800
changeset 458396 06f59c551e95e929c9e8c667b4082fecfeee8f3b
parent 92949 42c372c2f7493b79f79c58150b5531d23e74ca61
child 462468 7b434711753b98a87603453caaa0945791ffe12b
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 lang="en-US" class="reftest-wait">
  <script type="text/javascript">
    function init() {
      var editor = document.querySelector("div[contenteditable]");
      editor.addEventListener("focus", function() {
        editor.textContent = "This is another misspellored word.";
        setTimeout(function() {
          document.documentElement.className = "";
        }, 0);
      }, false);
<body onload="init()">
  <div contenteditable spellcheck>This is a misspellored word.</div>