author Brian Grinstead <>
Tue, 16 Apr 2019 03:50:44 +0000
changeset 469640 c9c0c6f2eed54a187e124942e53c3660b4cf17d8
parent 465755 b338bce4319eb9fc5fcb86ab2c89f1b6992e9050
permissions -rw-r--r--
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky This excludes dom/, otherwise the file size is too large for phabricator to handle. This is an autogenerated commit to handle scripts loading mochitest harness files, in the simple case where the script src is on the same line as the tag. This was generated with using the `--part 2` argument. Differential Revision:

  <title>Test for Bug 384014</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<a target="_blank" href="">Mozilla Bug 384014</a>
<p id="display">
<iframe id="f" src="javascript:try { window.x = 'PASS'; s = 'PASS' } catch(e) { s = 'FAIL' } s;"></iframe>
<div id="content" style="display: none">
<pre id="test">
<script class="testbody" type="text/javascript">

/** Test for Bug 384014 **/

function runTest() {
  $("f").onload = function() {
    is($("f").contentDocument.documentElement.textContent, "PASS",
      "We fail");