author Chris H-C <chutten@mozilla.com>
Mon, 04 Jul 2016 11:16:05 -0400
changeset 312997 df28918fe2361f0b54ca9ce4773a29c4c0675d06
parent 167813 9009d48cb9c7bd1ed5e742e290979ae2f10667fe
permissions -rw-r--r--
bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche The JS histograms, too, need to dispatch their accumulations from child to parent. JSHistograms_Add now only supports histograms that are in gHistogramsMap or that were created in the parent process. After bug 1288745, maybe we'll be able to change this to be less convoluted. MozReview-Commit-ID: 3qTH89YKbGP

<!DOCTYPE html>
<html class="reftest-wait">
  <meta charset="utf-8">
  <title>Contenteditable Selection Test Case</title>
    function runTests() {
      var editable = document.getElementById("editable");
      var text = document.getElementById("text");


      setTimeout(function () {
        editable.setAttribute("contenteditable", "false");
        setTimeout(function () {
        }, 0);
      }, 0);
    document.addEventListener('MozReftestInvalidate', runTests, false);
    <div id="editable" contenteditable="true" tabindex="0" spellcheck="false">This is a contenteditable.</div>
    <div id="text" tabindex="0">This is focusable text</div>