Closed Bug 1769667 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 28065 - [WPT] Add more type/language tests for script elements

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 28065 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/28065
Details from upstream follow.

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:

[WPT] Add more type/language tests for script elements

  • Parser-inserted script elements
  • XHTML and SVG Documents

Current browsers' deviating behaviors exposed by this CL:

  • Safari/Chrome: Accepts legacy type attributes in
    parser-inserted scripts in XHTML/SVG.
    (https://crbug.com/1187745 for Chrome)
  • Safari/Chrome: Accepts legacy language attributes,
    i.e. "javascript1.6" and "javascript1.7".
  • Firefox: Rejects type attributes
    with leading/trailing spaces in SVG.

and those covered before this CL:

  • Firefox: Rejects some language attributes in HTML/XHTML.
  • Firefox: Accepts type=" ".

Bug: 1187745
Change-Id: I27cfa69495aba7a16ec1ac7a503404dd9c323513
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757176
Commit-Queue: Hiroshige Hayashizaki \<hiroshige@chromium.org>
Reviewed-by: Domenic Denicola \<domenic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1004004}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 456 subtests

Status Summary

Firefox

OK : 3
PASS: 1190
FAIL: 178

Chrome

OK : 3
PASS: 1340
FAIL: 28

Safari

OK : 3
PASS: 1340
FAIL: 28

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /html/semantics/scripting-1/the-script-element/script-type-and-language-js-svg.svg [wpt.fyi]
    • Script should run with type="application/ecmascript ": FAIL
    • Script should run with type="application/javascript ": FAIL
    • Script should run with type="application/x-ecmascript ": FAIL
    • Script should run with type="application/x-javascript ": FAIL
    • Script should run with type=" application/ecmascript": FAIL
    • Script should run with type=" application/javascript": FAIL
    • Script should run with type=" application/x-ecmascript": FAIL
    • Script should run with type=" application/x-javascript": FAIL
    • Script should run with type="application/ecmascript\t": FAIL
    • Script should run with type="application/javascript\t": FAIL
    • Script should run with type="application/x-ecmascript\t": FAIL
    • Script should run with type="application/x-javascript\t": FAIL
    • Script should run with type="\tapplication/ecmascript": FAIL
    • Script should run with type="\tapplication/javascript": FAIL
    • Script should run with type="\tapplication/x-ecmascript": FAIL
    • Script should run with type="\tapplication/x-javascript": FAIL
    • Script should run with type="application/ecmascript\n": FAIL
    • Script should run with type="application/javascript\n": FAIL
    • Script should run with type="application/x-ecmascript\n": FAIL
    • Script should run with type="application/x-javascript\n": FAIL
    • Script should run with type="\napplication/ecmascript": FAIL
    • Script should run with type="\napplication/javascript": FAIL
    • Script should run with type="\napplication/x-ecmascript": FAIL
    • Script should run with type="\napplication/x-javascript": FAIL
    • Script should run with type="application/ecmascript\r": FAIL
    • Script should run with type="application/javascript\r": FAIL
    • Script should run with type="application/x-ecmascript\r": FAIL
    • Script should run with type="application/x-javascript\r": FAIL
    • Script should run with type="\rapplication/ecmascript": FAIL
    • Script should run with type="\rapplication/javascript": FAIL
    • Script should run with type="\rapplication/x-ecmascript": FAIL
    • Script should run with type="\rapplication/x-javascript": FAIL
    • Script should run with type="application/ecmascript\f": FAIL
    • Script should run with type="application/javascript\f": FAIL
    • Script should run with type="application/x-ecmascript\f": FAIL
    • Script should run with type="application/x-javascript\f": FAIL
    • Script should run with type="\fapplication/ecmascript": FAIL
    • Script should run with type="\fapplication/javascript": FAIL
    • Script should run with type="\fapplication/x-ecmascript": FAIL
    • Script should run with type="\fapplication/x-javascript": FAIL
    • Script should run with type="text/ecmascript ": FAIL
    • Script should run with type="text/javascript ": FAIL
    • Script should run with type="text/javascript1.0 ": FAIL
    • Script should run with type="text/javascript1.1 ": FAIL
    • Script should run with type="text/javascript1.2 ": FAIL
    • Script should run with type="text/javascript1.3 ": FAIL
    • Script should run with type="text/javascript1.4 ": FAIL
    • Script should run with type="text/javascript1.5 ": FAIL
    • Script should run with type="text/jscript ": FAIL
    • Script should run with type="text/livescript ": FAIL
    • Script should run with type="text/x-ecmascript ": FAIL
    • Script should run with type="text/x-javascript ": FAIL
    • Script should run with type=" text/ecmascript": FAIL
    • Script should run with type=" text/javascript": FAIL
    • Script should run with type=" text/javascript1.0": FAIL
    • Script should run with type=" text/javascript1.1": FAIL
    • Script should run with type=" text/javascript1.2": FAIL
    • Script should run with type=" text/javascript1.3": FAIL
    • Script should run with type=" text/javascript1.4": FAIL
    • Script should run with type=" text/javascript1.5": FAIL
    • Script should run with type=" text/jscript": FAIL
    • Script should run with type=" text/livescript": FAIL
    • Script should run with type=" text/x-ecmascript": FAIL
    • Script should run with type=" text/x-javascript": FAIL
    • Script should run with type="text/ecmascript\t": FAIL
    • Script should run with type="text/javascript\t": FAIL
    • Script should run with type="text/javascript1.0\t": FAIL
    • Script should run with type="text/javascript1.1\t": FAIL
    • Script should run with type="text/javascript1.2\t": FAIL
    • Script should run with type="text/javascript1.3\t": FAIL
    • Script should run with type="text/javascript1.4\t": FAIL
    • Script should run with type="text/javascript1.5\t": FAIL
    • Script should run with type="text/jscript\t": FAIL
    • Script should run with type="text/livescript\t": FAIL
    • Script should run with type="text/x-ecmascript\t": FAIL
    • Script should run with type="text/x-javascript\t": FAIL
    • Script should run with type="\ttext/ecmascript": FAIL
    • Script should run with type="\ttext/javascript": FAIL
    • Script should run with type="\ttext/javascript1.0": FAIL
    • Script should run with type="\ttext/javascript1.1": FAIL
    • Script should run with type="\ttext/javascript1.2": FAIL
    • Script should run with type="\ttext/javascript1.3": FAIL
    • Script should run with type="\ttext/javascript1.4": FAIL
    • Script should run with type="\ttext/javascript1.5": FAIL
    • Script should run with type="\ttext/jscript": FAIL
    • Script should run with type="\ttext/livescript": FAIL
    • Script should run with type="\ttext/x-ecmascript": FAIL
    • Script should run with type="\ttext/x-javascript": FAIL
    • Script should run with type="text/ecmascript\n": FAIL
    • Script should run with type="text/javascript\n": FAIL
    • Script should run with type="text/javascript1.0\n": FAIL
    • Script should run with type="text/javascript1.1\n": FAIL
    • Script should run with type="text/javascript1.2\n": FAIL
    • Script should run with type="text/javascript1.3\n": FAIL
    • Script should run with type="text/javascript1.4\n": FAIL
    • Script should run with type="text/javascript1.5\n": FAIL
    • Script should run with type="text/jscript\n": FAIL
    • Script should run with type="text/livescript\n": FAIL
    • Script should run with type="text/x-ecmascript\n": FAIL
    • Script should run with type="text/x-javascript\n": FAIL
    • Script should run with type="\ntext/ecmascript": FAIL
    • Script should run with type="\ntext/javascript": FAIL
    • Script should run with type="\ntext/javascript1.0": FAIL
    • Script should run with type="\ntext/javascript1.1": FAIL
    • Script should run with type="\ntext/javascript1.2": FAIL
    • Script should run with type="\ntext/javascript1.3": FAIL
    • Script should run with type="\ntext/javascript1.4": FAIL
    • Script should run with type="\ntext/javascript1.5": FAIL
    • Script should run with type="\ntext/jscript": FAIL
    • Script should run with type="\ntext/livescript": FAIL
    • Script should run with type="\ntext/x-ecmascript": FAIL
    • Script should run with type="\ntext/x-javascript": FAIL
    • Script should run with type="text/ecmascript\r": FAIL
    • Script should run with type="text/javascript\r": FAIL
    • Script should run with type="text/javascript1.0\r": FAIL
    • Script should run with type="text/javascript1.1\r": FAIL
    • Script should run with type="text/javascript1.2\r": FAIL
    • Script should run with type="text/javascript1.3\r": FAIL
    • Script should run with type="text/javascript1.4\r": FAIL
    • Script should run with type="text/javascript1.5\r": FAIL
    • Script should run with type="text/jscript\r": FAIL
    • Script should run with type="text/livescript\r": FAIL
    • Script should run with type="text/x-ecmascript\r": FAIL
    • Script should run with type="text/x-javascript\r": FAIL
    • Script should run with type="\rtext/ecmascript": FAIL
    • Script should run with type="\rtext/javascript": FAIL
    • Script should run with type="\rtext/javascript1.0": FAIL
    • Script should run with type="\rtext/javascript1.1": FAIL
    • Script should run with type="\rtext/javascript1.2": FAIL
    • Script should run with type="\rtext/javascript1.3": FAIL
    • Script should run with type="\rtext/javascript1.4": FAIL
    • Script should run with type="\rtext/javascript1.5": FAIL
    • Script should run with type="\rtext/jscript": FAIL
    • Script should run with type="\rtext/livescript": FAIL
    • Script should run with type="\rtext/x-ecmascript": FAIL
    • Script should run with type="\rtext/x-javascript": FAIL
    • Script should run with type="text/ecmascript\f": FAIL
    • Script should run with type="text/javascript\f": FAIL
    • Script should run with type="text/javascript1.0\f": FAIL
    • Script should run with type="text/javascript1.1\f": FAIL
    • Script should run with type="text/javascript1.2\f": FAIL
    • Script should run with type="text/javascript1.3\f": FAIL
    • Script should run with type="text/javascript1.4\f": FAIL
    • Script should run with type="text/javascript1.5\f": FAIL
    • Script should run with type="text/jscript\f": FAIL
    • Script should run with type="text/livescript\f": FAIL
    • Script should run with type="text/x-ecmascript\f": FAIL
    • Script should run with type="text/x-javascript\f": FAIL
    • Script should run with type="\ftext/ecmascript": FAIL
    • Script should run with type="\ftext/javascript": FAIL
    • Script should run with type="\ftext/javascript1.0": FAIL
    • Script should run with type="\ftext/javascript1.1": FAIL
    • Script should run with type="\ftext/javascript1.2": FAIL
    • Script should run with type="\ftext/javascript1.3": FAIL
    • Script should run with type="\ftext/javascript1.4": FAIL
    • Script should run with type="\ftext/javascript1.5": FAIL
    • Script should run with type="\ftext/jscript": FAIL
    • Script should run with type="\ftext/livescript": FAIL
    • Script should run with type="\ftext/x-ecmascript": FAIL
    • Script should run with type="\ftext/x-javascript": FAIL
  • /html/semantics/scripting-1/the-script-element/script-type-and-language-js-xhtml.xhtml [wpt.fyi]
    • Script shouldn't run with type=" ": FAIL
    • Script should run with language="ecmascript": FAIL
    • Script should run with language="jscript": FAIL
    • Script should run with language="x-ecmascript": FAIL
    • Script should run with language="x-javascript": FAIL
    • Script should run with language="ECMASCRIPT": FAIL
    • Script should run with language="JSCRIPT": FAIL
    • Script should run with language="X-ECMASCRIPT": FAIL
    • Script should run with language="X-JAVASCRIPT": FAIL
  • /html/semantics/scripting-1/the-script-element/script-type-and-language-js.html [wpt.fyi]
    • Script shouldn't run with type=" ": FAIL
    • Script should run with language="ecmascript": FAIL
    • Script should run with language="jscript": FAIL
    • Script should run with language="x-ecmascript": FAIL
    • Script should run with language="x-javascript": FAIL
    • Script should run with language="ECMASCRIPT": FAIL
    • Script should run with language="JSCRIPT": FAIL
    • Script should run with language="X-ECMASCRIPT": FAIL
    • Script should run with language="X-JAVASCRIPT": FAIL

