Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  file_insecure_reload.sjs   Sprache: unbekannt

 
Spracherkennung für: .sjs vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

// https://bugzilla.mozilla.org/show_bug.cgi?id=1702001

// An onload postmessage to window opener
const ON_LOAD = `
  <html>
  <body>
  send onload message...
  <script type="application/javascript">
    window.opener.postMessage({result: 'you entered the http page', historyLength: history.length}, '*');
  </script>
  </body>
  </html>`;

// When an https request is sent, cause a timeout so that the https-only error
// page is displayed.
function handleRequest(request, response) {
  response.setHeader("Cache-Control", "no-cache", false);
  if (request.scheme === "https") {
    // Simulating a timeout by processing the https request
    // async and *never* return anything!
    response.processAsync();
    return;
  }
  if (request.scheme === "http") {
    response.write(ON_LOAD);
  }
}

[ Dauer der Verarbeitung: 0.28 Sekunden  ]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge