mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
24 lines
583 B
JavaScript
24 lines
583 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
"use strict";
|
|
|
|
const { BrowserLoader } = ChromeUtils.import(
|
|
"resource://devtools/client/shared/browser-loader.js"
|
|
);
|
|
|
|
const { require: browserRequire } = BrowserLoader({
|
|
baseURI: "resource://devtools/client/shared/",
|
|
window,
|
|
});
|
|
|
|
const variableFileContents = browserRequire(
|
|
"raw!devtools/client/themes/variables.css"
|
|
);
|
|
|
|
function test() {
|
|
ok(variableFileContents.length > 0, "raw browserRequire worked");
|
|
delete window.getBrowserLoaderForWindow;
|
|
finish();
|
|
}
|