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 class="reftest-wait">
  <script type="text/javascript">
    function init() {
      var editor = document.querySelector("div[contenteditable]");
      editor.addEventListener("focus", function() {
        setTimeout(function() {
          document.documentElement.className = "";
        }, 0);
      }, false);
  <style type="text/css">
    html, body, div {
      margin: 0;
      padding: 0;
    div {
      border: 1px solid black;
      margin: 50px;
      height: 200px;
      width: 200px;
<body onload="init()">
  <div contenteditable>
    this editable container should be neither draggable nor resizable.