diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 6a712f8e84a..3f9485883c0 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -48785,6 +48785,18 @@ {} ] ], + "css/CSS2/floats/floated-table-wider-than-specified.html": [ + [ + "/css/CSS2/floats/floated-table-wider-than-specified.html", + [ + [ + "/css/reference/ref-filled-green-200px-square.html", + "==" + ] + ], + {} + ] + ], "css/CSS2/floats/floats-placement-vertical-001a.xht": [ [ "/css/CSS2/floats/floats-placement-vertical-001a.xht", @@ -294093,6 +294105,11 @@ {} ] ], + "webaudio/resources/delay-testing.js": [ + [ + {} + ] + ], "webaudio/resources/distance-model-testing.js": [ [ {} @@ -315974,6 +315991,12 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/border-image-source.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/border-image-source.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/border-style.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/border-style.html", @@ -315992,12 +316015,24 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/box-sizing.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/box-sizing.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/caret-color.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/caret-color.html", {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/clear.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/clear.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/color.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/color.html", @@ -316016,6 +316051,24 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/float.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/float.html", + {} + ] + ], + "css/css-typed-om/the-stylepropertymap/properties/font-style.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/font-style.html", + {} + ] + ], + "css/css-typed-om/the-stylepropertymap/properties/font-weight.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/font-weight.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/height.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/height.html", @@ -316028,12 +316081,30 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/line-height.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/line-height.html", + {} + ] + ], + "css/css-typed-om/the-stylepropertymap/properties/list-style-position.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/list-style-position.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/margin.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/margin.html", {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/mask-image.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/mask-image.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/object-position.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/object-position.html", @@ -316052,6 +316123,18 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/outline-style.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/outline-style.html", + {} + ] + ], + "css/css-typed-om/the-stylepropertymap/properties/overflow.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/overflow.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/padding.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/padding.html", @@ -316070,6 +316153,12 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/shape-outside.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/shape-outside.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/text-align.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/text-align.html", @@ -316094,6 +316183,12 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/text-transform.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/text-transform.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/top.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/top.html", @@ -316124,6 +316219,12 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/whitespace.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/whitespace.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/width.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/width.html", @@ -327698,6 +327799,12 @@ {} ] ], + "html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html": [ + [ + "/html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html", + {} + ] + ], "html/infrastructure/safe-passing-of-structured-data/structured_clone_blob.html": [ [ "/html/infrastructure/safe-passing-of-structured-data/structured_clone_blob.html", @@ -336642,6 +336749,26 @@ {} ] ], + "infrastructure/assumptions/non-secure-context.any.js": [ + [ + "/infrastructure/assumptions/non-secure-context.any.html", + {} + ], + [ + "/infrastructure/assumptions/non-secure-context.any.worker.html", + {} + ] + ], + "infrastructure/assumptions/secure-context.https.any.js": [ + [ + "/infrastructure/assumptions/secure-context.https.any.html", + {} + ], + [ + "/infrastructure/assumptions/secure-context.https.any.worker.html", + {} + ] + ], "infrastructure/expected-fail/failing-test.html": [ [ "/infrastructure/expected-fail/failing-test.html", @@ -362910,18 +363037,84 @@ {} ] ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html", + {} + ] + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-max-nondefault-delay.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-nondefault-delay.html", + {} + ] + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelay.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelay.html", + {} + ] + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html", + {} + ] + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-scheduling.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/delaynode-scheduling.html", + {} + ] + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/delaynode.html", + {} + ] + ], "webaudio/the-audio-api/the-delaynode-interface/idl-test.html": [ [ "/webaudio/the-audio-api/the-delaynode-interface/idl-test.html", {} ] ], + "webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html", + {} + ] + ], + "webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html": [ + [ + "/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html", + {} + ] + ], + "webaudio/the-audio-api/the-gainnode-interface/gain-basic.html": [ + [ + "/webaudio/the-audio-api/the-gainnode-interface/gain-basic.html", + {} + ] + ], + "webaudio/the-audio-api/the-gainnode-interface/gain.html": [ + [ + "/webaudio/the-audio-api/the-gainnode-interface/gain.html", + {} + ] + ], "webaudio/the-audio-api/the-gainnode-interface/idl-test.html": [ [ "/webaudio/the-audio-api/the-gainnode-interface/idl-test.html", {} ] ], + "webaudio/the-audio-api/the-gainnode-interface/no-dezippering.html": [ + [ + "/webaudio/the-audio-api/the-gainnode-interface/no-dezippering.html", + {} + ] + ], "webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html": [ [ "/webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html", @@ -439531,6 +439724,10 @@ "078e1dd6dd61d36cec239ed75d02051f61fe60a5", "support" ], + "css/CSS2/floats/floated-table-wider-than-specified.html": [ + "4081cd8860323434f2461673c39c872f7e9c55e2", + "reftest" + ], "css/CSS2/floats/floats-placement-vertical-001-ref.xht": [ "219c3d13a6859b58907f35df0a5602ba215a0335", "support" @@ -506384,7 +506581,7 @@ "reftest" ], "css/css-style-attr/style-attr-braces-002-quirks.htm": [ - "134c9965cb75e87bb97a52040088755dbaf4eaa0", + "e96cc484f81fd01c4d9975445b7d00d08dd37441", "reftest" ], "css/css-style-attr/style-attr-braces-002.xht": [ @@ -519855,6 +520052,10 @@ "5b8adde602ac79d8b1ea92bd29f25d8756d72f8a", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/border-image-source.html": [ + "08934e205f88aecda9809ff98d63f2d8784080c3", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/border-style.html": [ "5d258827fb6a26d07efbdf5b47a440300f0aa307", "testharness" @@ -519867,10 +520068,18 @@ "e710943711544b28d07676df15966950c0d76efa", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/box-sizing.html": [ + "6fb5b014ffbbe4fe9c0019cea618a001fefdbedd", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/caret-color.html": [ "d4139aeff755abe89ee1e04fcd34ccfba4efe91c", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/clear.html": [ + "376585635ab5752db4b2078f6247fa621a954282", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/color.html": [ "291f8e058d1fa6e342f4316c0760ec4cbdbc403c", "testharness" @@ -519883,6 +520092,18 @@ "26ba44d8d5146b9d606a1668659ee16876b371c5", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/float.html": [ + "1dfca0045c2b57f36d5165139087301ffe54c63a", + "testharness" + ], + "css/css-typed-om/the-stylepropertymap/properties/font-style.html": [ + "c4a42872dca602b71f021799d29e404cfa7ed90e", + "testharness" + ], + "css/css-typed-om/the-stylepropertymap/properties/font-weight.html": [ + "6429fa7266a227e93cb0a5d3eb19468b0f73fce8", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/height.html": [ "36b8677eb45f8555da4381e1644624df2f2060e0", "testharness" @@ -519891,10 +520112,22 @@ "354512fcb071a863f11305f36cf3605ceef733b8", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/line-height.html": [ + "8b28d0af963cd08b63a446107af4bd476b239531", + "testharness" + ], + "css/css-typed-om/the-stylepropertymap/properties/list-style-position.html": [ + "d1644d7633a8fa097caa5d52f81a84c5cd62f9d0", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/margin.html": [ "b475a6446e769e44237bb9d99176069dae10b4fb", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/mask-image.html": [ + "2a20c6818e9d71adbf3902fde74cb26136917e72", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/object-position.html": [ "c3040ca9284c50c2149dc09502fde5f20d0a4baa", "testharness" @@ -519907,6 +520140,14 @@ "612e77914108dbba0b271b20eb3e9e80199349b3", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/outline-style.html": [ + "c9a622aacc8c61581110670cb7044a89b11956d4", + "testharness" + ], + "css/css-typed-om/the-stylepropertymap/properties/overflow.html": [ + "b6ba9ba8ebc6433caffe0c8f83e1f679a26ba7c4", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/padding.html": [ "70c2e29badef7528469bcf11e1cb7bbc6cd519ea", "testharness" @@ -519923,6 +520164,10 @@ "68a2611eaf9eecb7393c2b0db0f4378ebe285f22", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/shape-outside.html": [ + "3189c7b3903d30f31836ea845aebecf599198c79", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/text-align.html": [ "88a1f5866a767c25dec2ef75728c68c5631d371f", "testharness" @@ -519932,13 +520177,17 @@ "testharness" ], "css/css-typed-om/the-stylepropertymap/properties/text-decoration-style.html": [ - "aa9698c5b4cb896fc43c58794df84ec0bbb0e3e9", + "b541bd8b57f8b85f6e5f3a17a3266169debee876", "testharness" ], "css/css-typed-om/the-stylepropertymap/properties/text-emphasis-color.html": [ "9419ab219034d1fb732965ebd3a03934bcaddf5a", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/text-transform.html": [ + "53f0482b667f049170dcdfb5de29dedc6897d09a", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/top.html": [ "218b50f6b7d8209514bca8d0a8121263b07ab1e2", "testharness" @@ -519952,13 +520201,17 @@ "testharness" ], "css/css-typed-om/the-stylepropertymap/properties/visibility.html": [ - "8e0a268686a82cc4b4c5531b324da106e8d13856", + "5b8de5bb7b87b82729c5ea92d80409128124acaf", "testharness" ], "css/css-typed-om/the-stylepropertymap/properties/white-space.html": [ "f8afed394e920abbaa9eb8d2e6f4405ae4453c2c", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/whitespace.html": [ + "b51dea7a7d0f93f13fda93c0f27e5084fa4c3b3e", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/width.html": [ "d429f7a88012179ef3d604b79b3db4aaba0ca426", "testharness" @@ -542296,11 +542549,11 @@ "testharness" ], "custom-elements/Document-createElement.html": [ - "07de690760040f025455b1588ea00e57c669795f", + "46e64c9f412fb04582f8ec287e08783ac83cb933", "testharness" ], "custom-elements/Document-createElementNS.html": [ - "57791273d1721711dcb456fe7409a734d37278a3", + "da90b2a1c13cf18fd5cade85dcae2dadef6243c9", "testharness" ], "custom-elements/HTMLElement-constructor.html": [ @@ -542628,7 +542881,7 @@ "support" ], "docs/_running-tests/chrome_android.md": [ - "32e0d149423f84c3602ee1f87a83746bf331f582", + "6780ea4857d5fa34517b73af926201166269faa5", "support" ], "docs/_running-tests/index.md": [ @@ -542664,7 +542917,7 @@ "support" ], "docs/_writing-tests/index.md": [ - "8ef1c49c0692116968994e66483a318f6f40f5d3", + "4d35975e9f1d02caf4ed0d78021d06ef8eed7648", "support" ], "docs/_writing-tests/lint-tool.md": [ @@ -542684,7 +542937,7 @@ "support" ], "docs/_writing-tests/server-features.md": [ - "d89a6d340ebb3808293d5b480772a65e765945a7", + "c9ed5970c091c7fe7aa16847b8c68783b133a25a", "support" ], "docs/_writing-tests/submission-process.md": [ @@ -542700,7 +542953,7 @@ "support" ], "docs/_writing-tests/testharness.md": [ - "154bd922b6f50ec003280616381522a24faffb14", + "569eef734f09d83c9a30eac5529087dd43e802ba", "support" ], "docs/_writing-tests/visual.md": [ @@ -554016,7 +554269,7 @@ "testharness" ], "html/dom/usvstring-reflection.html": [ - "221d4baf1cf0f7c06bef865aa8c5e01ce6436569", + "4172dd8fe39cedc772a5b7afd12201e6cbf36b90", "testharness" ], "html/editing/.gitkeep": [ @@ -558519,6 +558772,10 @@ "7c0b8b2e411236aeeed3a8b7962dc70d8a94969f", "testharness" ], + "html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html": [ + "5ca99a8e8550e55246e16980bdf5f5b65ceafd09", + "testharness" + ], "html/infrastructure/safe-passing-of-structured-data/structured_clone_blob.html": [ "2a3deba2534cad6f5e0aa85cfc3c90debcead20a", "testharness" @@ -561628,7 +561885,7 @@ "testharness" ], "html/semantics/embedded-content/media-elements/user-interface/muted.html": [ - "74deefbbc4b8f96ff4856db1c32c6428183cc040", + "758b7ed13655c906334d4541f4758f17f58b186c", "testharness" ], "html/semantics/embedded-content/media-elements/video_008.htm": [ @@ -568852,7 +569109,7 @@ "reftest" ], "infrastructure/assumptions/html-elements.html": [ - "dacd5dc7e1d723046d5e9eea0a0eb8046d501fca", + "9585f8fff4f585b8b4f31ea485f9d0195173772d", "testharness" ], "infrastructure/assumptions/initial-color-ref.html": [ @@ -568879,6 +569136,14 @@ "df47a9a9342da260175776c3406856be096d0012", "reftest" ], + "infrastructure/assumptions/non-secure-context.any.js": [ + "7fc2a5023259d6dbddf93a018409c45b891a8c86", + "testharness" + ], + "infrastructure/assumptions/secure-context.https.any.js": [ + "6f246bdc6d67a92a6518870542c20d2f8b2b5f5d", + "testharness" + ], "infrastructure/assumptions/tools/ahem-generate-table.py": [ "24ddd1f2cbd478653820899aa63c35f02d0a551c", "support" @@ -568984,7 +569249,7 @@ "support" ], "interfaces/dom.idl": [ - "773c449a2f9a6bd9e35d0dd8a4c2e1eaa0266150", + "605bb139c7695e46f8657097cf2d9bc6240a2d38", "support" ], "interfaces/fullscreen.idl": [ @@ -587688,7 +587953,7 @@ "testharness" ], "screen-orientation/lock-bad-argument.html": [ - "4d06c44e347ae7326e928ed0fd09b8ae3991e11b", + "89abd7337374b1cd4b1b33133e2f55d737f94d7c", "testharness" ], "screen-orientation/lock-basic.html": [ @@ -598019,6 +598284,10 @@ "914a0268776de98f3b608babfa5699a93a2cd723", "support" ], + "webaudio/resources/delay-testing.js": [ + "aeb4554e50589738c94600cc2ed1e84be7381cac", + "support" + ], "webaudio/resources/distance-model-testing.js": [ "0be27d8bddd91a2c4c6e54d3b52af58bff2ed023", "support" @@ -598183,26 +598452,70 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html": [ + "c732635549f5eab61f8bdce05b27f0f3e8a3f6c2", + "testharness" + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-max-nondefault-delay.html": [ + "8c1a46ae95f921d78a59473c6f1f5d12315f07e8", + "testharness" + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelay.html": [ + "d3ed5ccd10c62ca00edadcfd54cbe6a05ce2e1c0", + "testharness" + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html": [ + "2effacd5886d0af8c615f294fcd50dc4df8940f3", + "testharness" + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode-scheduling.html": [ + "6f7c363e610fe141458b77d3ca7ec69bca8012a6", + "testharness" + ], + "webaudio/the-audio-api/the-delaynode-interface/delaynode.html": [ + "622ca5f882644f183674cc07e55a69e63e5c85d9", + "testharness" + ], "webaudio/the-audio-api/the-delaynode-interface/idl-test.html": [ "8507a293b696d2d3fc51b429864373606a75eeb6", "testharness" ], + "webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html": [ + "96b405fd00ee657194de348ea46b263ba43f98a4", + "testharness" + ], "webaudio/the-audio-api/the-dynamicscompressornode-interface/.gitkeep": [ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html": [ + "6ceaf50b8cacdfa246bc997f2c8e46aefd789659", + "testharness" + ], "webaudio/the-audio-api/the-gainnode-interface/.gitkeep": [ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-gainnode-interface/gain-basic.html": [ + "70165c60c482d6507670af965756f639e7b3ba78", + "testharness" + ], "webaudio/the-audio-api/the-gainnode-interface/gain-expected.wav": [ "823f7ae1a5f5eb0c630e7d1881c50a1f710f9350", "support" ], + "webaudio/the-audio-api/the-gainnode-interface/gain.html": [ + "5f50c22eaa77f09d0fa8c6f6f5249fdbf7db4b24", + "testharness" + ], "webaudio/the-audio-api/the-gainnode-interface/idl-test.html": [ "30843d3b74e8ec33bedd849f3f2b1bbd4bcc9f5e", "testharness" ], + "webaudio/the-audio-api/the-gainnode-interface/no-dezippering.html": [ + "2205ec8f56472bd45e102cf57f10b4532b18a554", + "testharness" + ], "webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html": [ "bf2de43e568c79b96fd5b0602e26346c483162a5", "testharness" diff --git a/tests/wpt/metadata/css/CSS2/floats/floated-table-wider-than-specified.html.ini b/tests/wpt/metadata/css/CSS2/floats/floated-table-wider-than-specified.html.ini new file mode 100644 index 00000000000..ffd8cc51603 --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/floats/floated-table-wider-than-specified.html.ini @@ -0,0 +1,2 @@ +[floated-table-wider-than-specified.html] + expected: FAIL diff --git a/tests/wpt/metadata/custom-elements/Document-createElement.html.ini b/tests/wpt/metadata/custom-elements/Document-createElement.html.ini index d4651069a7a..228fc09afd7 100644 --- a/tests/wpt/metadata/custom-elements/Document-createElement.html.ini +++ b/tests/wpt/metadata/custom-elements/Document-createElement.html.ini @@ -5,3 +5,6 @@ [document.createElement must create an instance of autonomous custom elements when it has is attribute] expected: FAIL + [document.createElement()'s second argument is to be ignored when it's a string] + expected: FAIL + diff --git a/tests/wpt/metadata/custom-elements/Document-createElementNS.html.ini b/tests/wpt/metadata/custom-elements/Document-createElementNS.html.ini new file mode 100644 index 00000000000..eca647d1fac --- /dev/null +++ b/tests/wpt/metadata/custom-elements/Document-createElementNS.html.ini @@ -0,0 +1,4 @@ +[Document-createElementNS.html] + [document.createElementNS()'s third argument is to be ignored when it's a string] + expected: FAIL + diff --git a/tests/wpt/metadata/html/dom/usvstring-reflection.html.ini b/tests/wpt/metadata/html/dom/usvstring-reflection.html.ini index 09be798a7ed..22d65b148f1 100644 --- a/tests/wpt/metadata/html/dom/usvstring-reflection.html.ini +++ b/tests/wpt/metadata/html/dom/usvstring-reflection.html.ini @@ -29,3 +29,6 @@ [RTCDataChannel.send: unpaired surrogate codepoint should be replaced with U+FFFD.] expected: FAIL + [RegisterPtotocolHandler URL: unpaired surrogate codepoint should not make any exceptions.] + expected: FAIL + diff --git a/tests/wpt/metadata/html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html.ini b/tests/wpt/metadata/html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html.ini new file mode 100644 index 00000000000..c3a5aed5e44 --- /dev/null +++ b/tests/wpt/metadata/html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html.ini @@ -0,0 +1,4 @@ +[structured_clone_bigint.html] + [2.7 Safe passing of structured data] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/user-interface/muted.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/user-interface/muted.html.ini index c7c2988c68f..ff3c9651fdc 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/user-interface/muted.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/user-interface/muted.html.ini @@ -63,3 +63,15 @@ [getting video.muted with muted="" (document.write-created)] expected: FAIL + [cloning audio propagates muted (script-created)] + expected: FAIL + + [cloning audio propagates muted (innerHTML-created)] + expected: FAIL + + [cloning video propagates muted (script-created)] + expected: FAIL + + [cloning video propagates muted (innerHTML-created)] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm.ini index f983f5be3c4..25da6e476ff 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm.ini @@ -1,6 +1,5 @@ [iframe_javascript_url_01.htm] type: testharness - expected: TIMEOUT [javascript: URL creating a document in an about:blank iframe] - expected: NOTRUN + expected: FAIL diff --git a/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini index c508ae3ae71..ad64e1afe0b 100644 --- a/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini +++ b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini @@ -1,5 +1,6 @@ [shader-with-non-reserved-words.html] type: testharness + expected: TIMEOUT [WebGL test #1696: shader with: 'dmat2' failed to compile] expected: FAIL @@ -144,3 +145,6 @@ [WebGL test #1862: shader with: 'dmat4x4' failed to compile] expected: FAIL + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/floated-table-wider-than-specified.html b/tests/wpt/web-platform-tests/css/CSS2/floats/floated-table-wider-than-specified.html new file mode 100644 index 00000000000..f93d50e43dd --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/floats/floated-table-wider-than-specified.html @@ -0,0 +1,15 @@ + +Floated table that becomes wider than its specified width, due to wide contents + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-style-attr/style-attr-braces-002-quirks.htm b/tests/wpt/web-platform-tests/css/css-style-attr/style-attr-braces-002-quirks.htm index d3465d8a297..7b74d8f1f77 100644 --- a/tests/wpt/web-platform-tests/css/css-style-attr/style-attr-braces-002-quirks.htm +++ b/tests/wpt/web-platform-tests/css/css-style-attr/style-attr-braces-002-quirks.htm @@ -8,7 +8,7 @@ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/border-image-source.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/border-image-source.html new file mode 100644 index 00000000000..b9ddf19ff2e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/border-image-source.html @@ -0,0 +1,21 @@ + + +'border-image-source' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/box-sizing.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/box-sizing.html new file mode 100644 index 00000000000..551adbfe4f7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/box-sizing.html @@ -0,0 +1,21 @@ + + +'box-sizing' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/clear.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/clear.html new file mode 100644 index 00000000000..3852dd2542b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/clear.html @@ -0,0 +1,23 @@ + + +'clear' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/float.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/float.html new file mode 100644 index 00000000000..569bae34390 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/float.html @@ -0,0 +1,22 @@ + + +'float' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/font-style.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/font-style.html new file mode 100644 index 00000000000..c361e21f42a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/font-style.html @@ -0,0 +1,22 @@ + + +'font-style' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/font-weight.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/font-weight.html new file mode 100644 index 00000000000..cd6bec30df2 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/font-weight.html @@ -0,0 +1,50 @@ + + +'font-weight' property + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/line-height.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/line-height.html new file mode 100644 index 00000000000..4e35eaf786a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/line-height.html @@ -0,0 +1,35 @@ + + +'line-height' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/list-style-position.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/list-style-position.html new file mode 100644 index 00000000000..3c6724fcb6f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/list-style-position.html @@ -0,0 +1,21 @@ + + +'list-style-position' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/mask-image.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/mask-image.html new file mode 100644 index 00000000000..f306fdde92b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/mask-image.html @@ -0,0 +1,22 @@ + + +'mask-image' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/outline-style.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/outline-style.html new file mode 100644 index 00000000000..2d793f36ae6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/outline-style.html @@ -0,0 +1,29 @@ + + +'outline-style' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/overflow.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/overflow.html new file mode 100644 index 00000000000..a4692fc178d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/overflow.html @@ -0,0 +1,26 @@ + + +'overflow' properties + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/shape-outside.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/shape-outside.html new file mode 100644 index 00000000000..d514c838068 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/shape-outside.html @@ -0,0 +1,33 @@ + + +'shape-outside' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-style.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-style.html index 6bed8b625a4..956c6e578b0 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-style.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-style.html @@ -16,7 +16,9 @@ runPropertyTests('text-decoration-style', [ { syntax: 'solid' }, { syntax: 'double' }, - // and other keywords + { syntax: 'dotted' }, + { syntax: 'dashed' }, + { syntax: 'wavy' }, ]); diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/text-transform.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/text-transform.html new file mode 100644 index 00000000000..7d6e9c35774 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/text-transform.html @@ -0,0 +1,24 @@ + + +'text-transform' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/visibility.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/visibility.html index 4cfcf6576db..42a020d313a 100644 --- a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/visibility.html +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/visibility.html @@ -15,8 +15,8 @@ runPropertyTests('visibility', [ { syntax: 'visible'}, - { syntax: 'hidden' } - // and other keywords + { syntax: 'hidden' }, + { syntax: 'collapse' }, ]); diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/whitespace.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/whitespace.html new file mode 100644 index 00000000000..f050da2839e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/whitespace.html @@ -0,0 +1,24 @@ + + +'white-space' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html b/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html index 21f024c5735..ad29b91d88d 100644 --- a/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html +++ b/tests/wpt/web-platform-tests/custom-elements/Document-createElement.html @@ -50,6 +50,21 @@ test(function () { assert_true(instance2 instanceof DefinedLater); }, 'document.createElement must create an instance of autonomous custom elements when it has is attribute'); +test(() => { + class SuperP extends HTMLParagraphElement {} + customElements.define("super-p", SuperP, { extends: "p" }); + + const superP = document.createElement("p", { is: "super-p" }); + assert_true(superP instanceof HTMLParagraphElement); + assert_true(superP instanceof SuperP); + assert_equals(superP.localName, "p"); + + const notSuperP = document.createElement("p", "super-p"); + assert_true(notSuperP instanceof HTMLParagraphElement); + assert_false(notSuperP instanceof SuperP); + assert_equals(notSuperP.localName, "p"); +}, "document.createElement()'s second argument is to be ignored when it's a string"); + function assert_reports(expected, testFunction, message) { var uncaughtError = null; window.onerror = function (message, url, lineNumber, columnNumber, error) { uncaughtError = error; return true; } diff --git a/tests/wpt/web-platform-tests/custom-elements/Document-createElementNS.html b/tests/wpt/web-platform-tests/custom-elements/Document-createElementNS.html index 4cc4561f54c..6377ba63fca 100644 --- a/tests/wpt/web-platform-tests/custom-elements/Document-createElementNS.html +++ b/tests/wpt/web-platform-tests/custom-elements/Document-createElementNS.html @@ -49,5 +49,20 @@ test(() => { assert_false(element instanceof MyBuiltinElement2); assert_false(element.hasAttribute('is')); }, 'builtin: document.createElementNS should check namespaces.'); + +test(() => { + class SuperP extends HTMLParagraphElement {} + customElements.define("super-p", SuperP, { extends: "p" }); + + const superP = document.createElementNS("http://www.w3.org/1999/xhtml", "p", { is: "super-p" }); + assert_true(superP instanceof HTMLParagraphElement); + assert_true(superP instanceof SuperP); + assert_equals(superP.localName, "p"); + + const notSuperP = document.createElementNS("http://www.w3.org/1999/xhtml", "p", "super-p"); + assert_true(notSuperP instanceof HTMLParagraphElement); + assert_false(notSuperP instanceof SuperP); + assert_equals(notSuperP.localName, "p"); +}, "document.createElementNS()'s third argument is to be ignored when it's a string"); diff --git a/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md b/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md index 62a2028eb4e..cf05a59425a 100644 --- a/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md +++ b/tests/wpt/web-platform-tests/docs/_running-tests/chrome_android.md @@ -1,9 +1,9 @@ -To run WPT on Chrome on an android device, some additional set up is required. +To run WPT on Chrome on an Android device, some additional set up is required. First of all, as usual Android development, we need to have `adb` and be able to connect to the device. -Furthermore, until we find a better way, we need to root the android device and +Furthermore, until we find a better way, we need to root the Android device and update the /etc/hosts file to include ``` diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/index.md b/tests/wpt/web-platform-tests/docs/_writing-tests/index.md index 6454eb1edac..3922d7a4cc4 100644 --- a/tests/wpt/web-platform-tests/docs/_writing-tests/index.md +++ b/tests/wpt/web-platform-tests/docs/_writing-tests/index.md @@ -40,6 +40,9 @@ first two, and it is at times advisable to use testharness.js tests for things which would typically be tested using reftests but for which it would be overly cumbersome. +See [file names][] for test types and features determined by the file names, +and [server features][] for advanced testing features. + In addition to the four main test types, there are also WebDriver tests, which are used exclusively for testing the WebDriver protocol itself. There is currently no documentation about these tests, @@ -52,8 +55,10 @@ the [typical GitHub Pull Request workflow][submission-process]; please make sure you run the [`lint` script][lint-tool] before opening a pull request! [introduction]: {{ site.baseurl }}{% link introduction.md %} +[file names]: {{ site.baseurl }}{% link _writing-tests/file-names.md %} [general guidelines]: {{ site.baseurl }}{% link _writing-tests/general-guidelines.md %} [reftests]: {{ site.baseurl }}{% link _writing-tests/reftests.md %} +[server features]: {{ site.baseurl }}{% link _writing-tests/server-features.md %} [testharness.js]: {{ site.baseurl }}{% link _writing-tests/testharness.md %} [visual]: {{ site.baseurl }}{% link _writing-tests/visual.md %} [manual]: {{ site.baseurl }}{% link _writing-tests/manual.md %} diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md b/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md index b8f50ab2e4f..495426a8e2a 100644 --- a/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md +++ b/tests/wpt/web-platform-tests/docs/_writing-tests/server-features.md @@ -8,8 +8,8 @@ order: 12 Certain test scenarios require more than just static HTML generation. This is supported through the -[wptserve](http://wptserve.readthedocs.io) server. Several scenarios -in particular are common: +[wptserve](http://wptserve.readthedocs.io) server, and controlled by +[file name flags][file names]. Several scenarios in particular are common: ### Tests Involving Multiple Origins @@ -85,3 +85,6 @@ responses. It also provides the ability to write Python scripts that have access to request data and can manipulate the content and timing of the response. For details see the [wptserve documentation](https://wptserve.readthedocs.org). + + +[file names]: {{ site.baseurl }}{% link _writing-tests/file-names.md %} diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md index 84aef5887b6..96a36ceb5e2 100644 --- a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md +++ b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md @@ -16,8 +16,8 @@ documented in two sections: * [idlharness.js Documentation][idlharness] — A library for testing IDL interfaces using `testharness.js`. -As always, we recommend reading over the [general guidelines][] for -all test types. +See [server features][] for advanced testing features that are commonly used +with testharness.js. See also the [general guidelines][] for all test types. ## Auto-generated test boilerplate @@ -103,3 +103,4 @@ Use `// META: timeout=long` at the beginning of the resource. [general guidelines]: {{ site.baseurl }}{% link _writing-tests/general-guidelines.md %} [testharness-api]: {{ site.baseurl }}{% link _writing-tests/testharness-api.md %} [idlharness]: {{ site.baseurl }}{% link _writing-tests/idlharness.md %} +[server features]: {{ site.baseurl }}{% link _writing-tests/server-features.md %} diff --git a/tests/wpt/web-platform-tests/html/dom/usvstring-reflection.html b/tests/wpt/web-platform-tests/html/dom/usvstring-reflection.html index edbf4e2442b..b9c06d824ec 100644 --- a/tests/wpt/web-platform-tests/html/dom/usvstring-reflection.html +++ b/tests/wpt/web-platform-tests/html/dom/usvstring-reflection.html @@ -104,10 +104,18 @@ test(() => { } }, "sendBeacon URL: unpaired surrogate codepoint should not make any exceptions.") +test(() => { + // This shouldn't throw an exception. + window.navigator.registerProtocolHandler('web+myprotocol', "custom-scheme\uD800/url=%s", "title"); +}, "RegisterPtotocolHandler URL: unpaired surrogate codepoint should not make any exceptions.") + test(() => { var w = window.open("about:blank#\uD800"); assert_equals(w.document.URL, 'about:blank#%EF%BF%BD'); assert_equals(w.document.documentURI, 'about:blank#%EF%BF%BD'); + // TODO(gyuyoung): How to test document.origin? When opening a URL with an + // unpaired surrogate codepoint, invalid URL exception happens. + // e.g) var w = window.open("http://test.com\uDB89"); }, "Document URLs: unpaired surrogate codepoint should be replaced with U+FFFD") promise_test(t => { diff --git a/tests/wpt/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html b/tests/wpt/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html new file mode 100644 index 00000000000..e51837b6ffc --- /dev/null +++ b/tests/wpt/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/structured_clone_bigint.html @@ -0,0 +1,76 @@ + + + + + 2.7 Safe passing of structured data + + + + + +
+ + + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/user-interface/muted.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/user-interface/muted.html index 906350d88c8..eb6d2ac688d 100644 --- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/user-interface/muted.html +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/user-interface/muted.html @@ -148,5 +148,22 @@ async_test(function(t) { assert_true(m.hasAttribute('muted')); assert_true(m.muted); }, 'getting ' + tagName + '.muted with muted="" (document.write-created)'); + + test(function() { + var m = document.createElement(tagName); + m.setAttribute('muted', ''); + + var c = m.cloneNode(true); + assert_true(c.muted); + }, 'cloning ' + tagName + ' propagates muted (script-created)'); + + test(function() { + var div = document.createElement('div'); + div.innerHTML = '<' + tagName + ' muted>'; + m = div.firstChild; + + var c = m.cloneNode(true); + assert_true(c.muted); + }, 'cloning ' + tagName + ' propagates muted (innerHTML-created)'); }); diff --git a/tests/wpt/web-platform-tests/infrastructure/assumptions/html-elements.html b/tests/wpt/web-platform-tests/infrastructure/assumptions/html-elements.html index 6be17b1aba2..1cfe1d1fee5 100644 --- a/tests/wpt/web-platform-tests/infrastructure/assumptions/html-elements.html +++ b/tests/wpt/web-platform-tests/infrastructure/assumptions/html-elements.html @@ -10,7 +10,7 @@ div.b { all: initial; direction: initial; - unicode-bidi: initial; + unicode-bidi: isolate; display: block; } diff --git a/tests/wpt/web-platform-tests/infrastructure/assumptions/non-secure-context.any.js b/tests/wpt/web-platform-tests/infrastructure/assumptions/non-secure-context.any.js new file mode 100644 index 00000000000..c05689fe760 --- /dev/null +++ b/tests/wpt/web-platform-tests/infrastructure/assumptions/non-secure-context.any.js @@ -0,0 +1,9 @@ +test(() => { + assert_false(self.isSecureContext); +}, "Lack of .https file name flag implies non-secure context"); + +test(() => { + assert_equals(location.protocol, "http:"); +}, "Lack of .https file name flag implies HTTP scheme"); + +done(); diff --git a/tests/wpt/web-platform-tests/infrastructure/assumptions/secure-context.https.any.js b/tests/wpt/web-platform-tests/infrastructure/assumptions/secure-context.https.any.js new file mode 100644 index 00000000000..99f6c4c0894 --- /dev/null +++ b/tests/wpt/web-platform-tests/infrastructure/assumptions/secure-context.https.any.js @@ -0,0 +1,9 @@ +test(() => { + assert_true(self.isSecureContext); +}, "Use of .https file name flag implies secure context"); + +test(() => { + assert_equals(location.protocol, "https:"); +}, "Use of .https file name flag implies HTTPS scheme"); + +done(); diff --git a/tests/wpt/web-platform-tests/interfaces/dom.idl b/tests/wpt/web-platform-tests/interfaces/dom.idl index 90419f083f8..e97f803f821 100644 --- a/tests/wpt/web-platform-tests/interfaces/dom.idl +++ b/tests/wpt/web-platform-tests/interfaces/dom.idl @@ -266,8 +266,8 @@ interface Document : Node { HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName); HTMLCollection getElementsByClassName(DOMString classNames); - [NewObject] Element createElement(DOMString localName, optional ElementCreationOptions options); - [NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional ElementCreationOptions options); + [NewObject] Element createElement(DOMString localName, optional (DOMString or ElementCreationOptions) options); + [NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (DOMString or ElementCreationOptions) options); [NewObject] DocumentFragment createDocumentFragment(); [NewObject] Text createTextNode(DOMString data); [NewObject] CDATASection createCDATASection(DOMString data); diff --git a/tests/wpt/web-platform-tests/screen-orientation/lock-bad-argument.html b/tests/wpt/web-platform-tests/screen-orientation/lock-bad-argument.html index df27ac21d29..222b9ab5f94 100644 --- a/tests/wpt/web-platform-tests/screen-orientation/lock-bad-argument.html +++ b/tests/wpt/web-platform-tests/screen-orientation/lock-bad-argument.html @@ -4,69 +4,24 @@ diff --git a/tests/wpt/web-platform-tests/tools/wpt/browser.py b/tests/wpt/web-platform-tests/tools/wpt/browser.py index 86580f9c58b..18eadffbbf7 100644 --- a/tests/wpt/web-platform-tests/tools/wpt/browser.py +++ b/tests/wpt/web-platform-tests/tools/wpt/browser.py @@ -45,12 +45,6 @@ class Browser(object): """Name of the browser-specific wptrunner requirements file""" return NotImplemented - def prepare_environment(self): - """Do any additional setup of the environment required to start the - browser successfully - """ - pass - class Firefox(Browser): """Firefox-specific interface. @@ -262,26 +256,6 @@ class Chrome(Browser): output = call(self.binary, "--version") return re.search(r"[0-9\.]+( [a-z]+)?$", output.strip()).group(0) - def prepare_environment(self): - # https://bugs.chromium.org/p/chromium/issues/detail?id=713947 - logger.debug("DBUS_SESSION_BUS_ADDRESS %s" % os.environ.get("DBUS_SESSION_BUS_ADDRESS")) - if "DBUS_SESSION_BUS_ADDRESS" not in os.environ: - if find_executable("dbus-launch"): - logger.debug("Attempting to start dbus") - dbus_conf = subprocess.check_output(["dbus-launch"]) - logger.debug(dbus_conf) - - # From dbus-launch(1): - # - # > When dbus-launch prints bus information to standard output, - # > by default it is in a simple key-value pairs format. - for line in dbus_conf.strip().split("\n"): - key, _, value = line.partition("=") - os.environ[key] = value - else: - logger.critical("dbus not running and can't be started") - sys.exit(1) - class ChromeAndroid(Browser): """Chrome-specific interface for Android. @@ -364,26 +338,6 @@ class Opera(Browser): output = call(self.binary, "--version") return re.search(r"[0-9\.]+( [a-z]+)?$", output.strip()).group(0) - def prepare_environment(self): - # https://bugs.chromium.org/p/chromium/issues/detail?id=713947 - logger.debug("DBUS_SESSION_BUS_ADDRESS %s" % os.environ.get("DBUS_SESSION_BUS_ADDRESS")) - if "DBUS_SESSION_BUS_ADDRESS" not in os.environ: - if find_executable("dbus-launch"): - logger.debug("Attempting to start dbus") - dbus_conf = subprocess.check_output(["dbus-launch"]) - logger.debug(dbus_conf) - - # From dbus-launch(1): - # - # > When dbus-launch prints bus information to standard output, - # > by default it is in a simple key-value pairs format. - for line in dbus_conf.strip().split("\n"): - key, _, value = line.partition("=") - os.environ[key] = value - else: - logger.critical("dbus not running and can't be started") - sys.exit(1) - class Edge(Browser): """Edge-specific interface.""" diff --git a/tests/wpt/web-platform-tests/webaudio/resources/delay-testing.js b/tests/wpt/web-platform-tests/webaudio/resources/delay-testing.js new file mode 100644 index 00000000000..9033da6730f --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/resources/delay-testing.js @@ -0,0 +1,66 @@ +let sampleRate = 44100.0; + +let renderLengthSeconds = 4; +let delayTimeSeconds = 0.5; +let toneLengthSeconds = 2; + +function createToneBuffer(context, frequency, numberOfCycles, sampleRate) { + let duration = numberOfCycles / frequency; + let sampleFrameLength = duration * sampleRate; + + let audioBuffer = context.createBuffer(1, sampleFrameLength, sampleRate); + + let n = audioBuffer.length; + let data = audioBuffer.getChannelData(0); + + for (let i = 0; i < n; ++i) + data[i] = Math.sin(frequency * 2.0 * Math.PI * i / sampleRate); + + return audioBuffer; +} + +function checkDelayedResult(renderedBuffer, toneBuffer, should) { + let sourceData = toneBuffer.getChannelData(0); + let renderedData = renderedBuffer.getChannelData(0); + + let delayTimeFrames = delayTimeSeconds * sampleRate; + let toneLengthFrames = toneLengthSeconds * sampleRate; + + let success = true; + + let n = renderedBuffer.length; + + for (let i = 0; i < n; ++i) { + if (i < delayTimeFrames) { + // Check that initial portion is 0 (since signal is delayed). + if (renderedData[i] != 0) { + should( + renderedData[i], 'Initial portion expected to be 0 at frame ' + i) + .beEqualTo(0); + success = false; + break; + } + } else if (i >= delayTimeFrames && i < delayTimeFrames + toneLengthFrames) { + // Make sure that the tone data is delayed by exactly the expected number + // of frames. + let j = i - delayTimeFrames; + if (renderedData[i] != sourceData[j]) { + should(renderedData[i], 'Actual data at frame ' + i) + .beEqualTo(sourceData[j]); + success = false; + break; + } + } else { + // Make sure we have silence after the delayed tone. + if (renderedData[i] != 0) { + should(renderedData[j], 'Final portion at frame ' + i).beEqualTo(0); + success = false; + break; + } + } + } + + should( + success, 'Delaying test signal by ' + delayTimeSeconds + ' sec was done') + .message('correctly', 'incorrectly') +} diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html new file mode 100644 index 00000000000..ef526c96ffc --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html @@ -0,0 +1,49 @@ + + + + + delaynode-max-default-delay.html + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-nondefault-delay.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-nondefault-delay.html new file mode 100644 index 00000000000..3be07255e15 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-nondefault-delay.html @@ -0,0 +1,51 @@ + + + + + delaynode-max-nondefault-delay.html + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelay.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelay.html new file mode 100644 index 00000000000..a43ceeb7be9 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelay.html @@ -0,0 +1,54 @@ + + + + + delaynode-maxdelay.html + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html new file mode 100644 index 00000000000..3f4c0208fdd --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html @@ -0,0 +1,60 @@ + + + + + delaynode-maxdelaylimit.html + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-scheduling.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-scheduling.html new file mode 100644 index 00000000000..af6c54950a1 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-scheduling.html @@ -0,0 +1,51 @@ + + + + + delaynode-scheduling.html + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode.html new file mode 100644 index 00000000000..da508e439fb --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode.html @@ -0,0 +1,61 @@ + + + + + delaynode.html + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html new file mode 100644 index 00000000000..7857cf16aa0 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html @@ -0,0 +1,183 @@ + + + + + Test DelayNode Has No Dezippering + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html new file mode 100644 index 00000000000..6c602010d0e --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html @@ -0,0 +1,48 @@ + + + + + dynamicscompressor-basic.html + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/gain-basic.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/gain-basic.html new file mode 100644 index 00000000000..de2ba11a7f3 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/gain-basic.html @@ -0,0 +1,37 @@ + + + + + + gain-basic.html + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/gain.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/gain.html new file mode 100644 index 00000000000..cff609de4b7 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/gain.html @@ -0,0 +1,154 @@ + + + + + Basic GainNode Functionality + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/no-dezippering.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/no-dezippering.html new file mode 100644 index 00000000000..6326d00dfb7 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/no-dezippering.html @@ -0,0 +1,121 @@ + + + + + Gain Dezippering Test: Dezippering Removed + + + + + + + + + +