New Tests That Don't Pass

  • /html/semantics/scripting-1/the-script-element/script-type-and-language-js-svg.svg [wpt.fyi]
    • Script should run with type="application/ecmascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/javascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-ecmascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-javascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" application/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" application/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" application/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" application/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/ecmascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/javascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-ecmascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-javascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\tapplication/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\tapplication/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\tapplication/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\tapplication/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/ecmascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/javascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-ecmascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-javascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\napplication/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\napplication/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\napplication/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\napplication/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/ecmascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/javascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-ecmascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-javascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rapplication/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rapplication/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rapplication/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rapplication/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/ecmascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/javascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-ecmascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="application/x-javascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\fapplication/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\fapplication/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\fapplication/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\fapplication/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/ecmascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.0 ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.1 ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.2 ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.3 ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.4 ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.5 ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/jscript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/livescript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-ecmascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-javascript ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/javascript1.0": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/javascript1.1": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/javascript1.2": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/javascript1.3": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/javascript1.4": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/javascript1.5": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/jscript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/livescript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type=" text/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/ecmascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.0\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.1\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.2\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.3\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.4\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.5\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/jscript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/livescript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-ecmascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-javascript\t": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/javascript1.0": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/javascript1.1": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/javascript1.2": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/javascript1.3": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/javascript1.4": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/javascript1.5": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/jscript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/livescript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ttext/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/ecmascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.0\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.1\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.2\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.3\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.4\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.5\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/jscript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/livescript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-ecmascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-javascript\n": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/javascript1.0": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/javascript1.1": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/javascript1.2": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/javascript1.3": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/javascript1.4": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/javascript1.5": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/jscript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/livescript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ntext/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/ecmascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.0\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.1\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.2\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.3\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.4\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.5\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/jscript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/livescript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-ecmascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-javascript\r": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/javascript1.0": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/javascript1.1": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/javascript1.2": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/javascript1.3": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/javascript1.4": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/javascript1.5": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/jscript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/livescript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\rtext/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/ecmascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.0\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.1\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.2\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.3\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.4\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/javascript1.5\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/jscript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/livescript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-ecmascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="text/x-javascript\f": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/javascript1.0": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/javascript1.1": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/javascript1.2": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/javascript1.3": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/javascript1.4": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/javascript1.5": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/jscript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/livescript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with type="\ftext/x-javascript": FAIL (Chrome: PASS, Safari: PASS)
  • /html/semantics/scripting-1/the-script-element/script-type-and-language-js-xhtml.xhtml [wpt.fyi]
    • Script shouldn't run with type=" ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="jscript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="ECMASCRIPT": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="JSCRIPT": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="X-ECMASCRIPT": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="X-JAVASCRIPT": FAIL (Chrome: PASS, Safari: PASS)
  • /html/semantics/scripting-1/the-script-element/script-type-and-language-js.html [wpt.fyi]
    • Script shouldn't run with type=" ": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="jscript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="x-ecmascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="x-javascript": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="ECMASCRIPT": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="JSCRIPT": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="X-ECMASCRIPT": FAIL (Chrome: PASS, Safari: PASS)
    • Script should run with language="X-JAVASCRIPT": FAIL (Chrome: PASS, Safari: PASS)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2bed98b78ebe
[wpt PR 28065] - [WPT] Add more type/language tests for script elements, a=testonly
https://hg.mozilla.org/integration/autoland/rev/0fdf115a7df3
[wpt PR 28065] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.