Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/dom/security/test/general/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_bug1660452_https.html   Sprache: HTML

 
 products/sources/formale Sprachen/C/Firefox/dom/security/test/general/test_bug1660452_https.html


<!DOCTYPE HTML>
<html>
<head>
<title>Bug 1660452: NullPrincipals need to know whether they were spun off of a Secure Context</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>

<body>
<script class="testbody" type="text/javascript">

SimpleTest.waitForExplicitFinish();
ok(window.isSecureContext, "top level should be a secure context");

// eslint-disable-next-line
let newWin = window.open("data:text/html,