Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test failed 26 times in the preceding 30 days. quicksearch this test
- Manifest: dom/events/test/browser.toml
/* 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
// Test that drag and drop events are sent at the right time. Includes tests for
// dragging between windows and iframes, all of the same origin.
// dom.events.dataTransfer.protected.enabled = true
"use strict";
// iframe domains
const INNER_BASE_1 = OUTER_BASE_1;
const INNER_BASE_2 = OUTER_BASE_2;
add_setup(async function () {
await SpecialPowers.pushPrefEnv({
set: [["dom.events.dataTransfer.protected.enabled", true]],
});
registerCleanupFunction(async function () {
SpecialPowers.popPrefEnv();
});
await setup();
});
Services.scriptloader.loadSubScript(
this
);
runTest = runDnd;