author JW Wang <jwwang@mozilla.com>
Mon, 09 Jan 2017 13:06:55 +0800
changeset 458396 06f59c551e95e929c9e8c667b4082fecfeee8f3b
parent 132293 8a53b2daa50e60c1b736af2ca43012cd152f40cb
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>
  <script type="text/javascript">
    function doTest()
      var editor = document.getElementById("editor");
      editor.selectionStart = 2;
      editor.selectionEnd = 4;
<body onload="doTest()">
<p>normal text</p>
<textarea id="editor">textarea</textarea>