mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
20
devtools/shared/tests/unit/test_require.js
Normal file
20
devtools/shared/tests/unit/test_require.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
// Test require
|
||||
|
||||
// Ensure that DevtoolsLoader.require doesn't spawn multiple
|
||||
// loader/modules when early cached
|
||||
function testBug1091706() {
|
||||
let loader = new DevToolsLoader();
|
||||
let require = loader.require;
|
||||
|
||||
let indent1 = require("devtools/shared/indentation");
|
||||
let indent2 = require("devtools/shared/indentation");
|
||||
|
||||
do_check_true(indent1 === indent2);
|
||||
}
|
||||
|
||||
function run_test() {
|
||||
testBug1091706();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue