html/semantics/scripting-1/the-script-element/
2,369 / 2,410 WPT subtests passing
- Failed
- 41
- Timed out
- 0
- Not run
- 0
- Test files
- 457
- Blocking files
- 0
Chrome 2,344 / 2,410 WPT subtests passing on the same files, 4 blocking
Tests
9 directories, 56 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
css- | 60 / 60 | 60 / 60 | 18 | none blocking |
execution- | 164 / 164 | 163 / 164 | 152 | none blocking |
fetch- | 8 / 8 | 4 / 8 | 7 | none blocking |
import- | 13 / 13 | 13 / 13 | 5 | none blocking |
json- | 410 / 410 | 410 / 410 | 17 | none blocking |
microtasks/ | 29 / 29 | 29 / 29 | 15 | none blocking |
module/ | 445 / 456 | 429 / 456 | 116 | none blocking |
moving- | 266 / 266 | 266 / 266 | 56 | none blocking |
text- | 364 / 394 | 364 / 394 | 15 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
async_001.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Async property on a dynamically-created script is true by default
async_002.htm 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Test 'async' attribute are reflected in the async property with setAttribute
- Test 'async' attribute are reflected in the async property with removeAttribute
async_003.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An async script does not block the parser while downloading
async_004.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- async script executes as soon as possible after a download is complete
async_005.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A script element with both async and defer set should execute asynchronously
async_006.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- dynamically created external script executes asynchronously
async_007.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Ordered async script execution when script.async == false
async_008.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Async script element execution delays the window's load event
async_009.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Document.write() silently fails from an Async script
async_010.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Removing an async script before execution
async_011.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An empty parser-inserted script element should return async=true
change-src-attr-prepare-a-script.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Mutating `src` attribute from an already-valid value does 'prepare' the script
changing-src.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- adding a src attribute after inserting the script into the document causes the script to load and execute
data-url.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test data URL and scripts errors
dynamically-created-defer-script.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dynamically created defer scripts inserted after DOMContentLoaded
emptyish-script-elements.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- A script with no children bails early, before setting already-started, so can be executed when adding text
- A script with a whitespace child executes, setting already-started, so adding text is a no-op
- A script with an empty element inserted bails early, before setting already-started, so can be executed when adding text
- A script with an empty text node inserted bails early, before setting already-started, so can be executed when adding text
- A script with a text child inserted executes, setting already-started, so adding text is a no-op
- A script with a comment child inserted bails early, before setting already-started, so can be executed when adding text
- A script with an element containing text inserted bails early, before setting already-started, so can be executed when adding text
historical.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- script.onbeforescriptexecute should not be supported
- script.onafterscriptexecute should not be supported
- onbeforescriptexecute content attribute should not be supported
- onafterscriptexecute content attribute should not be supported
- beforescriptexecute event should not be supported
- afterscriptexecute event should not be supported
load-error-events-1.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- src, 200, parser-inserted, defer, no async
- src, 200, parser-inserted, no defer, no async
- src, 200, parser-inserted, no defer, async
- src, 200, not parser-inserted, no defer, no async, no non-blocking
- src, 200, not parser-inserted, no defer, async
- src, 404, parser-inserted, defer, no async
- src, 404, parser-inserted, no defer, no async
- src, 404, parser-inserted, no defer, async
- src, 404, not parser-inserted, no defer, no async, no non-blocking
- src, 404, not parser-inserted, no defer, async
- no src, parser-inserted, no style sheets blocking scripts
load-error-events-2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- no src, parser-inserted, has style sheets blocking scripts, script nesting level == 1
load-error-events-3.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- no src, parser-inserted, has style sheets blocking scripts, script nesting level == 2
moving-between-documents-during-evaluation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script moved between documents during evaluation
muted-errors.sub.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Errors for same-origin script shouldn't be muted
- Errors for cross-origin script should be muted
- Errors for cross-origin script should be muted even if the script is once loaded as same-origin
- Errors for same-origin scripts redirected to a cross-origin url and redirected back to same-origin should be muted
- Errors for cross-origin scripts redirected to a same-origin url should be muted
- Non-synthetic errors for same-origin scripts redirected to a cross-origin URL and redirected back to same-origin should be muted
- Syntax error for same-origin script redirected to a cross-origin URL and redirected back to same-origin should be muted
nomodule-reflect.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- noModule IDL attribute on a parser created classic script element without nomodule content attribute
- noModule IDL attribute on a parser created classic script element with nomodule content attribute
- noModule IDL attribute on a parser created module script element without nomodule content attribute
- noModule IDL attribute on a parser created module script element with nomodule content attribute
- noModule IDL attribute on a dynamically created script element without nomodule content attribute
- noModule IDL attribute on a dynamically created script element after nomodule content attribute is set to "nomodule"
- noModule IDL attribute on a dynamically created script element after nomodule content attribute is set to ""
- noModule IDL attribute on a dynamically created script element after nomodule content attribute had been removed
- noModule IDL attribute must add nomodule content attribute on setting to true
- noModule IDL attribute must remove nomodule content attribute on setting to false
nomodule-set-on-async-classic-script.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- An asynchronously loaded classic script with noModule set to false must run
- An asynchronously loaded classic script with noModule set to true must not run
nomodule-set-on-external-module-script.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An external module script with nomodule content attribute must run
nomodule-set-on-inline-classic-scripts.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- An inline classic script without nomodule content attribute must run
- An inline classic script with nomodule content attribute must not run
- An inline classic script element dynamically inserted after noModule was set to false must run.
- An inline classic script element dynamically inserted after noModule was set to true must not run.
nomodule-set-on-inline-module-script.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An inline module script with nomodule content attribute must run
nomodule-set-on-synchronously-loaded-classic-scripts.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A synchronously loaded external classic script without nomodule content attribute must run
- A synchronously loaded external classic script with nomodule content attribute must not run
promise-reject-and-remove.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Removing iframe in promise reject handler should not crash
remove-src-attr-prepare-a-script.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Removing the `src` content attribute does not 'prepare' the script
script-charset-01.html 6 / 6 passingChrome 5 / 60 failedClean
6 passing subtests
- Script @type: unknown parameters
- Script @type: unknown parameters 1
- Script @type: unknown parameters 2
- Script @type: unknown parameters 3
- Script @type: unknown parameters 4
- Script @type: unknown parameters 5
script-charset-02.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- assumption: document encoding is windows-1250
- windows-1250 script decoded using document encoding (also windows-1250)
- UTF-8 script decoded using document encoding (windows-1250)
script-charset-03.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script changing @charset
script-crossorigin-network.sub.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- same-origin use-credentials
- same-origin invalid
- same-origin missing
- cross-origin use-credentials
- cross-origin invalid
- cross-origin missing
- cross-origin use-credentials mixed case
- cross-origin use-credentials non-ASCII
script-crossorigin.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTMLScriptElement: crossOrigin IDL attribute
script-defer.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- the defer script run later
script-error-status-fires-error.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- script should fire error event for 404 response and not execute
- script should fire error event for 503 response and not execute
script-for-event.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- Scripts with for and event attributes
- Script 0
- Script 1
- Script 2
- Script 3
- Script 4
- Script 5
- Script 6
- Script 7
- Script 8
- Script 9
- Script 10
- Script 11
- Script 12
- Script 13
- Script 14
- Script 15
- Script 16
script-not-executed-after-shutdown.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script is not executed after script thread is shutdown
script-not-found-not-executed.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Script that 404
- Script that does not 404
script-onerror-insertion-point-1.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that the insertion point is defined in the error event of a parser-inserted script that actually started a fetch (but just had it fail).
script-onerror-insertion-point-2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that the insertion point is not defined in the error event of a parser-inserted script that has an unparseable URL
script-onload-insertion-point.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that the insertion point is defined in the load event of a parser-inserted script.
script-onload-string.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Setting onload to a string should convert to null.
script-referrerpolicy-idl.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Missing/invalid/null referrerPolicy should reflect as the empty string
script-supports.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Type of HTMLScriptElement.supports is function
- HTMLScriptElement.supports resurns true for 'classic'
- HTMLScriptElement.supports resurns true for 'module'
- HTMLScriptElement.supports returns false for JavaScript MIME types
- HTMLScriptElement.supports returns false for unsupported types
script-text-modifications-csp.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Modify inline script element's text after prepare-a-script before evaluation (CSP)
script-text-modifications.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Modify inline script element's text after prepare-a-script before evaluation
script-text.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Getter
- Setter (non-empty string)
- Setter (empty string)
- Setter (null)
- Setter (undefined)
- Setter (text node reuse)
script-type-and-language-empty.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- A script with empty type and no language should run
- A script with empty type and a random language should run
- A script with empty type and empty language should run
- A script with no type and empty language should run
script-type-and-language-js.html 456 / 456 passingChrome 456 / 4560 failedClean
456 passing subtests
- Script should run with type=""
- Script shouldn't run with type=" "
- Script should run with type="application/ecmascript"
- Script should run with type="application/javascript"
- Script should run with type="application/x-ecmascript"
- Script should run with type="application/x-javascript"
- Script should run with type="APPLICATION/ECMASCRIPT"
- Script should run with type="APPLICATION/JAVASCRIPT"
- Script should run with type="APPLICATION/X-ECMASCRIPT"
- Script should run with type="APPLICATION/X-JAVASCRIPT"
- Script should run with type="application/ecmascript "
- Script should run with type="application/javascript "
- Script should run with type="application/x-ecmascript "
- Script should run with type="application/x-javascript "
- Script should run with type=" application/ecmascript"
- Script should run with type=" application/javascript"
- Script should run with type=" application/x-ecmascript"
- Script should run with type=" application/x-javascript"
- Script should run with type="application/ecmascript\t"
- Script should run with type="application/javascript\t"
- Script should run with type="application/x-ecmascript\t"
- Script should run with type="application/x-javascript\t"
- Script should run with type="\tapplication/ecmascript"
- Script should run with type="\tapplication/javascript"
- Script should run with type="\tapplication/x-ecmascript"
- Script should run with type="\tapplication/x-javascript"
- Script should run with type="application/ecmascript\n"
- Script should run with type="application/javascript\n"
- Script should run with type="application/x-ecmascript\n"
- Script should run with type="application/x-javascript\n"
- Script should run with type="\napplication/ecmascript"
- Script should run with type="\napplication/javascript"
- Script should run with type="\napplication/x-ecmascript"
- Script should run with type="\napplication/x-javascript"
- Script should run with type="application/ecmascript\r"
- Script should run with type="application/javascript\r"
- Script should run with type="application/x-ecmascript\r"
- Script should run with type="application/x-javascript\r"
- Script should run with type="\rapplication/ecmascript"
- Script should run with type="\rapplication/javascript"
- Script should run with type="\rapplication/x-ecmascript"
- Script should run with type="\rapplication/x-javascript"
- Script should run with type="application/ecmascript\f"
- Script should run with type="application/javascript\f"
- Script should run with type="application/x-ecmascript\f"
- Script should run with type="application/x-javascript\f"
- Script should run with type="\fapplication/ecmascript"
- Script should run with type="\fapplication/javascript"
- Script should run with type="\fapplication/x-ecmascript"
- Script should run with type="\fapplication/x-javascript"
- Script shouldn't run with type="application/ecmascript\0"
- Script shouldn't run with type="application/javascript\0"
- Script shouldn't run with type="application/x-ecmascript\0"
- Script shouldn't run with type="application/x-javascript\0"
- Script shouldn't run with type="application/ecmascript\0foo"
- Script shouldn't run with type="application/javascript\0foo"
- Script shouldn't run with type="application/x-ecmascript\0foo"
- Script shouldn't run with type="application/x-javascript\0foo"
- Script should run with type="text/ecmascript"
- Script should run with type="text/javascript"
- Script should run with type="text/javascript1.0"
- Script should run with type="text/javascript1.1"
- Script should run with type="text/javascript1.2"
- Script should run with type="text/javascript1.3"
- Script should run with type="text/javascript1.4"
- Script should run with type="text/javascript1.5"
- Script should run with type="text/jscript"
- Script should run with type="text/livescript"
- Script should run with type="text/x-ecmascript"
- Script should run with type="text/x-javascript"
- Script should run with type="TEXT/ECMASCRIPT"
- Script should run with type="TEXT/JAVASCRIPT"
- Script should run with type="TEXT/JAVASCRIPT1.0"
- Script should run with type="TEXT/JAVASCRIPT1.1"
- Script should run with type="TEXT/JAVASCRIPT1.2"
- Script should run with type="TEXT/JAVASCRIPT1.3"
- Script should run with type="TEXT/JAVASCRIPT1.4"
- Script should run with type="TEXT/JAVASCRIPT1.5"
- Script should run with type="TEXT/JSCRIPT"
- Script should run with type="TEXT/LIVESCRIPT"
- Script should run with type="TEXT/X-ECMASCRIPT"
- Script should run with type="TEXT/X-JAVASCRIPT"
- Script shouldn't run with type="text/javascript1.6"
- Script shouldn't run with type="text/javascript1.7"
- Script shouldn't run with type="text/javascript1.8"
- Script shouldn't run with type="text/javascript1.9"
- Script should run with type="text/ecmascript "
- Script should run with type="text/javascript "
- Script should run with type="text/javascript1.0 "
- Script should run with type="text/javascript1.1 "
- Script should run with type="text/javascript1.2 "
- Script should run with type="text/javascript1.3 "
- Script should run with type="text/javascript1.4 "
- Script should run with type="text/javascript1.5 "
- Script should run with type="text/jscript "
- Script should run with type="text/livescript "
- Script should run with type="text/x-ecmascript "
- Script should run with type="text/x-javascript "
- Script should run with type=" text/ecmascript"
- Script should run with type=" text/javascript"
- Script should run with type=" text/javascript1.0"
- Script should run with type=" text/javascript1.1"
- Script should run with type=" text/javascript1.2"
- Script should run with type=" text/javascript1.3"
- Script should run with type=" text/javascript1.4"
- Script should run with type=" text/javascript1.5"
- Script should run with type=" text/jscript"
- Script should run with type=" text/livescript"
- Script should run with type=" text/x-ecmascript"
- Script should run with type=" text/x-javascript"
- Script should run with type="text/ecmascript\t"
- Script should run with type="text/javascript\t"
- Script should run with type="text/javascript1.0\t"
- Script should run with type="text/javascript1.1\t"
- Script should run with type="text/javascript1.2\t"
- Script should run with type="text/javascript1.3\t"
- Script should run with type="text/javascript1.4\t"
- Script should run with type="text/javascript1.5\t"
- Script should run with type="text/jscript\t"
- Script should run with type="text/livescript\t"
- Script should run with type="text/x-ecmascript\t"
- Script should run with type="text/x-javascript\t"
- Script should run with type="\ttext/ecmascript"
- Script should run with type="\ttext/javascript"
- Script should run with type="\ttext/javascript1.0"
- Script should run with type="\ttext/javascript1.1"
- Script should run with type="\ttext/javascript1.2"
- Script should run with type="\ttext/javascript1.3"
- Script should run with type="\ttext/javascript1.4"
- Script should run with type="\ttext/javascript1.5"
- Script should run with type="\ttext/jscript"
- Script should run with type="\ttext/livescript"
- Script should run with type="\ttext/x-ecmascript"
- Script should run with type="\ttext/x-javascript"
- Script should run with type="text/ecmascript\n"
- Script should run with type="text/javascript\n"
- Script should run with type="text/javascript1.0\n"
- Script should run with type="text/javascript1.1\n"
- Script should run with type="text/javascript1.2\n"
- Script should run with type="text/javascript1.3\n"
- Script should run with type="text/javascript1.4\n"
- Script should run with type="text/javascript1.5\n"
- Script should run with type="text/jscript\n"
- Script should run with type="text/livescript\n"
- Script should run with type="text/x-ecmascript\n"
- Script should run with type="text/x-javascript\n"
- Script should run with type="\ntext/ecmascript"
- Script should run with type="\ntext/javascript"
- Script should run with type="\ntext/javascript1.0"
- Script should run with type="\ntext/javascript1.1"
- Script should run with type="\ntext/javascript1.2"
- Script should run with type="\ntext/javascript1.3"
- Script should run with type="\ntext/javascript1.4"
- Script should run with type="\ntext/javascript1.5"
- Script should run with type="\ntext/jscript"
- Script should run with type="\ntext/livescript"
- Script should run with type="\ntext/x-ecmascript"
- Script should run with type="\ntext/x-javascript"
- Script should run with type="text/ecmascript\r"
- Script should run with type="text/javascript\r"
- Script should run with type="text/javascript1.0\r"
- Script should run with type="text/javascript1.1\r"
- Script should run with type="text/javascript1.2\r"
- Script should run with type="text/javascript1.3\r"
- Script should run with type="text/javascript1.4\r"
- Script should run with type="text/javascript1.5\r"
- Script should run with type="text/jscript\r"
- Script should run with type="text/livescript\r"
- Script should run with type="text/x-ecmascript\r"
- Script should run with type="text/x-javascript\r"
- Script should run with type="\rtext/ecmascript"
- Script should run with type="\rtext/javascript"
- Script should run with type="\rtext/javascript1.0"
- Script should run with type="\rtext/javascript1.1"
- Script should run with type="\rtext/javascript1.2"
- Script should run with type="\rtext/javascript1.3"
- Script should run with type="\rtext/javascript1.4"
- Script should run with type="\rtext/javascript1.5"
- Script should run with type="\rtext/jscript"
- Script should run with type="\rtext/livescript"
- Script should run with type="\rtext/x-ecmascript"
- Script should run with type="\rtext/x-javascript"
- Script should run with type="text/ecmascript\f"
- Script should run with type="text/javascript\f"
- Script should run with type="text/javascript1.0\f"
- Script should run with type="text/javascript1.1\f"
- Script should run with type="text/javascript1.2\f"
- Script should run with type="text/javascript1.3\f"
- Script should run with type="text/javascript1.4\f"
- Script should run with type="text/javascript1.5\f"
- Script should run with type="text/jscript\f"
- Script should run with type="text/livescript\f"
- Script should run with type="text/x-ecmascript\f"
- Script should run with type="text/x-javascript\f"
- Script should run with type="\ftext/ecmascript"
- Script should run with type="\ftext/javascript"
- Script should run with type="\ftext/javascript1.0"
- Script should run with type="\ftext/javascript1.1"
- Script should run with type="\ftext/javascript1.2"
- Script should run with type="\ftext/javascript1.3"
- Script should run with type="\ftext/javascript1.4"
- Script should run with type="\ftext/javascript1.5"
- Script should run with type="\ftext/jscript"
- Script should run with type="\ftext/livescript"
- Script should run with type="\ftext/x-ecmascript"
- Script should run with type="\ftext/x-javascript"
- Script shouldn't run with type="text/ecmascript\0"
- Script shouldn't run with type="text/javascript\0"
- Script shouldn't run with type="text/javascript1.0\0"
- Script shouldn't run with type="text/javascript1.1\0"
- Script shouldn't run with type="text/javascript1.2\0"
- Script shouldn't run with type="text/javascript1.3\0"
- Script shouldn't run with type="text/javascript1.4\0"
- Script shouldn't run with type="text/javascript1.5\0"
- Script shouldn't run with type="text/jscript\0"
- Script shouldn't run with type="text/livescript\0"
- Script shouldn't run with type="text/x-ecmascript\0"
- Script shouldn't run with type="text/x-javascript\0"
- Script shouldn't run with type="text/ecmascript\0foo"
- Script shouldn't run with type="text/javascript\0foo"
- Script shouldn't run with type="text/javascript1.0\0foo"
- Script shouldn't run with type="text/javascript1.1\0foo"
- Script shouldn't run with type="text/javascript1.2\0foo"
- Script shouldn't run with type="text/javascript1.3\0foo"
- Script shouldn't run with type="text/javascript1.4\0foo"
- Script shouldn't run with type="text/javascript1.5\0foo"
- Script shouldn't run with type="text/jscript\0foo"
- Script shouldn't run with type="text/livescript\0foo"
- Script shouldn't run with type="text/x-ecmascript\0foo"
- Script shouldn't run with type="text/x-javascript\0foo"
- Script shouldn't run with type="ecmascript"
- Script shouldn't run with type="javascript"
- Script shouldn't run with type="javascript1.0"
- Script shouldn't run with type="javascript1.1"
- Script shouldn't run with type="javascript1.2"
- Script shouldn't run with type="javascript1.3"
- Script shouldn't run with type="javascript1.4"
- Script shouldn't run with type="javascript1.5"
- Script shouldn't run with type="jscript"
- Script shouldn't run with type="livescript"
- Script shouldn't run with type="x-ecmascript"
- Script shouldn't run with type="x-javascript"
- Script shouldn't run with type="javascript1.6"
- Script shouldn't run with type="javascript1.7"
- Script shouldn't run with type="javascript1.8"
- Script shouldn't run with type="javascript1.9"
- Script should run with language=""
- Script shouldn't run with language=" "
- Script should run with language="ecmascript"
- Script should run with language="javascript"
- Script should run with language="javascript1.0"
- Script should run with language="javascript1.1"
- Script should run with language="javascript1.2"
- Script should run with language="javascript1.3"
- Script should run with language="javascript1.4"
- Script should run with language="javascript1.5"
- Script should run with language="jscript"
- Script should run with language="livescript"
- Script should run with language="x-ecmascript"
- Script should run with language="x-javascript"
- Script should run with language="ECMASCRIPT"
- Script should run with language="JAVASCRIPT"
- Script should run with language="JAVASCRIPT1.0"
- Script should run with language="JAVASCRIPT1.1"
- Script should run with language="JAVASCRIPT1.2"
- Script should run with language="JAVASCRIPT1.3"
- Script should run with language="JAVASCRIPT1.4"
- Script should run with language="JAVASCRIPT1.5"
- Script should run with language="JSCRIPT"
- Script should run with language="LIVESCRIPT"
- Script should run with language="X-ECMASCRIPT"
- Script should run with language="X-JAVASCRIPT"
- Script shouldn't run with language="javascript1.6"
- Script shouldn't run with language="javascript1.7"
- Script shouldn't run with language="javascript1.8"
- Script shouldn't run with language="javascript1.9"
- Script shouldn't run with language="ecmascript "
- Script shouldn't run with language="javascript "
- Script shouldn't run with language="javascript1.0 "
- Script shouldn't run with language="javascript1.1 "
- Script shouldn't run with language="javascript1.2 "
- Script shouldn't run with language="javascript1.3 "
- Script shouldn't run with language="javascript1.4 "
- Script shouldn't run with language="javascript1.5 "
- Script shouldn't run with language="jscript "
- Script shouldn't run with language="livescript "
- Script shouldn't run with language="x-ecmascript "
- Script shouldn't run with language="x-javascript "
- Script shouldn't run with language=" ecmascript"
- Script shouldn't run with language=" javascript"
- Script shouldn't run with language=" javascript1.0"
- Script shouldn't run with language=" javascript1.1"
- Script shouldn't run with language=" javascript1.2"
- Script shouldn't run with language=" javascript1.3"
- Script shouldn't run with language=" javascript1.4"
- Script shouldn't run with language=" javascript1.5"
- Script shouldn't run with language=" jscript"
- Script shouldn't run with language=" livescript"
- Script shouldn't run with language=" x-ecmascript"
- Script shouldn't run with language=" x-javascript"
- Script shouldn't run with language="ecmascript\t"
- Script shouldn't run with language="javascript\t"
- Script shouldn't run with language="javascript1.0\t"
- Script shouldn't run with language="javascript1.1\t"
- Script shouldn't run with language="javascript1.2\t"
- Script shouldn't run with language="javascript1.3\t"
- Script shouldn't run with language="javascript1.4\t"
- Script shouldn't run with language="javascript1.5\t"
- Script shouldn't run with language="jscript\t"
- Script shouldn't run with language="livescript\t"
- Script shouldn't run with language="x-ecmascript\t"
- Script shouldn't run with language="x-javascript\t"
- Script shouldn't run with language="\tecmascript"
- Script shouldn't run with language="\tjavascript"
- Script shouldn't run with language="\tjavascript1.0"
- Script shouldn't run with language="\tjavascript1.1"
- Script shouldn't run with language="\tjavascript1.2"
- Script shouldn't run with language="\tjavascript1.3"
- Script shouldn't run with language="\tjavascript1.4"
- Script shouldn't run with language="\tjavascript1.5"
- Script shouldn't run with language="\tjscript"
- Script shouldn't run with language="\tlivescript"
- Script shouldn't run with language="\tx-ecmascript"
- Script shouldn't run with language="\tx-javascript"
- Script shouldn't run with language="ecmascript\n"
- Script shouldn't run with language="javascript\n"
- Script shouldn't run with language="javascript1.0\n"
- Script shouldn't run with language="javascript1.1\n"
- Script shouldn't run with language="javascript1.2\n"
- Script shouldn't run with language="javascript1.3\n"
- Script shouldn't run with language="javascript1.4\n"
- Script shouldn't run with language="javascript1.5\n"
- Script shouldn't run with language="jscript\n"
- Script shouldn't run with language="livescript\n"
- Script shouldn't run with language="x-ecmascript\n"
- Script shouldn't run with language="x-javascript\n"
- Script shouldn't run with language="\necmascript"
- Script shouldn't run with language="\njavascript"
- Script shouldn't run with language="\njavascript1.0"
- Script shouldn't run with language="\njavascript1.1"
- Script shouldn't run with language="\njavascript1.2"
- Script shouldn't run with language="\njavascript1.3"
- Script shouldn't run with language="\njavascript1.4"
- Script shouldn't run with language="\njavascript1.5"
- Script shouldn't run with language="\njscript"
- Script shouldn't run with language="\nlivescript"
- Script shouldn't run with language="\nx-ecmascript"
- Script shouldn't run with language="\nx-javascript"
- Script shouldn't run with language="ecmascript\r"
- Script shouldn't run with language="javascript\r"
- Script shouldn't run with language="javascript1.0\r"
- Script shouldn't run with language="javascript1.1\r"
- Script shouldn't run with language="javascript1.2\r"
- Script shouldn't run with language="javascript1.3\r"
- Script shouldn't run with language="javascript1.4\r"
- Script shouldn't run with language="javascript1.5\r"
- Script shouldn't run with language="jscript\r"
- Script shouldn't run with language="livescript\r"
- Script shouldn't run with language="x-ecmascript\r"
- Script shouldn't run with language="x-javascript\r"
- Script shouldn't run with language="\recmascript"
- Script shouldn't run with language="\rjavascript"
- Script shouldn't run with language="\rjavascript1.0"
- Script shouldn't run with language="\rjavascript1.1"
- Script shouldn't run with language="\rjavascript1.2"
- Script shouldn't run with language="\rjavascript1.3"
- Script shouldn't run with language="\rjavascript1.4"
- Script shouldn't run with language="\rjavascript1.5"
- Script shouldn't run with language="\rjscript"
- Script shouldn't run with language="\rlivescript"
- Script shouldn't run with language="\rx-ecmascript"
- Script shouldn't run with language="\rx-javascript"
- Script shouldn't run with language="ecmascript\f"
- Script shouldn't run with language="javascript\f"
- Script shouldn't run with language="javascript1.0\f"
- Script shouldn't run with language="javascript1.1\f"
- Script shouldn't run with language="javascript1.2\f"
- Script shouldn't run with language="javascript1.3\f"
- Script shouldn't run with language="javascript1.4\f"
- Script shouldn't run with language="javascript1.5\f"
- Script shouldn't run with language="jscript\f"
- Script shouldn't run with language="livescript\f"
- Script shouldn't run with language="x-ecmascript\f"
- Script shouldn't run with language="x-javascript\f"
- Script shouldn't run with language="\fecmascript"
- Script shouldn't run with language="\fjavascript"
- Script shouldn't run with language="\fjavascript1.0"
- Script shouldn't run with language="\fjavascript1.1"
- Script shouldn't run with language="\fjavascript1.2"
- Script shouldn't run with language="\fjavascript1.3"
- Script shouldn't run with language="\fjavascript1.4"
- Script shouldn't run with language="\fjavascript1.5"
- Script shouldn't run with language="\fjscript"
- Script shouldn't run with language="\flivescript"
- Script shouldn't run with language="\fx-ecmascript"
- Script shouldn't run with language="\fx-javascript"
- Script shouldn't run with language="ecmascriptxyz"
- Script shouldn't run with language="javascriptxyz"
- Script shouldn't run with language="javascript1.0xyz"
- Script shouldn't run with language="javascript1.1xyz"
- Script shouldn't run with language="javascript1.2xyz"
- Script shouldn't run with language="javascript1.3xyz"
- Script shouldn't run with language="javascript1.4xyz"
- Script shouldn't run with language="javascript1.5xyz"
- Script shouldn't run with language="jscriptxyz"
- Script shouldn't run with language="livescriptxyz"
- Script shouldn't run with language="x-ecmascriptxyz"
- Script shouldn't run with language="x-javascriptxyz"
- Script shouldn't run with language="xyzecmascript"
- Script shouldn't run with language="xyzjavascript"
- Script shouldn't run with language="xyzjavascript1.0"
- Script shouldn't run with language="xyzjavascript1.1"
- Script shouldn't run with language="xyzjavascript1.2"
- Script shouldn't run with language="xyzjavascript1.3"
- Script shouldn't run with language="xyzjavascript1.4"
- Script shouldn't run with language="xyzjavascript1.5"
- Script shouldn't run with language="xyzjscript"
- Script shouldn't run with language="xyzlivescript"
- Script shouldn't run with language="xyzx-ecmascript"
- Script shouldn't run with language="xyzx-javascript"
- Script shouldn't run with language="ecmascript\0"
- Script shouldn't run with language="javascript\0"
- Script shouldn't run with language="javascript1.0\0"
- Script shouldn't run with language="javascript1.1\0"
- Script shouldn't run with language="javascript1.2\0"
- Script shouldn't run with language="javascript1.3\0"
- Script shouldn't run with language="javascript1.4\0"
- Script shouldn't run with language="javascript1.5\0"
- Script shouldn't run with language="jscript\0"
- Script shouldn't run with language="livescript\0"
- Script shouldn't run with language="x-ecmascript\0"
- Script shouldn't run with language="x-javascript\0"
- Script shouldn't run with language="ecmascript\0foo"
- Script shouldn't run with language="javascript\0foo"
- Script shouldn't run with language="javascript1.0\0foo"
- Script shouldn't run with language="javascript1.1\0foo"
- Script shouldn't run with language="javascript1.2\0foo"
- Script shouldn't run with language="javascript1.3\0foo"
- Script shouldn't run with language="javascript1.4\0foo"
- Script shouldn't run with language="javascript1.5\0foo"
- Script shouldn't run with language="jscript\0foo"
- Script shouldn't run with language="livescript\0foo"
- Script shouldn't run with language="x-ecmascript\0foo"
- Script shouldn't run with language="x-javascript\0foo"
- Script shouldn't run with type=javascript (parser-inserted)
- Script shouldn't run with type=javascript1.0 (parser-inserted)
- Script shouldn't run with type=javascript1.1 (parser-inserted)
- Script shouldn't run with type=javascript1.2 (parser-inserted)
- Script shouldn't run with type=javascript1.3 (parser-inserted)
- Script shouldn't run with type=javascript1.4 (parser-inserted)
- Script shouldn't run with type=javascript1.5 (parser-inserted)
- Script shouldn't run with type=javascript1.6 (parser-inserted)
- Script shouldn't run with type=javascript1.7 (parser-inserted)
- Script shouldn't run with type=livescript (parser-inserted)
- Script shouldn't run with type=ecmascript (parser-inserted)
- Script shouldn't run with type=jscript (parser-inserted)
script-type-and-language-with-params.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- A script with a charset param in its type should not run
- A script with an x-test param in its type should not run
- A script with a charset param in its type should not run, even with language=javascript
script-type-whitespace.html 5 / 5 passingChrome 2 / 50 failedClean
5 passing subtests
- Script shouldn't run with type="text/javascript" (parser-inserted)
- Script shouldn't run with type="text/javascript…" (parser-inserted)
- Script shouldn't run with type="text/javascript " (parser-inserted)
- Script shouldn't run with type="text/javascript " (parser-inserted)
- Script shouldn't run with type="text/javascript " (parser-inserted)
scripting-enabled.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- script on document returned by createHTMLDocument should not execute
src-empty-or-invalid-error-event-queued.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- classic script with empty src fires error event asynchronously
- classic script with invalid src fires error event asynchronously
- module script with empty src fires error event asynchronously
- module script with invalid src fires error event asynchronously
svg-script-fragment-parsed-not-executed-on-clone.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Sanity check: a normally-created SVG <script> runs when inserted
- A fragment-parsed SVG <script> does not execute when cloned into the document
- Deep-cloning a subtree containing a fragment-parsed SVG <script> does not execute it
- Control: a fragment-parsed HTML <script> does not execute when cloned into the document