mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision e35de4d284f3272e3f914eb9deea6cf7d1924605
This commit is contained in:
parent
67ec1e1c19
commit
db4b7c0e2d
64 changed files with 678 additions and 109 deletions
|
@ -0,0 +1,5 @@
|
|||
[url-charset.window.html]
|
||||
expected: TIMEOUT
|
||||
[Blob charset should override any auto-detected charset.]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[elementsFromPoint on the root document for points in iframe elements]
|
||||
expected: FAIL
|
||||
|
||||
[elementsFromPoint on inner documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[HTMLMediaElement.html]
|
||||
expected: TIMEOUT
|
|
@ -315,24 +315,21 @@
|
|||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,12 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript;charset=windows-1252 error text/javascript]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript error]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_4.html]
|
||||
[traverse_the_history_3.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,4 +0,0 @@
|
|||
[creating_browsing_context_test_01.html]
|
||||
[first argument: absolute url]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: CRASH
|
||||
[opener of discarded nested browsing context]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -14,3 +14,6 @@
|
|||
[Host element with delegatesFocus should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[Non-HTMLElement should not support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_escaping-1.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[iframe_sandbox_popups_escaping-3.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[iframe_sandbox_popups_nonescaping-2.html]
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
[Check that rel=noopener with target=_top does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
[Check that rel=noopener with target=_parent does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
[Check that rel=noopener with target=_self does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,6 +3,3 @@
|
|||
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: TIMEOUT
|
||||
|
||||
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
[promise-job-entry.html]
|
||||
expected: TIMEOUT
|
||||
[Fulfillment handler on fulfilled promise]
|
||||
expected: FAIL
|
||||
|
||||
[Rejection handler on pending-then-rejected promise]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Sanity check: this all works as expected with no promises involved]
|
||||
expected: FAIL
|
||||
|
@ -15,5 +16,5 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fulfillment handler on pending-then-fulfilled promise]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
[script-tag.http.html]
|
||||
expected: TIMEOUT
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-https origin and keep-origin redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-http origin and no-redirect redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-http origin and swap-origin redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-http origin and keep-origin redirection from http context.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-https origin and swap-origin redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-https origin and no-redirect redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[audiocontextoptions.html]
|
||||
expected: CRASH
|
||||
[X context = new AudioContext({sampleRate: 1}) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
[periodicWave.html]
|
||||
[< [too small with factory method\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[< [create with factory method\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[< [different length with factory method\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X new PeriodicWave(context, { real : new Float32Array(1), imag : new Float32Array(1) }) threw "ReferenceError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[X context.createPeriodicWave(new Float32Array(4096), new Float32Array(4096)) incorrectly threw TypeError: "context.createPeriodicWave is not a function".]
|
||||
expected: FAIL
|
||||
|
||||
[Executing "output test"]
|
||||
expected: FAIL
|
||||
|
||||
[X context.createPeriodicWave(new Float32Array(1), new Float32Array(1)) threw "TypeError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[< [different length with constructor\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X new PeriodicWave(context, { real : new Float32Array(4096), imag : new Float32Array(4096) }) incorrectly threw ReferenceError: "PeriodicWave is not defined".]
|
||||
expected: FAIL
|
||||
|
||||
[X new PeriodicWave(context, { real : new Float32Array(4096), imag : new Float32Array(4) }) threw "ReferenceError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[< [too small with constructor\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X context.createPeriodicWave(new Float32Array(512), new Float32Array(4)) threw "TypeError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[< [create with constructor\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[# AUDIT TASK RUNNER FINISHED: 6 out of 7 tasks were failed.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[018.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, javascript:]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
[shared-worker-in-data-url-context.window.html]
|
||||
expected: TIMEOUT
|
||||
[Create a shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Create a data url shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
5
tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini
Normal file
5
tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[url-charset.window.html]
|
||||
expected: TIMEOUT
|
||||
[Blob charset should override any auto-detected charset.]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -158858,6 +158858,58 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"overflow-body-propagation-007.html": [
|
||||
"9ce13ed8de359a9e3d79f27f4eced40d6115cb1a",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-overflow/overflow-body-propagation-007-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"overflow-body-propagation-008.html": [
|
||||
"867cd379c73ebdb348ef0d30285946e43ef7051f",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-overflow/overflow-body-propagation-008-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"overflow-body-propagation-009.html": [
|
||||
"6924719f97872021cefa31f920e7619ec2208747",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-overflow/overflow-body-propagation-009-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"overflow-body-propagation-010.html": [
|
||||
"7a9966c151afff318959fef9f6c760d6bde078cd",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-overflow/overflow-body-propagation-010-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"overflow-ellipsis-dynamic-001.html": [
|
||||
"2a9edba9308bf06009d7b9a27f21f1e0f1a231c7",
|
||||
[
|
||||
|
@ -305336,6 +305388,22 @@
|
|||
"9ccdbf93c615f6078b82add5362e6032e9efe583",
|
||||
[]
|
||||
],
|
||||
"overflow-body-propagation-007-ref.html": [
|
||||
"66f9b1c3b0098c0cc448775cde0d94b4325a94a8",
|
||||
[]
|
||||
],
|
||||
"overflow-body-propagation-008-ref.html": [
|
||||
"91e582aa00ff139338921eec47714dc58d3817cd",
|
||||
[]
|
||||
],
|
||||
"overflow-body-propagation-009-ref.html": [
|
||||
"9632674a5a8e40b98f320c078f14ef8dafa75839",
|
||||
[]
|
||||
],
|
||||
"overflow-body-propagation-010-ref.html": [
|
||||
"9e502e7e237de7ffb6dfc754450c70f5f03d297e",
|
||||
[]
|
||||
],
|
||||
"reference": {
|
||||
"input-scrollable-region-001-ref.html": [
|
||||
"d7125ee2ef3285d461b2172208e23d8d4cc27a64",
|
||||
|
@ -484510,7 +484578,7 @@
|
|||
]
|
||||
},
|
||||
"about-blank.https.sub.html": [
|
||||
"50a07ff0c02e45b4fb5cf5018d1b811f7944211d",
|
||||
"6af31dd021f902f5005becf7b39332d0139da887",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
@ -521583,7 +521651,7 @@
|
|||
]
|
||||
],
|
||||
"audiocontextoptions.html": [
|
||||
"b556e31b5e0dcea8b0c82d859e53d980b4936a2e",
|
||||
"0bf2cfbb7ab2f0e332c72d7859b678833d983938",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
@ -522792,6 +522860,15 @@
|
|||
]
|
||||
]
|
||||
},
|
||||
"the-periodicwave-interface": {
|
||||
"periodicWave.html": [
|
||||
"bd42453001498c990bea27424eb4164d3196aee0",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
]
|
||||
},
|
||||
"the-scriptprocessornode-interface": {
|
||||
"simple-input-output.html": [
|
||||
"7fd20e67a7079ab3c02d490e458cb762006e0ca0",
|
||||
|
|
|
@ -2,6 +2,3 @@
|
|||
[elementsFromPoint on the root document for points in iframe elements]
|
||||
expected: FAIL
|
||||
|
||||
[elementsFromPoint on inner documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[HTMLMediaElement.html]
|
||||
expected: TIMEOUT
|
|
@ -315,24 +315,21 @@
|
|||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,12 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript;charset=windows-1252 error text/javascript]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript error]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[traverse_the_history_3.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,4 +0,0 @@
|
|||
[creating_browsing_context_test_01.html]
|
||||
[first argument: absolute url]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: CRASH
|
||||
[opener and "removed" embedded documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -14,3 +14,6 @@
|
|||
[Host element with delegatesFocus should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[Non-HTMLElement should not support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[iframe_sandbox_popups_escaping-1.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[iframe_sandbox_popups_escaping-3.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-2.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -9,9 +9,6 @@
|
|||
[Check that rel=noopener with target=_top does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
[Check that rel=noopener with target=_parent does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
[Check that rel=noopener with target=_self does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -4,6 +4,3 @@
|
|||
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: TIMEOUT
|
||||
|
||||
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
[promise-job-entry.html]
|
||||
expected: TIMEOUT
|
||||
[Fulfillment handler on fulfilled promise]
|
||||
expected: FAIL
|
||||
|
||||
[Rejection handler on pending-then-rejected promise]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Sanity check: this all works as expected with no promises involved]
|
||||
expected: FAIL
|
||||
|
@ -15,5 +16,5 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fulfillment handler on pending-then-fulfilled promise]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
[script-tag.http.html]
|
||||
expected: TIMEOUT
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-https origin and keep-origin redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-http origin and no-redirect redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-http origin and swap-origin redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-http origin and keep-origin redirection from http context.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-https origin and swap-origin redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Referrer Policy: Expects stripped-referrer for script-tag to same-https origin and no-redirect redirection from http context.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[audiocontextoptions.html]
|
||||
expected: CRASH
|
||||
[X context = new AudioContext({sampleRate: 1}) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
[periodicWave.html]
|
||||
[< [too small with factory method\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[< [create with factory method\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[< [different length with factory method\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X new PeriodicWave(context, { real : new Float32Array(1), imag : new Float32Array(1) }) threw "ReferenceError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[X context.createPeriodicWave(new Float32Array(4096), new Float32Array(4096)) incorrectly threw TypeError: "context.createPeriodicWave is not a function".]
|
||||
expected: FAIL
|
||||
|
||||
[Executing "output test"]
|
||||
expected: FAIL
|
||||
|
||||
[X context.createPeriodicWave(new Float32Array(1), new Float32Array(1)) threw "TypeError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[< [different length with constructor\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X new PeriodicWave(context, { real : new Float32Array(4096), imag : new Float32Array(4096) }) incorrectly threw ReferenceError: "PeriodicWave is not defined".]
|
||||
expected: FAIL
|
||||
|
||||
[X new PeriodicWave(context, { real : new Float32Array(4096), imag : new Float32Array(4) }) threw "ReferenceError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[< [too small with constructor\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X context.createPeriodicWave(new Float32Array(512), new Float32Array(4)) threw "TypeError" instead of IndexSizeError.]
|
||||
expected: FAIL
|
||||
|
||||
[< [create with constructor\] 1 out of 1 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[# AUDIT TASK RUNNER FINISHED: 6 out of 7 tasks were failed.]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/webmessaging/with-ports/017.html.ini
Normal file
5
tests/wpt/metadata/webmessaging/with-ports/017.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[018.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, javascript:]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
[shared-worker-in-data-url-context.window.html]
|
||||
expected: TIMEOUT
|
||||
[Create a shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Create a data url shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference: overflow-x:clip propagated from BODY</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<style>
|
||||
html { overflow: hidden auto; }
|
||||
body {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 10px;
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -40px;
|
||||
background: blue;
|
||||
height: 10000px;
|
||||
width: 10000px;
|
||||
border-right-width: 20px;
|
||||
border-right-style: solid;
|
||||
border-right-color: red;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: overflow-x:clip propagated from BODY</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
|
||||
<link rel="match" href="overflow-body-propagation-007-ref.html">
|
||||
<style>
|
||||
body {
|
||||
overflow-x: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */
|
||||
overflow-x: clip;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 10px;
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -40px;
|
||||
background: blue;
|
||||
height: 10000px;
|
||||
width: 10000px;
|
||||
border-right-width: 20px;
|
||||
border-right-style: solid;
|
||||
border-right-color: red;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference: overflow-y:clip propagated from BODY</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<style>
|
||||
html { overflow: auto hidden; }
|
||||
body {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 10px;
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -40px;
|
||||
background: blue;
|
||||
height: 10000px;
|
||||
width: 10000px;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: overflow-y:clip propagated from BODY</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
|
||||
<link rel="match" href="overflow-body-propagation-008-ref.html">
|
||||
<style>
|
||||
body {
|
||||
overflow-y: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */
|
||||
overflow-y: clip;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 10px;
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -40px;
|
||||
background: blue;
|
||||
height: 10000px;
|
||||
width: 10000px;
|
||||
border-right-width: 20px;
|
||||
border-right-style: solid;
|
||||
border-right-color: red;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference: overflow:clip propagated from BODY</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<style>
|
||||
html { overflow: hidden; }
|
||||
body {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 10px;
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -40px;
|
||||
background: blue;
|
||||
height: 10000px;
|
||||
width: 10000px;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: overflow:clip propagated from BODY</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
|
||||
<link rel="match" href="overflow-body-propagation-009-ref.html">
|
||||
<style>
|
||||
body {
|
||||
overflow: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */
|
||||
overflow: clip;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 10px;
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -40px;
|
||||
background: blue;
|
||||
height: 10000px;
|
||||
width: 10000px;
|
||||
border-right-width: 20px;
|
||||
border-right-style: solid;
|
||||
border-right-color: red;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference: contain:paint on BODY with overflow:clip</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<style>
|
||||
body {
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: blue;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: contain:paint on BODY with overflow:clip</title>
|
||||
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
|
||||
<link rel="match" href="overflow-body-propagation-010-ref.html">
|
||||
<style>
|
||||
body {
|
||||
overflow: -moz-hidden-unscrollable; /* will be removed in bug 1531609 */
|
||||
overflow: clip;
|
||||
contain: paint;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 10px;
|
||||
margin-left: 100px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -40px;
|
||||
background: blue;
|
||||
height: 10000px;
|
||||
width: 10000px;
|
||||
border-right-width: 20px;
|
||||
border-right-style: solid;
|
||||
border-right-color: red;
|
||||
}
|
||||
</style></head>
|
||||
<body><div></div></body>
|
||||
</html>
|
|
@ -34,23 +34,20 @@ async function insertAboutBlankIframe() {
|
|||
const iframe = document.createElement("iframe");
|
||||
document.body.append(iframe);
|
||||
|
||||
// Now use document.write() to get the child frame script in there, without
|
||||
// actually navigating anywhere.
|
||||
// Now create and add the script, but don't navigate anywhere (since we want
|
||||
// to stay on the initial about:blank).
|
||||
// We need to absolutize the URL to since about:blank doesn't have a base URL.
|
||||
const scriptURL = (new URL("./resources/child-frame-script.mjs", import.meta.url)).href;
|
||||
iframe.contentDocument.write(`<script type="module" src="${scriptURL}"></scr` + `ipt>`);
|
||||
iframe.contentDocument.close();
|
||||
const script = iframe.contentDocument.createElement("script");
|
||||
script.type = "module";
|
||||
script.src = scriptURL;
|
||||
|
||||
await new Promise((resolve, reject) => {
|
||||
// Note that since this code runs during the same event loop turn as the
|
||||
// contentDocument.write() above, we know that the load/error events will
|
||||
// not have been fired at this time. (The spec guarantees they are fired
|
||||
// from queued tasks.)
|
||||
const script = iframe.contentDocument.querySelector("script");
|
||||
script.onload = resolve;
|
||||
script.onerror = () => reject(
|
||||
new Error("Could not load the child frame script into the about:blank page")
|
||||
);
|
||||
iframe.contentDocument.body.append(script);
|
||||
});
|
||||
|
||||
await setBothDocumentDomains(iframe.contentWindow);
|
||||
|
|
|
@ -180,6 +180,20 @@
|
|||
},
|
||||
'context = new AudioContext({sampleRate: 1000000})')
|
||||
.throw(DOMException);
|
||||
// A negative sample rate should not be accepted
|
||||
should(
|
||||
() => {
|
||||
context = new AudioContext({sampleRate: -1})
|
||||
},
|
||||
'context = new AudioContext({sampleRate: -1})')
|
||||
.throw(DOMException);
|
||||
// A null sample rate should not be accepted
|
||||
should(
|
||||
() => {
|
||||
context = new AudioContext({sampleRate: 0})
|
||||
},
|
||||
'context = new AudioContext({sampleRate: 0})')
|
||||
.throw(DOMException);
|
||||
|
||||
should(
|
||||
() => {
|
||||
|
|
|
@ -0,0 +1,130 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Test Constructor: MediaStreamAudioDestinationNode
|
||||
</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/webaudio/resources/audit-util.js"></script>
|
||||
<script src="/webaudio/resources/audit.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script id="layout-test-code">
|
||||
// real and imag are used in separate PeriodicWaves to make their peak values
|
||||
// easy to determine.
|
||||
const realMax = 99;
|
||||
var real = new Float32Array(realMax + 1);
|
||||
real[1] = 2.0; // fundamental
|
||||
real[realMax] = 3.0;
|
||||
const realPeak = real[1] + real[realMax];
|
||||
const realFundamental = 19.0;
|
||||
var imag = new Float32Array(4);
|
||||
imag[0] = 6.0; // should be ignored.
|
||||
imag[3] = 0.5;
|
||||
const imagPeak = imag[3];
|
||||
const imagFundamental = 551.0;
|
||||
|
||||
const testLength = 4096;
|
||||
let context = new AudioContext();
|
||||
|
||||
let audit = Audit.createTaskRunner();
|
||||
|
||||
// Create with the factory method
|
||||
|
||||
audit.define('create with factory method', (task, should) => {
|
||||
should(() => {
|
||||
context.createPeriodicWave(new Float32Array(4096), new Float32Array(4096));
|
||||
}, 'context.createPeriodicWave(new Float32Array(4096), ' +
|
||||
'new Float32Array(4096))').notThrow();
|
||||
task.done();
|
||||
});
|
||||
|
||||
audit.define('different length with factory method', (task, should) => {
|
||||
should(() => {
|
||||
context.createPeriodicWave(new Float32Array(512), new Float32Array(4));
|
||||
}, 'context.createPeriodicWave(new Float32Array(512), ' +
|
||||
'new Float32Array(4))').throw(DOMException, "IndexSizeError");
|
||||
task.done();
|
||||
});
|
||||
|
||||
audit.define('too small with factory method', (task, should) => {
|
||||
should(() => {
|
||||
context.createPeriodicWave(new Float32Array(1), new Float32Array(1));
|
||||
}, 'context.createPeriodicWave(new Float32Array(1), ' +
|
||||
'new Float32Array(1))').throw(DOMException, "IndexSizeError");
|
||||
task.done();
|
||||
});
|
||||
|
||||
// Create with the constructor
|
||||
|
||||
audit.define('create with constructor', (task, should) => {
|
||||
should(() => {
|
||||
new PeriodicWave(context, { real: new Float32Array(4096), imag: new Float32Array(4096) });
|
||||
}, 'new PeriodicWave(context, { real : new Float32Array(4096), ' +
|
||||
'imag : new Float32Array(4096) })').notThrow();
|
||||
task.done();
|
||||
});
|
||||
|
||||
audit.define('different length with constructor', (task, should) => {
|
||||
should(() => {
|
||||
new PeriodicWave(context, { real: new Float32Array(4096), imag: new Float32Array(4) });
|
||||
}, 'new PeriodicWave(context, { real : new Float32Array(4096), ' +
|
||||
'imag : new Float32Array(4) })').throw(DOMException, "IndexSizeError");
|
||||
task.done();
|
||||
});
|
||||
|
||||
audit.define('too small with constructor', (task, should) => {
|
||||
should(() => {
|
||||
new PeriodicWave(context, { real: new Float32Array(1), imag: new Float32Array(1) });
|
||||
}, 'new PeriodicWave(context, { real : new Float32Array(1), ' +
|
||||
'imag : new Float32Array(1) })').throw(DOMException, "IndexSizeError");
|
||||
task.done();
|
||||
});
|
||||
|
||||
audit.define('output test', (task, should) => {
|
||||
let context = new OfflineAudioContext(2, 4096, 44100);
|
||||
// Create the expected output buffer
|
||||
let expectations = context.createBuffer(2, testLength, context.sampleRate);
|
||||
for (var i = 0; i < expectations.length; ++i) {
|
||||
|
||||
expectations.getChannelData(0)[i] = 1.0 / realPeak *
|
||||
(real[1] * Math.cos(2 * Math.PI * realFundamental * i /
|
||||
context.sampleRate) +
|
||||
real[realMax] * Math.cos(2 * Math.PI * realMax * realFundamental * i /
|
||||
context.sampleRate));
|
||||
|
||||
expectations.getChannelData(1)[i] = 1.0 / imagPeak *
|
||||
imag[3] * Math.sin(2 * Math.PI * 3 * imagFundamental * i /
|
||||
context.sampleRate);
|
||||
}
|
||||
|
||||
// Create the real output buffer
|
||||
let merger = context.createChannelMerger();
|
||||
|
||||
let osc1 = context.createOscillator();
|
||||
let osc2 = context.createOscillator();
|
||||
|
||||
osc1.setPeriodicWave(context.createPeriodicWave(
|
||||
real, new Float32Array(real.length)));
|
||||
osc2.setPeriodicWave(context.createPeriodicWave(
|
||||
new Float32Array(imag.length), imag));
|
||||
osc1.frequency.value = realFundamental;
|
||||
osc2.frequency.value = imagFundamental;
|
||||
|
||||
osc1.start();
|
||||
osc2.start();
|
||||
|
||||
osc1.connect(merger, 0, 0);
|
||||
osc2.connect(merger, 0, 1);
|
||||
|
||||
context.startRendering().then(reality => {
|
||||
should(reality, 'rendering PeriodicWave').beEqualToArray(expectations);
|
||||
task.done();
|
||||
});
|
||||
});
|
||||
|
||||
audit.run();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue