Closed Bug 1544322 Opened 7 months ago Closed 7 months ago

Stop using unnecessary type attributes on script tags loading mochitest harness files

Categories

(Testing :: Mochitest, task)

Version 3
task
Not set

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bgrins, Assigned: bgrins)

References

(Blocks 1 open bug)

Details

Attachments

(6 files)

Spinning this out of Bug 1542877 to land separately

Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Type: defect → task

Script used to generate the commits

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 https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the --part 1 argument.

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 https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the --part 2 argument.

This is split from the previous changeset since if we include dom/ 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 https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the --part 2 argument.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the --part 3 argument.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the --part 4 argument.

Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0dc10a2d3d79
Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
https://hg.mozilla.org/integration/autoland/rev/c9c0c6f2eed5
Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
https://hg.mozilla.org/integration/autoland/rev/ba6f655fd689
Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
https://hg.mozilla.org/integration/autoland/rev/0d9b9b96f547
Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
https://hg.mozilla.org/integration/autoland/rev/4c15baa5aa95
Part 4 - Remove the [type] attribute for multiline <script> tags loading files in /tests/SimpleTest/ r=bzbarsky
Blocks: 1544051
You need to log in before you can comment on or make changes to this bug.