Files
firefox/testing/firefox-ui/resources/security/enable_privilege.html
T
Henrik Skupin e46478a1ad Bug 1239988 - Move resources for firefox-ui-tests out of tests folder. r=maja_zf
MozReview-Commit-ID: KtUiswz9gna

The resources folder should actually not be part of the tests folder. It contains test data for all tests and once tests are moved to other places the tests folder will not exist anymore.
2016-03-10 14:21:54 +01:00

22 lines
511 B
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>Test page for enablePrivilege</title>
<script>
function init() {
var result = document.getElementById("result");
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
result.textContent = "FAIL";
}
catch (ex) {
result.textContent = "PASS";
}
}
</script>
</head>
<body onload="init();">
<p id="result"></p>
</body>
</html>