mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
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.
22 lines
511 B
HTML
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>
|