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

Quelle  test_bug351633-3.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/dom/jsurl/test/test_bug351633-3.html


<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=351633
-->

<head>
  <title>Test for Bug 351633</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>        
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=351633">Mozilla Bug 351633</a>
<pre id="test">
<script class="testbody" type="text/javascript">
// String concatenation used to avoid incorrect detection of end of script elements.
/* eslint-disable no-useless-concat */

var passJSUrl;
var passJSUrl2;
var finishTest;

/** Test for Bug 351633 **/
function runTests() {
  $("testframe1").onload = test1;
  // test2 will be called as finishTest
  $("testframe3").onload = test3;
  $("testframe4").onload = test4;
  $("testframe5").onload = test5;
  passJSUrl = false;
  window.testframe1.location.href =
    'javascript:"