/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; // Check that the markup view selection is preserved even if the selection is // in an iframe. // We're loading an image that would take a few second to load so the iframe won't have // its readyState to "complete" (it should be "interactive"). // That was causing some issue, see Bug 1733539. const IMG_URL = URL_ROOT_COM_SSL + "sjs_slow-loading-image.sjs"; const FRAME_URI = "data:text/html;charset=utf-8," + encodeURI(`