Revert "Bug 1950748 part 3: Don't return a caret inside an editor when no editor is focused. r=morgan" as requested for causing accessibility crashes (bug 1977012).
This reverts commit aaf970807d281c28c1e937491719d996cb11648a.
This reverts commit f5f2e3cf4d34c2430372ba790d77620837d56b75.
This reverts commit 5565c5899c32c0b0f5446561a21c5b6499fd44c6.
<!DOCTYPE HTML><html><head><title>Test for BroadcastChannel in data: URL</title><scriptsrc="/tests/SimpleTest/SimpleTest.js"></script><linkrel="stylesheet"type="text/css"href="/tests/SimpleTest/test.css"/></head><body><divid="dataURL">var a = new BroadcastChannel('a');var b = new BroadcastChannel('a');a.onmessage = function(e) { parent.postMessage(e.data, "*"); };b.postMessage(42);</div><script>SimpleTest.waitForExplicitFinish();onmessage=function(e){is(e.data,42,"BroadcastChannel works with data URLs");SimpleTest.finish();};// eslint-disable-next-line no-useless-concatvarurl="data:text/html,<script>"+document.getElementById("dataURL").textContent+"</"+"script>";varifr=document.createElement("iframe");document.body.appendChild(ifr);ifr.setAttribute("sandbox","allow-scripts");ifr.src=url;</script></body></html>