diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index b2f0c2fddea..8cdeec9920b 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -11314,7 +11314,7 @@ ] ], "device-goes-out-of-range.html": [ - "2c2fae692819d17813a9a4d6a205e721aeb1c2e4", + "cac0556134e28297cc12bcc90ea9ec76e16b080b", [ null, {} @@ -11383,7 +11383,7 @@ }, "getCharacteristic": { "blocklisted-characteristic.html": [ - "89768ed86cc8cbc008369c5ec39f9bddbdc130f1", + "63a2f9e4ad5eca831ec4130cdf6d9e7d24f00d46", [ null, {} @@ -11397,35 +11397,35 @@ ] ], "characteristic-not-found.html": [ - "636d5cc88a2fd2f7cd0cff508eb4729e95ebad93", + "612540a0d6d8ef2a77211cb01745aec42228eba7", [ null, {} ] ], "device-goes-out-of-range.html": [ - "ff3e01fc13b920efd4c34a5dba3f783c5815901a", + "9cada4dabad5ce6bb3d413dbdeefb54598cc66bd", [ null, {} ] ], "disconnect-called-before.html": [ - "78d744ccc12dd82accbb777fb5b83a84772d2a81", + "a1c4c622c97d023c8df78adb85f1fd06f170c8b6", [ null, {} ] ], "disconnect-called-during.html": [ - "2138af95a6adf5bface296e2ac890067d731f1fc", + "c7ef9db3f2d7cd3c0531091c15320d6dbae893ea", [ null, {} ] ], "disconnect-invalidates-object.html": [ - "aceedac5a50d0c50fc9bfe5bd7c168fb41d6ce95", + "5c6b145bb5e0e6f0245d4f71e6f879896f521a95", [ null, {} @@ -11446,21 +11446,21 @@ ] ], "invalid-characteristic-name.html": [ - "7ccecfe181ebb70550974254ed0bbc9395839c7e", + "0711a88ca6a98094a00823a08d6d220a316b47b4", [ null, {} ] ], "reconnect-during.html": [ - "17380f495198ee15cc11c60dd8cc561cfb8c4b79", + "cec1dbbf3adc1828c87b748ea294ef606027fc52", [ null, {} ] ], "service-is-removed.html": [ - "125c96855d2c5784932794d95365f5e5bcb6c205", + "ef9ed4919cd4f77effe066157e969af37a2cbde8", [ null, {} @@ -11469,14 +11469,14 @@ }, "getCharacteristics": { "blocklisted-characteristics-with-uuid.html": [ - "f6e6122db5a69a9aae4563b29870075b915864e1", + "5d21e84acc19afc5f0ae8582100d78bbf5c50ad1", [ null, {} ] ], "blocklisted-characteristics.html": [ - "29fe51b6ac06ec4ae727f5afb444f006db5daae8", + "b27285ecba587af7e5d651c2861d34be3a85ff5a", [ null, {} @@ -11497,14 +11497,14 @@ ] ], "characteristics-not-found-with-uuid.html": [ - "777202ec4f80fbfe167fc9eefb26605898ac8a82", + "e58bc56820a5a1560b91c97b71ecdb0984dbe8a8", [ null, {} ] ], "characteristics-not-found.html": [ - "73dc6946e37e8b936c82efae0c600a900ef9aa4e", + "f5ddd51a4bf59bf0c73eac722039d30f8fe65515", [ null, {} @@ -11518,49 +11518,49 @@ ] ], "device-goes-out-of-range-with-uuid.html": [ - "7cd657423e715adbfdcc2769cc8bb48b0c5d8d35", + "1fc4d0daf96dae185c79390c1e9231fe3aa512fd", [ null, {} ] ], "device-goes-out-of-range.html": [ - "64cd88c116461b48dad19bcfe2e8f8aace21d7cb", + "2e83e479619e0de2f06145b0959fee9fbc197dbf", [ null, {} ] ], "disconnect-called-before-with-uuid.html": [ - "27c2c9ee74873611547327e8224e9659ae9e8bab", + "6d72d17ed95f9e5812c740cd77a66a90c21ad9be", [ null, {} ] ], "disconnect-called-before.html": [ - "4d5b4ad7ec852f1ee6940bb84a0d8ad588520185", + "c49b82989ac99b9bd3f11c566b7a3e1cc75f968f", [ null, {} ] ], "disconnect-called-during-with-uuid.html": [ - "0b6a91bfbcfdb7bbcc041315ce306eb8eeb9e4c4", + "9050d4369e7a228ee6dd11784cedb6630a9d1f71", [ null, {} ] ], "disconnect-called-during.html": [ - "83c1d46900bbcf519380cf816cc8b78bb35cab9b", + "fed74b86bb5a7026cd55ab98318c37f9ab85b015", [ null, {} ] ], "disconnect-invalidates-objects.html": [ - "a80ab4bbb878d127205a81c907338db3429ea14b", + "d4c0fc4f7e87a8318a57102d87e1e3d368b71810", [ null, {} @@ -11581,21 +11581,21 @@ ] ], "invalid-characteristic-name.html": [ - "4f5bdfc0e181b8e8c36b1929cb1d31951bc53ca6", + "54d6db8fbe16d9d7234e2e261e4d40ae2fc3a02f", [ null, {} ] ], "service-is-removed-with-uuid.html": [ - "fb1c95a71e2d0bb8ec232abd6618f3630e121fe2", + "f94dc3894ca52b54b6d5a63f819306aed495f0cc", [ null, {} ] ], "service-is-removed.html": [ - "71ee3a18d3aa19ae189c38b5c6877f6d8c843b44", + "36f3c748cd188d62e020a351c746bc190451df3d", [ null, {} @@ -11604,14 +11604,14 @@ }, "getDescriptor": { "blocklisted-descriptor.html": [ - "03478b396e5df68905c34a66c1b6268663c2400b", + "5f086fd4f187c5e41ba5208e269f586e8e05cbd6", [ null, {} ] ], "characteristic-is-removed.html": [ - "8dfb9ed8fedd2887deb605daf35d018c59b4a780", + "8dec982e5132f479a64628647465f5d4c5197a1e", [ null, {} @@ -11625,35 +11625,35 @@ ] ], "descriptor-not-found.html": [ - "2547b8a8063fa5109a0bf09e3953d6f87b8cfed9", + "b4f43e520ea2d27e21d83872744ec3d5ac11348c", [ null, {} ] ], "device-goes-out-of-range.html": [ - "5fbc947d6b8449645c3c8f0608ce83650a05526e", + "f8be5e53863d8e71db73d35e3954373c751f6373", [ null, {} ] ], "disconnect-called-before.html": [ - "561d066c6c5ac1f35dce613ddea1278e6733d7cf", + "60bb1b1f709201495cb3d2869277f450f1c3f6a0", [ null, {} ] ], "disconnect-called-during.html": [ - "647a61960b1c2ccd7858577701da54802f582d66", + "f58611492342de6e67a5dd6c46df5c675b5cfeaf", [ null, {} ] ], "disconnect-invalidates-object.html": [ - "7d7fb2096661d6f17379cda1ed3a377b0eabfa25", + "5dd3f43b8b16e7110201620f18d389bbddef4961", [ null, {} @@ -11674,7 +11674,7 @@ ] ], "invalid-descriptor-name.html": [ - "daf5085c8499e882e9d66a3b61728556d75c5a0b", + "fc08a3fe764357dc41d9da6b63a3a4f4dd216058", [ null, {} @@ -11683,7 +11683,7 @@ }, "getDescriptors": { "blocklisted-descriptors-with-uuid.html": [ - "dc79f6117f178ae288025d9861c2caa2a0b3b054", + "b618103ce897ea823e028771770860e5f76a3c7e", [ null, {} @@ -11697,14 +11697,14 @@ ] ], "characteristic-is-removed-with-uuid.html": [ - "9c941681b510d2552a0369896c556bb4ed664d72", + "8379848160213d2c5dc13cd43c91fe02a5b7456d", [ null, {} ] ], "characteristic-is-removed.html": [ - "00c0dc9b3a088acf05812dec2cb1b84cd4ad9841", + "e0cbc3de845e8ef9f1a6e7910979b3c148e3257b", [ null, {} @@ -11732,63 +11732,63 @@ ] ], "descriptors-not-found-with-uuid.html": [ - "5597854b9024bf297bdc15547c0707ff5c6ec3a8", + "7aa554bb716150cc74b07c51e754fdf62edd2085", [ null, {} ] ], "descriptors-not-found.html": [ - "81a2b9e0f2eaa332d657c8c8894c8c14d749be52", + "3c1f013a0ccff6a80067e6e02e04f6c7edef76cf", [ null, {} ] ], "device-goes-out-of-range-with-uuid.html": [ - "1d66b23b494f3469081facadf741b56f1446729a", + "6f1576b4e1e0fb1f41a037f58d2da3e6337350fa", [ null, {} ] ], "device-goes-out-of-range.html": [ - "aeeda110349367eda3fe21bb9df8e6ede6a8b2df", + "36883eb0a711aea19b4a244bdb000521c0b11f6a", [ null, {} ] ], "disconnect-called-before-with-uuid.html": [ - "e5ec70f1aa4bc62c86dfc4ff482d6c2d86dabd77", + "790ac27e2bada4e9a6d71b6d7c89ca98cdd14e40", [ null, {} ] ], "disconnect-called-before.html": [ - "2b82aeb7018a3350aa4a4aecb57dd19c9681dc50", + "40238e27487986bcaeb6c16bdbfbf5d9c30afee5", [ null, {} ] ], "disconnect-called-during-with-uuid.html": [ - "0bd5677bca783f6471197dbb1defc31da9f354fc", + "9db9c33d11807b00ffe65fb1fc342d3fd006a407", [ null, {} ] ], "disconnect-called-during.html": [ - "63c9b20eb423afd85de24f3fdfe4153caa77838e", + "6de07a73c90412117e4bfffbd5912bdde3888de2", [ null, {} ] ], "disconnect-invalidates-objects.html": [ - "0cd9675758b69b3ea9e76a36f2defe31fd397c69", + "026239e201dac265a0cdd87ab32910a7afe16c04", [ null, {} @@ -11809,7 +11809,7 @@ ] ], "invalid-descriptor-name.html": [ - "3a90d51c8e7b09034640edf88c8803c17868a3be", + "0bf3e26ae0e2bf33f68f951b0b85aaf5131394d7", [ null, {} @@ -11818,35 +11818,35 @@ }, "getPrimaryService": { "device-goes-out-of-range.html": [ - "b5727d7d2c6ca8e127cb56e6d6a9e12de414256f", + "122a80ae0d5177798d9967a86a46c82870567500", [ null, {} ] ], "disconnect-called-before.html": [ - "75fdefb573bece24b9bc6ca57eda88e048048499", + "010e62f3b8fda82d75372d6ecd22e40879d7d552", [ null, {} ] ], "disconnect-called-during.html": [ - "4c5de5ec56768f11cf5694e48dd7d7289863c558", + "50918e9548238ec53646d620b2fe1e0b319c2d2d", [ null, {} ] ], "disconnect-invalidates-object.html": [ - "e5914b9357573b4904eb4401b5776ed290344a88", + "1581adc5c810004b978731716fd8e8e4a2257d02", [ null, {} ] ], "disconnected-device.html": [ - "15791a329b441a50405b547a8b93e153861a32e5", + "09668d9ad0eebbc5c858e472f3961fda2f5e154f", [ null, {} @@ -11867,21 +11867,21 @@ ] ], "invalid-service-name.html": [ - "479747c7aab9ccd919a81cc106d5a108a402dc89", + "fab37cffc564a37452ce6f5c40579cf1cb3dc28e", [ null, {} ] ], "no-permission-absent-service.html": [ - "22b7d47755f3a55e764434e77fc184c73f6dafcf", + "c57fd200f30e420138e77f9d4801059142349fd9", [ null, {} ] ], "no-permission-present-service.html": [ - "3aff9b9798bb517487afc34c84ff26e81ebaeaae", + "ccd03084d28e82113c83b23c7c31b95eab1e1362", [ null, {} @@ -11895,7 +11895,7 @@ ] ], "service-not-found.html": [ - "4ee55337813b157182cef54fab55e999cc1b971f", + "bc94d379202813750989460696feb9db620475f1", [ null, {} @@ -11904,7 +11904,7 @@ }, "getPrimaryServices": { "blocklisted-services-with-uuid.html": [ - "36a6c968519b7acc0637750c85b61a84b3895988", + "690460119a24c87ce3cce67179c30bf093114dd4", [ null, {} @@ -11925,63 +11925,63 @@ ] ], "device-goes-out-of-range-with-uuid.html": [ - "da7663e911d8d8dd0e757474587ed9e062bf0cc5", + "2c3b3f88aa11f79c73976fa7ffde61e1a76020a6", [ null, {} ] ], "device-goes-out-of-range.html": [ - "d507d7364de625909d703ec10e1a736aa0316d6a", + "3a17c5e42fb953f464c9c3f2cd99b317097c2f47", [ null, {} ] ], "disconnect-called-before-with-uuid.html": [ - "688b879685f16a5d8ab5867b6a34ffda0af32793", + "653551fee859818d8b647c7108395b6e18aa2145", [ null, {} ] ], "disconnect-called-before.html": [ - "972ab89d2e2d4f2389b33d63afd710c6a4bd5993", + "0ed52b3bf86a6741371e1ce4e803cfda985347dd", [ null, {} ] ], "disconnect-called-during-with-uuid.html": [ - "fd69a0a641863412a7b40f5aba7bcaf753af81ba", + "8867d762e58481feb0dbbb2f03136ba63c66e497", [ null, {} ] ], "disconnect-called-during.html": [ - "3fd0326d1a3f219769874b7805e16e691b0a2292", + "8864d9cc7ac5aaed80194a2c4f712d4640f2b026", [ null, {} ] ], "disconnect-invalidates-objects.html": [ - "e505e561de25fd7b17afae0e134e3d242d7c80b6", + "e1e7bb6fc7fd2f5e6493e09ad0ad579517486076", [ null, {} ] ], "disconnected-device-with-uuid.html": [ - "891c8067d98cf628d5f9c80a5e5560c5d12e7610", + "b11902872ec97be2e0e2f05d1e5646a163a0fa93", [ null, {} ] ], "disconnected-device.html": [ - "4e5f9422f3754dd7533b35ab2c35cac78fc235e1", + "d96cdf56aa7ac5f7df7a6e6f916065974db5cad8", [ null, {} @@ -12009,28 +12009,28 @@ ] ], "invalid-service-name.html": [ - "5cc3ac8a49a2296986012a7468656cb27ebeb79e", + "df7b35e6d295b30cbf9f3e4b6670c5ee5f22e081", [ null, {} ] ], "no-permission-absent-service-with-uuid.html": [ - "7b40c1a88a755d0689b288b20aa54ba64ac18e3a", + "57482ed5eb4d3c89d6469d7fb2bef6d5f53807da", [ null, {} ] ], "no-permission-present-service-with-uuid.html": [ - "ebfdac1efe5adc6d50e3971fa23a87b8c37e3434", + "93b488270a421c8893613e50c1d1425c515defed", [ null, {} ] ], "no-permission-present-service.html": [ - "d2f3f139e4a4ebe1154d10c98c5da2e4110518fc", + "d17d8269e90f919d25e0801e5f7db76529ddcb5c", [ null, {} @@ -12051,14 +12051,14 @@ ] ], "services-not-found-with-uuid.html": [ - "dab32a538bb839b223baf05a71cae64f8224ddc4", + "6821dc8caa67219a9c9a6dfb3db8d2b40b1d3f99", [ null, {} ] ], "services-not-found.html": [ - "23492bcaed9c8877777aea74e4189f7817cd71df", + "b8bac49bf9953781c5cf5ade4b1d953dbe0af1ad", [ null, {} @@ -12082,35 +12082,35 @@ "readValue": { "characteristic": { "blocklisted-characteristic.html": [ - "6088bbac63a1a8b1e23d88112ef85b001f011818", + "4cb5c8ed2072ad90ec2d72bfcab0ea1aeb341de7", [ null, {} ] ], "characteristic-is-removed.html": [ - "f4c16516cbf69bdd87aebc3522480c8b95db71c6", + "e6e8e18b2224ec859f3acbcf24bac9aa1778ca96", [ null, {} ] ], "device-goes-out-of-range.html": [ - "1eb38ea7f48986c8ecf82857940bfdd67be8abb2", + "6cf000eb5f8d29b1e158a4de0e13d2b66b4da44b", [ null, {} ] ], "disconnect-called-before.html": [ - "560f83a762eebb4c1258c166743b8244fd7a9950", + "3c800acfa1d58b82f6dba100a16dcc10f5d3be45", [ null, {} ] ], "disconnect-called-during.html": [ - "52521969a1bece7a17e1480aded33a3c0d61e7c4", + "7e0f7fedb5e03a67d84f6ab1a7ff984ec1564623", [ null, {} @@ -12138,7 +12138,7 @@ ] ], "service-is-removed.html": [ - "ab968427360fa9a1f5fc5f55feb4830319690ecd", + "b83296d4207ff4cad0a5aa6532f6a3d0242889e7", [ null, {} @@ -12147,35 +12147,35 @@ }, "descriptor": { "blocklisted-descriptor.html": [ - "a570eb0f318e05309fc2d984eb250383cb6396c1", + "215250fb37eca53967c77b88f908da5b3d08f55f", [ null, {} ] ], "characteristic-is-removed.html": [ - "b6efe288f8936e0bc6c1ce1198d4738a3feeb7d5", + "080f3729dae5c40fa42a45266f149e1a10772e47", [ null, {} ] ], "descriptor-is-removed.html": [ - "9891d9aa7ae601f0fb1f55560faf80b0f7d7ec1f", + "60501466a95b4d1c2e56259ecb0ec7c4aeafe0ce", [ null, {} ] ], "device-goes-out-of-range.html": [ - "23ecadc835440cd31d2090e82efb0251918275fb", + "8a4be2e0b72c758aa918d90eee0897c059d925e6", [ null, {} ] ], "disconnect-called-before.html": [ - "e09ceae12cac6ef0c77de3023a37c5a0571d7869", + "8459097f4b4cfd666ee027e0291669d8c3e93ff2", [ null, {} @@ -12196,7 +12196,7 @@ ] ], "service-is-removed.html": [ - "4cd7130dad20891986f057a1e4217b5f152003d1", + "40ccb33d0b64e3d5a7e2db4131beabe8519b2156", [ null, {} @@ -12207,7 +12207,7 @@ "requestDevice": { "acceptAllDevices": { "accept-all-devices-with-filter.html": [ - "b9c9b3563721c6e2620b148e419ae4130f692438", + "713ee87ce76abe4c52aa81dc921506b06a92d4ce", [ null, {} @@ -12242,7 +12242,7 @@ ] ], "optional-services-missing.html": [ - "87a05bcf6b114f282013e9fcfbfcc6946a7cfc9d", + "2ea18dea172b411018702263103d7b09afa71cb7", [ null, {} @@ -12257,28 +12257,28 @@ ] }, "adapter-not-present.html": [ - "d793d5c650577dc7b593a284bc5e226772566c76", + "e7cbe0ebc0c6ab368cd7a9abf311ce8769c3eda4", [ null, {} ] ], "adapter-off.html": [ - "d3760c94f58c1b30aaa5ab0f6c59d69d0a2f3377", + "8e119df660cb103daaef71caf12de99aebcb0355", [ null, {} ] ], "blocklisted-service-in-filter.html": [ - "e9fdc7f4f34ac5c42c0c8d061aa24b85b5f1db30", + "d9f5fc84d43052bd626e86a3e0e09ae2f12aa0be", [ null, {} ] ], "blocklisted-service-in-optionalServices.html": [ - "1477eeed6b77577979a1d6b4831e2686dd06891f", + "525a30056f0e1c0215dbb89fed5a9cd49de638d7", [ null, {} @@ -12286,84 +12286,84 @@ ], "canonicalizeFilter": { "blocklisted-service-data-key.html": [ - "611586b68aca2c3ce6a4d6d53c705a17244bcd51", + "75bd27bf465d2e93778a16e9f32900be680c9f52", [ null, {} ] ], "empty-filter.html": [ - "b33a88858a61a669ef6948973c367f2317c1c84f", + "706ae76537e79c2d785712627a1376468528af97", [ null, {} ] ], "empty-filters-member.html": [ - "b07ec1df543ece7a0ddc545e4c08134c2e01d3fe", + "2bae7966a42be8cbe28883c74e965f7e29e90f16", [ null, {} ] ], "empty-namePrefix.html": [ - "dc29d161ca2e18e2a9e728809a34ce0790625c72", + "aa8e061b0285e09fb5ad5903d51fe046527f33e8", [ null, {} ] ], "empty-services-member.html": [ - "92eafc0fbe45491b22545df73f8b3b1a5f4de019", + "1af2d35d5fba70989b83c97e2deb97d540cb124c", [ null, {} ] ], "filters-xor-acceptAllDevices.html": [ - "a362d28a6c9150b8bbfab2710928a0218cf65db4", + "8fa7c54e26987e99433b73dd0e2fddf010390ea8", [ null, {} ] ], "max-length-for-device-name-name.html": [ - "0cdf10470f3ae1e8dbb94ea41278f3a54e0da214", + "82a2a9cec9f72369826e645ef63128755b864529", [ null, {} ] ], "max-length-for-device-name-namePrefix.html": [ - "17c843627aa456b3d7c4a2d204d6072138ec925b", + "47e2498541d1fe1bfddb5a8c12178c455e03a8fe", [ null, {} ] ], "no-arguments.html": [ - "ddc8472f3d07258bb496668b37588aed33693c2f", + "dc0c4830c655ceef74ce61666c10de82a44ebbb3", [ null, {} ] ], "no-filters-member.html": [ - "a06034f1f1a98a5ba4fafeac39feb2d5a1c84a49", + "903923acf0fa9fdb3ad8cc1b0c21a5698bdd3fb9", [ null, {} ] ], "unicode-max-length-for-device-name-name.html": [ - "e6ca7e1c36a778605f92a36fa8243911f5d1e9ba", + "819164be25569e2888b16b636d9c810f9a95a96e", [ null, {} ] ], "unicode-max-length-for-device-name-namePrefix.html": [ - "7f1357fcf967b9e80a864c8d916452fb00b00dd4", + "c451589c53c5287db57a19176253a1972c081152", [ null, {} @@ -12384,35 +12384,35 @@ ] ], "wrong-manufacturer-data-key.html": [ - "87cf9d9ab5d52080fead4ffd19846c22f09216c3", + "bee53c711094ed400ad66076057ca94c0a25985c", [ null, {} ] ], "wrong-mask-length.html": [ - "9370fa06092086bd15a3668d1584e6acccae7ce4", + "4087fbb250743c36275ae1036a2ed37d5978ab59", [ null, {} ] ], "wrong-service-data-key.html": [ - "39560d182fff6a681a44e10e0fe4b0e28e29cdab", + "e4c0b3a7f7998f8d2674cf2ad4873013f7d0559e", [ null, {} ] ], "wrong-service-in-optionalServices-member.html": [ - "ac0a188f17c24b4e692fc746a9fffa53ae07515e", + "08987892193057cd185c0f50f5d43fed7e45369d", [ null, {} ] ], "wrong-service-in-services-member.html": [ - "6cb98aab75991bd3137102cfc615f342cda6cb52", + "708570095ee987b82cba356eb4723220a74db5cb", [ null, {} @@ -12448,14 +12448,14 @@ ] ], "device-not-found-with-extra-data.html": [ - "da121693728314d516e11e42f1d333b638987b33", + "2ed9cb9c423b4f5dab781f745f82173846a9bf3f", [ null, {} ] ], "device-not-found-with-service-and-manufacturer-data.html": [ - "783af132f4d0dbae1b6f53741c00bbf6964e7b19", + "5f3cb4a312235eb8780644f5d311ee18f25cad60", [ null, {} @@ -12469,7 +12469,7 @@ ] ], "filter-does-not-match.html": [ - "fd3a4ffe9c2f5b97f8f7f8603abc84a603fcbaae", + "bf82702d348ab0bd874aa8ea0d9cab070d93f2bb", [ null, {} @@ -12490,14 +12490,14 @@ ] ], "name-empty-device-from-name-prefix-filter.html": [ - "0dbd1c735eb9bfeeedb4a49fdf1bdd0058eaf207", + "71bfa0f5db0a5b1ebb5c454669d11045cb9ff9e5", [ null, {} ] ], "name-empty-device-from-name-wrong-filter.html": [ - "e411f819c23def4d4cebaf7631c171e56b0011cf", + "8d2aae16f6df99dcd5476236caff51229c3e4ef5", [ null, {} @@ -12511,28 +12511,28 @@ ] ], "name-empty-filter.html": [ - "138f03bc68c28a8294deb18ecb886ee6a9f53c4c", + "a5ada4294bc39889eea7fb3cf790b3e8221d8b65", [ null, {} ] ], "name-missing-device-from-name-empty-filter.html": [ - "d01dedfa52dcde8a3dafb2e767ce6ab5bd6caa9a", + "4cbf700ce04e5b462b3efc106377b7ad5d04838b", [ null, {} ] ], "name-missing-device-from-name-prefix-filter.html": [ - "2e3f2ac2946596df3591cb5f5c335adb9205cc7d", + "7f8c3678a7f887d003f0a9f5518238b1b0cadc6b", [ null, {} ] ], "name-missing-device-from-name-wrong-filter.html": [ - "5742f95f699b607b4d676608afa0eb07238e3a0e", + "aa6b3bbc9a45f8bd8a850e49cf4f074ac3b2c04b", [ null, {} @@ -12546,14 +12546,14 @@ ] ], "no-devices.html": [ - "5e516ad540a0dc8c61bcc1823953a0aa6b8d8762", + "8f5b04a809e4a83f0fe3af84899ca3ea603e746a", [ null, {} ] ], "not-accept-all-devices-without-filter.html": [ - "bd9afe40d74ec151674f8ef6680208e09f8f72e4", + "e87e3d8797cacde7d40e5335288f1f14d5c60203", [ null, {} @@ -12574,7 +12574,7 @@ ] ], "single-filter-two-services-fails.html": [ - "0c4dbb5f58ef9d11cb1baa4947e974632188cb6f", + "760c4b76f86fa169d880a127bad5536f75cca9e3", [ null, {} @@ -12597,49 +12597,49 @@ }, "startNotifications": { "blocklisted-characteristic.html": [ - "45e0df32ae786ba8586ea7020de8c56004d68082", + "c50140e16133dddf745ea1dc6b5a3eaba214317b", [ null, {} ] ], "characteristic-does-not-support-notifications.html": [ - "1d51de07198f6a68f4f634138f7cb1c5a9b66968", + "d79aae09c023976863ffe91482b05583747efc6c", [ null, {} ] ], "characteristic-is-removed.html": [ - "93ea254a1abc9582fda36b51d764aa7485822873", + "0070a6724a90dcfc76848de1026b8d8fd6433ef9", [ null, {} ] ], "device-goes-out-of-range.html": [ - "cdbfbb1f865f451fddfa08d6bef246fe44c1a23c", + "89fa3dd0b82a3ebbb7ecc628c353df0511d864ae", [ null, {} ] ], "disconnect-called-before.html": [ - "ec580fc1964fcf000d5cdeb3c3eb7c042b55ea3f", + "7e0be978a37fa08244532ab906af6c26e865af39", [ null, {} ] ], "disconnect-called-during.html": [ - "f0f4cbb1642712b347a41d14ec9cdb8349289fd3", + "4f52626a4c01ff4eb09b774fc8f7d9b9876929a4", [ null, {} ] ], "notify-failure.html": [ - "19f411ee95926e1ab15fef5c27757f7fea5ce000", + "d0bac2f4862fcc0b85e771692de997b3eb71918f", [ null, {} @@ -12653,7 +12653,7 @@ ] ], "service-is-removed.html": [ - "8bafc50cae14cdb0a421ed1707a44c84ccb65bf3", + "91dd1c407234d9d74a1fe270d13ecb23b32b65de", [ null, {} @@ -12662,21 +12662,21 @@ }, "stopNotifications": { "characteristic-is-removed.html": [ - "269c9867d9007d615e10b29a9acefb3d18ac5ec4", + "e3a87271e72c162ad4f2a35e71f56f2dd7a404a8", [ null, {} ] ], "disconnect-called-before.html": [ - "44052e05fff24e9dd6cc66f050d916626763ca0a", + "266681ae4d31061d6233f607b1d1872270c7c7e7", [ null, {} ] ], "disconnect-called-during.html": [ - "8a6e2e46fd2238b6cb9bed0016b5903243e5c1ab", + "2b33c7f810d1e2d81f0ad5ba078d9c7f8117f8fc", [ null, {} @@ -12714,42 +12714,42 @@ "writeValue": { "characteristic": { "blocklisted-characteristic.html": [ - "473aa6fa025d93a5e97db258e1d0b1f1dcc13338", + "df1cc1615e9a7520056cf66606838726ec2bc5a4", [ null, {} ] ], "characteristic-is-removed.html": [ - "0fc07ddb1dca1f9f540c4787a5c08a5feb9b3b4a", + "20a6b0401060869d648703c65b650158f63b89f7", [ null, {} ] ], "device-goes-out-of-range.html": [ - "3e0f72411cadde215678ccd7dc163bef93699d65", + "f0b142c6fff0efcc100cb206cd541e5250bc43cd", [ null, {} ] ], "disconnect-called-before.html": [ - "c10d161114a71314361b5e39609c3f207da5e5b4", + "90d14743bfa6779ff269f80f3708ad7b63d54db4", [ null, {} ] ], "service-is-removed.html": [ - "7720389eed97d8c70af632371b88fc91db94b01d", + "6281119de9e663bdcea034564ceee5593edd4a1c", [ null, {} ] ], "value-too-long.html": [ - "fd9a4a403f239169d3a34d72fc065f28599dee33", + "06a5426a4ed62c7d453899db2db8e0c7d87644c6", [ null, {} @@ -12772,42 +12772,42 @@ }, "descriptor": { "blocklisted-descriptor.html": [ - "0c7f827047da92e7185a9b17182cbf5a62447f1f", + "b4aacf9615cfb5c51dda17312b3fbf29cc2ed9e1", [ null, {} ] ], "characteristic-is-removed.html": [ - "5130ccee7aa2826885323158dceb9889432f59f4", + "e83b33eed3b7e93237a758849ec2035c36305754", [ null, {} ] ], "descriptor-is-removed.html": [ - "c8fe9c8f5b6e051483155b9e794c1784a83f6254", + "28994e3ad8ccee2033d95950712c9d5968fb968f", [ null, {} ] ], "device-goes-out-of-range.html": [ - "6d90c3da5a81bf3dc619ddc529458d5396d13431", + "459871c706aae651817e6a131a96c54dcebcbaca", [ null, {} ] ], "disconnect-called-before.html": [ - "efbe58de02119df8880212127ba68a10d25d7cc1", + "c8ce8f720754cfee36e2e4bea984cfd5df281a05", [ null, {} ] ], "service-is-removed.html": [ - "f5a86b1b919333caccef0ac4e783ac8569ef4070", + "bbd9ceeafa217ee40230543af422598b72497197", [ null, {} @@ -14138,7 +14138,7 @@ ] ], "promise.html": [ - "729e87882b4adcfdd440bc5ca4b5ac832a5627bb", + "5925047287175f291c07ee88075359ed92a86e6a", [ null, {} @@ -14260,7 +14260,7 @@ ], "service-workers": { "service-worker-registration.html": [ - "db2cc303d0fc74345e0f8d51954b49f36845114a", + "da46088ca92d8706c40a48fdb3805aaf28bbddd5", [ null, {} @@ -14564,14 +14564,14 @@ ], "worklets": { "test_paint_worklet_loading.html": [ - "009a2affe99d9f5ac57df1c19483eaeefc8571ed", + "a6fb9e7d84e1b16193bb462642526ccbfda9c1c1", [ null, {} ] ], "test_worklet.html": [ - "d7a9efa04fe436b7664bdfc2522798d68f7df123", + "5e84b0e5658e3e9916cf5dcebf85942d222a5b0d", [ null, {} diff --git a/tests/wpt/mozilla/meta/bluetooth/connect/device-goes-out-of-range.html.ini b/tests/wpt/mozilla/meta/bluetooth/connect/device-goes-out-of-range.html.ini deleted file mode 100644 index 71ce086192e..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/connect/device-goes-out-of-range.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[device-goes-out-of-range.html] - [Device goes out of range. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/blocklisted-characteristic.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/blocklisted-characteristic.html.ini deleted file mode 100644 index a84a9286f09..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/blocklisted-characteristic.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-characteristic.html] - [Serial Number String characteristic is blocklisted.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/characteristic-not-found.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/characteristic-not-found.html.ini deleted file mode 100644 index 81ab0fd81e6..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/characteristic-not-found.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-not-found.html] - [Request for absent characteristic. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/disconnect-called-before.html.ini deleted file mode 100644 index d9ff2dc2d67..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before getCharacteristic. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/invalid-characteristic-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/invalid-characteristic-name.html.ini deleted file mode 100644 index 75069069847..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/invalid-characteristic-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[invalid-characteristic-name.html] - [Wrong Characteristic name. Reject with TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/service-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/service-is-removed.html.ini deleted file mode 100644 index 7c41e6b8f41..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristic/service-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed.html] - [Service is removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/blocklisted-characteristics-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/blocklisted-characteristics-with-uuid.html.ini deleted file mode 100644 index 30e9fc2114e..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/blocklisted-characteristics-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-characteristics-with-uuid.html] - [Serial Number String characteristic is blocklisted. Should reject with SecurityError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/blocklisted-characteristics.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/blocklisted-characteristics.html.ini deleted file mode 100644 index 6f2cd6bdd5d..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/blocklisted-characteristics.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-characteristics.html] - [The Device Information service is composed of blocklisted characteristics so we shouldn't find any.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html.ini deleted file mode 100644 index b52e1c9fa18..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristics-not-found-with-uuid.html] - [Request for absent characteristics with UUID. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/characteristics-not-found.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/characteristics-not-found.html.ini deleted file mode 100644 index c02d734636e..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/characteristics-not-found.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristics-not-found.html] - [Request for absent characteristics. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html.ini deleted file mode 100644 index 7d18a0cd67d..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before-with-uuid.html] - [disconnect() called before getCharacteristics. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/disconnect-called-before.html.ini deleted file mode 100644 index 4b451a40120..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before getCharacteristics. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/invalid-characteristic-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/invalid-characteristic-name.html.ini deleted file mode 100644 index 084b4069a20..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/invalid-characteristic-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[invalid-characteristic-name.html] - [Invalid Characteristic name. Reject with TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/service-is-removed-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/service-is-removed-with-uuid.html.ini deleted file mode 100644 index 79383790753..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/service-is-removed-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed-with-uuid.html] - [Service is removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/service-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/service-is-removed.html.ini deleted file mode 100644 index 7c41e6b8f41..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getCharacteristics/service-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed.html] - [Service is removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/blocklisted-descriptor.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptor/blocklisted-descriptor.html.ini deleted file mode 100644 index d93d3042199..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/blocklisted-descriptor.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-descriptor.html] - [The descriptor is blocklisted.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptor/characteristic-is-removed.html.ini deleted file mode 100644 index 17666895a09..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic is removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/descriptor-not-found.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptor/descriptor-not-found.html.ini deleted file mode 100644 index b849e2caaeb..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/descriptor-not-found.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[descriptor-not-found.html] - [Request for absent descriptor. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptor/disconnect-called-before.html.ini deleted file mode 100644 index 0e40eb720dc..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before getDescriptor. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/disconnect-invalidates-object.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptor/disconnect-invalidates-object.html.ini deleted file mode 100644 index 7c9aa6aa8a9..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/disconnect-invalidates-object.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-invalidates-object.html] - [Calls on a descriptor after we disconnect and connect again. Should reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/invalid-descriptor-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptor/invalid-descriptor-name.html.ini deleted file mode 100644 index ddaa4fe3093..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptor/invalid-descriptor-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[invalid-descriptor-name.html] - [Wrong descriptor name. Reject with TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/blocklisted-descriptors-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/blocklisted-descriptors-with-uuid.html.ini deleted file mode 100644 index 6e37e27c888..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/blocklisted-descriptors-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-descriptors-with-uuid.html] - [The descriptor is blocklisted. Should reject with SecurityError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/characteristic-is-removed-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/characteristic-is-removed-with-uuid.html.ini deleted file mode 100644 index efeb7bb06b1..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/characteristic-is-removed-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed-with-uuid.html] - [Characteristic is removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/characteristic-is-removed.html.ini deleted file mode 100644 index 17666895a09..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic is removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/descriptors-not-found-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/descriptors-not-found-with-uuid.html.ini deleted file mode 100644 index 28e7a7ff18e..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/descriptors-not-found-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[descriptors-not-found-with-uuid.html] - [Request for absent descriptors with UUID. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/descriptors-not-found.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/descriptors-not-found.html.ini deleted file mode 100644 index dfadcf78072..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/descriptors-not-found.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[descriptors-not-found.html] - [Request for absent descriptors with UUID. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-called-before-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-called-before-with-uuid.html.ini deleted file mode 100644 index 13437ae9161..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-called-before-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before-with-uuid.html] - [disconnect() called before getDescriptors. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-called-before.html.ini deleted file mode 100644 index 61b4ad3ff33..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before getDescriptors. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-invalidates-objects.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-invalidates-objects.html.ini deleted file mode 100644 index f5abef6bb92..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/disconnect-invalidates-objects.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-invalidates-objects.html] - [Calls on descriptors after we disconnect and connect again. Should reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/invalid-descriptor-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/getDescriptors/invalid-descriptor-name.html.ini deleted file mode 100644 index ddaa4fe3093..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getDescriptors/invalid-descriptor-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[invalid-descriptor-name.html] - [Wrong descriptor name. Reject with TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnect-called-before.html.ini deleted file mode 100644 index 22a97ee6277..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before getPrimaryService. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnect-invalidates-object.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnect-invalidates-object.html.ini deleted file mode 100644 index 5445c80f3d7..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnect-invalidates-object.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-invalidates-object.html] - [Calls on a service after we disconnect and connect again. Should reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnected-device.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnected-device.html.ini deleted file mode 100644 index 04efccc83a2..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/disconnected-device.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnected-device.html] - [getPrimaryService called before connecting. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/invalid-service-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/invalid-service-name.html.ini deleted file mode 100644 index f0a5b832d3a..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/invalid-service-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[invalid-service-name.html] - [Wrong Service name. Reject with TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/no-permission-absent-service.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/no-permission-absent-service.html.ini deleted file mode 100644 index 67a892f7089..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/no-permission-absent-service.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-permission-absent-service.html] - [Request for absent service without permission. Reject with SecurityError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/no-permission-present-service.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/no-permission-present-service.html.ini deleted file mode 100644 index f6054eba1b6..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/no-permission-present-service.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-permission-present-service.html] - [Request for present service without permission. Reject with SecurityError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/service-not-found.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/service-not-found.html.ini deleted file mode 100644 index 40f641abab7..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryService/service-not-found.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-not-found.html] - [Request for absent service. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/blocklisted-services-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/blocklisted-services-with-uuid.html.ini deleted file mode 100644 index 1a76520114f..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/blocklisted-services-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-services-with-uuid.html] - [Request for services. Does not return blocklisted service.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-called-before-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-called-before-with-uuid.html.ini deleted file mode 100644 index 712299366a1..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-called-before-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before-with-uuid.html] - [disconnect() called before getPrimaryServices. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-called-before.html.ini deleted file mode 100644 index dbd54113b5a..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before getPrimaryServices. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-invalidates-objects.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-invalidates-objects.html.ini deleted file mode 100644 index 35c38cfdcad..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnect-invalidates-objects.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-invalidates-objects.html] - [Calls on services after we disconnect and connect again. Should reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnected-device-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnected-device-with-uuid.html.ini deleted file mode 100644 index e780ced8553..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnected-device-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnected-device-with-uuid.html] - [getPrimaryServices called before connecting. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnected-device.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnected-device.html.ini deleted file mode 100644 index e4030eae596..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/disconnected-device.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnected-device.html] - [getPrimaryServices called before connecting. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/invalid-service-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/invalid-service-name.html.ini deleted file mode 100644 index f0a5b832d3a..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/invalid-service-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[invalid-service-name.html] - [Wrong Service name. Reject with TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-absent-service-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-absent-service-with-uuid.html.ini deleted file mode 100644 index 2712d0cbfaf..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-absent-service-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-permission-absent-service-with-uuid.html] - [Request for absent service without permission. Reject with SecurityError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-present-service-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-present-service-with-uuid.html.ini deleted file mode 100644 index 4389924e6b5..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-present-service-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-permission-present-service-with-uuid.html] - [Request for present service without permission. Reject with SecurityError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-present-service.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-present-service.html.ini deleted file mode 100644 index 008f4ed1afc..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/no-permission-present-service.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-permission-present-service.html] - [Request for present service without permission. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/services-not-found-with-uuid.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/services-not-found-with-uuid.html.ini deleted file mode 100644 index f43a16fead1..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/services-not-found-with-uuid.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[services-not-found-with-uuid.html] - [Request for absent service. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/services-not-found.html.ini b/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/services-not-found.html.ini deleted file mode 100644 index 001d9f9429a..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/getPrimaryServices/services-not-found.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[services-not-found.html] - [Request for absent service. Reject with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/idl-BluetoothUUID.html.ini b/tests/wpt/mozilla/meta/bluetooth/idl-BluetoothUUID.html.ini index 4889d2d8579..a0f256ef939 100644 --- a/tests/wpt/mozilla/meta/bluetooth/idl-BluetoothUUID.html.ini +++ b/tests/wpt/mozilla/meta/bluetooth/idl-BluetoothUUID.html.ini @@ -2,18 +2,3 @@ [Non-number and non-strings] expected: FAIL - [Make sure attributes don't share a map] - expected: FAIL - - [A 32bit *String* alias is invalid.] - expected: FAIL - - [Invalid Descriptor name] - expected: FAIL - - [A UUID with invalid characters is an invalid UUID.] - expected: FAIL - - [A UUID String with uppercase letters is an invalid UUID.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/blocklisted-characteristic.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/blocklisted-characteristic.html.ini deleted file mode 100644 index 60289e426d9..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/blocklisted-characteristic.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-characteristic.html] - [Characteristic with exclude-reads fullfills write and rejects read.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/characteristic-is-removed.html.ini deleted file mode 100644 index 25631864b6c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/disconnect-called-before.html.ini deleted file mode 100644 index e27b93f794f..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before readValue. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/service-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/service-is-removed.html.ini deleted file mode 100644 index deeb7f54f71..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/characteristic/service-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed.html] - [Service gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/blocklisted-descriptor.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/blocklisted-descriptor.html.ini deleted file mode 100644 index d63989c7f6f..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/blocklisted-descriptor.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-descriptor.html] - [Descriptor with exclude-reads fullfills write and rejects read.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/characteristic-is-removed.html.ini deleted file mode 100644 index 25631864b6c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/descriptor-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/descriptor-is-removed.html.ini deleted file mode 100644 index 6f2ea3e54bf..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/descriptor-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[descriptor-is-removed.html] - [Descriptor gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/disconnect-called-before.html.ini deleted file mode 100644 index e27b93f794f..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before readValue. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/service-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/service-is-removed.html.ini deleted file mode 100644 index deeb7f54f71..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/readValue/descriptor/service-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed.html] - [Service gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html.ini deleted file mode 100644 index 06558d8b5d7..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[accept-all-devices-with-filter.html] - [Reject with TypeError if filters present and acceptAllDevices is true.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html.ini deleted file mode 100644 index 801072ef28b..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[optional-services-missing.html] - [requestDevice called with acceptAllDevices: true and with no optionalServices. Should not get access to any services.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/adapter-not-present.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/adapter-not-present.html.ini deleted file mode 100644 index 257e6cf5dfb..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/adapter-not-present.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[adapter-not-present.html] - [Reject with NotFoundError if the adapter is not present.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/adapter-off.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/adapter-off.html.ini deleted file mode 100644 index fb1e10eb74d..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/adapter-off.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[adapter-off.html] - [Reject with NotFoundError if the adapter is off.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/blocklisted-service-in-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/blocklisted-service-in-filter.html.ini deleted file mode 100644 index 0a86e43146c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/blocklisted-service-in-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-service-in-filter.html] - [Reject with SecurityError if requesting a blocklisted service.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/blocklisted-service-in-optionalServices.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/blocklisted-service-in-optionalServices.html.ini deleted file mode 100644 index 5b04cb87600..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/blocklisted-service-in-optionalServices.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-service-in-optionalServices.html] - [Blocklisted UUID in optionalServices is removed and access not granted.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/blocklisted-service-data-key.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/blocklisted-service-data-key.html.ini deleted file mode 100644 index e1cc943b588..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/blocklisted-service-data-key.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-service-data-key.html] - [Rejects with SecurityError, if a serviceData key is blocklisted.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html.ini deleted file mode 100644 index e038f8c5444..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[empty-filter.html] - [A filter must restrict the devices in some way.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html.ini deleted file mode 100644 index bf26f25ef3a..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[empty-filters-member.html] - [An empty |filters| member should result in a TypeError] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html.ini deleted file mode 100644 index bb08b93c10d..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[empty-namePrefix.html] - [requestDevice with empty namePrefix. Should reject with TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html.ini deleted file mode 100644 index bfdce473bbc..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[empty-services-member.html] - [Services member must contain at least one service.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html.ini deleted file mode 100644 index 0a37af9d9bc..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[filters-xor-acceptAllDevices.html] - [RequestDeviceOptions should have exactly one of 'filters' or 'acceptAllDevices:true'. Reject with TypeError if not.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html.ini deleted file mode 100644 index 7267de45dfa..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[max-length-for-device-name-name.html] - [A device name longer than 248 must reject.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html.ini deleted file mode 100644 index 8db6bf79910..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[max-length-for-device-name-namePrefix.html] - [A device name prefix longer than 248 must reject.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html.ini deleted file mode 100644 index daa5c0c0cf2..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-arguments.html] - [requestDevice() requires an argument.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html.ini deleted file mode 100644 index 5ab75f2fbb5..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-filters-member.html] - [RequestDeviceOptions requires a |filters| member.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html.ini deleted file mode 100644 index d551e4bf1f0..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[unicode-max-length-for-device-name-name.html] - [Unicode string in 'name' with utf8 representation greater than 248 bytes must throw TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html.ini deleted file mode 100644 index 53b12a68af1..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[unicode-max-length-for-device-name-namePrefix.html] - [Unicode string in 'namePrefix' with utf8 representation greater than 248 bytes must throw TypeError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-manufacturer-data-key.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-manufacturer-data-key.html.ini deleted file mode 100644 index 2e817a3f470..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-manufacturer-data-key.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[wrong-manufacturer-data-key.html] - [Rejects with TypeError, if a manufacturerData key is not an unsigned short.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-mask-length.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-mask-length.html.ini deleted file mode 100644 index c3c4fb1ef61..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-mask-length.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[wrong-mask-length.html] - [Rejects with TypeError, if mask present, and does not have the same length as dataPrefix.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-data-key.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-data-key.html.ini deleted file mode 100644 index 880ddbe78f3..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-data-key.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[wrong-service-data-key.html] - [Rejects with TypeError, if a serviceData key does not convert to a valid uuid.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html.ini deleted file mode 100644 index a219a724f20..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[wrong-service-in-optionalServices-member.html] - [Invalid optional service must reject the promise.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html.ini deleted file mode 100644 index 4ff7dda6184..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[wrong-service-in-services-member.html] - [Invalid optional service must reject the promise.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/device-not-found-with-extra-data.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/device-not-found-with-extra-data.html.ini deleted file mode 100644 index 0938378a8a5..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/device-not-found-with-extra-data.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[device-not-found-with-extra-data.html] - [Requesting with an extra service/manufacturerData, which is not advertised, rejects with NotFoundError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/device-not-found-with-service-and-manufacturer-data.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/device-not-found-with-service-and-manufacturer-data.html.ini deleted file mode 100644 index 8cd6f0af530..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/device-not-found-with-service-and-manufacturer-data.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[device-not-found-with-service-and-manufacturer-data.html] - [Requesting with manufacturerData and serviceData in the same filter, will not find a device which does not advertise both.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/filter-does-not-match.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/filter-does-not-match.html.ini deleted file mode 100644 index 6c419be740f..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/filter-does-not-match.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[filter-does-not-match.html] - [If at least one filter member doesn't match the promise must reject.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-device-from-name-prefix-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-device-from-name-prefix-filter.html.ini deleted file mode 100644 index 78350685868..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-device-from-name-prefix-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[name-empty-device-from-name-prefix-filter.html] - [An empty name device is not matched by a filter with a namePrefix.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-device-from-name-wrong-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-device-from-name-wrong-filter.html.ini deleted file mode 100644 index 4d0f64cce13..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-device-from-name-wrong-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[name-empty-device-from-name-wrong-filter.html] - [An empty name device is not matched by a filter with a name.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-filter.html.ini deleted file mode 100644 index 84ebbd2a958..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-empty-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[name-empty-filter.html] - [A named device is not matched by a filter with an empty name.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-empty-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-empty-filter.html.ini deleted file mode 100644 index 087bd8d6030..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-empty-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[name-missing-device-from-name-empty-filter.html] - [An unnamed device can not be obtained by empty name filter.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-prefix-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-prefix-filter.html.ini deleted file mode 100644 index 815bede966e..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-prefix-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[name-missing-device-from-name-prefix-filter.html] - [An unnamed device can not be obtained by namePrefix filter.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-wrong-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-wrong-filter.html.ini deleted file mode 100644 index c7dae3944c6..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/name-missing-device-from-name-wrong-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[name-missing-device-from-name-wrong-filter.html] - [An unnamed device can not be obtained by name filter.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/no-devices.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/no-devices.html.ini deleted file mode 100644 index 611338b231f..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/no-devices.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[no-devices.html] - [Reject with NotFoundError if there are no devices around.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/not-accept-all-devices-without-filter.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/not-accept-all-devices-without-filter.html.ini deleted file mode 100644 index c8cf202f363..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/not-accept-all-devices-without-filter.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[not-accept-all-devices-without-filter.html] - [Reject with TypeError if `filters` not present and `acceptAllDevices` is false.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/requestDevice/single-filter-two-services-fails.html.ini b/tests/wpt/mozilla/meta/bluetooth/requestDevice/single-filter-two-services-fails.html.ini deleted file mode 100644 index 46ef6747c0d..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/requestDevice/single-filter-two-services-fails.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[single-filter-two-services-fails.html] - [Too-strict filters do prevent matching.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/startNotifications/blocklisted-characteristic.html.ini b/tests/wpt/mozilla/meta/bluetooth/startNotifications/blocklisted-characteristic.html.ini deleted file mode 100644 index 1f7d93080cc..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/startNotifications/blocklisted-characteristic.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-characteristic.html] - [Characteristic with exclude-reads rejects startNotifications.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/startNotifications/characteristic-does-not-support-notifications.html.ini b/tests/wpt/mozilla/meta/bluetooth/startNotifications/characteristic-does-not-support-notifications.html.ini deleted file mode 100644 index eb3d9e065f8..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/startNotifications/characteristic-does-not-support-notifications.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-does-not-support-notifications.html] - [Characteristic doesn't support Notifications. Reject with NotSupportedError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/startNotifications/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/startNotifications/characteristic-is-removed.html.ini deleted file mode 100644 index 25631864b6c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/startNotifications/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/startNotifications/device-goes-out-of-range.html.ini b/tests/wpt/mozilla/meta/bluetooth/startNotifications/device-goes-out-of-range.html.ini deleted file mode 100644 index 94f9d5b6932..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/startNotifications/device-goes-out-of-range.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[device-goes-out-of-range.html] - [Device goes out of range. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/startNotifications/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/startNotifications/disconnect-called-before.html.ini deleted file mode 100644 index 58d46f1e25b..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/startNotifications/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before startNotifications. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/startNotifications/notify-failure.html.ini b/tests/wpt/mozilla/meta/bluetooth/startNotifications/notify-failure.html.ini deleted file mode 100644 index 1fb54768eb4..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/startNotifications/notify-failure.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[notify-failure.html] - [startNotifications should throw NotSupportedError without Notify or Indicate flag.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/startNotifications/service-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/startNotifications/service-is-removed.html.ini deleted file mode 100644 index deeb7f54f71..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/startNotifications/service-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed.html] - [Service gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/stopNotifications/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/stopNotifications/characteristic-is-removed.html.ini deleted file mode 100644 index 25631864b6c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/stopNotifications/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/stopNotifications/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/stopNotifications/disconnect-called-before.html.ini deleted file mode 100644 index 0e108f3c8ac..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/stopNotifications/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before stopNotifications. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/blocklisted-characteristic.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/blocklisted-characteristic.html.ini deleted file mode 100644 index defa6c82831..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/blocklisted-characteristic.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-characteristic.html] - [Characteristic with exclude-writes fullfills read and rejects write.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/characteristic-is-removed.html.ini deleted file mode 100644 index 25631864b6c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/disconnect-called-before.html.ini deleted file mode 100644 index 8897557a03c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before writeValue. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/service-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/service-is-removed.html.ini deleted file mode 100644 index deeb7f54f71..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/service-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed.html] - [Service gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/value-too-long.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/value-too-long.html.ini deleted file mode 100644 index bf74e2bb1f1..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/characteristic/value-too-long.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[value-too-long.html] - [Trying to write more than 512 bytes should return an InvalidModificationError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/blocklisted-descriptor.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/blocklisted-descriptor.html.ini deleted file mode 100644 index a3319536a8b..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/blocklisted-descriptor.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[blocklisted-descriptor.html] - [Descriptor with exclude-writes fullfills read and rejects write.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/characteristic-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/characteristic-is-removed.html.ini deleted file mode 100644 index 25631864b6c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/characteristic-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[characteristic-is-removed.html] - [Characteristic gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/descriptor-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/descriptor-is-removed.html.ini deleted file mode 100644 index 6f2ea3e54bf..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/descriptor-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[descriptor-is-removed.html] - [Descriptor gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/disconnect-called-before.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/disconnect-called-before.html.ini deleted file mode 100644 index 8897557a03c..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/disconnect-called-before.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[disconnect-called-before.html] - [disconnect() called before writeValue. Reject with NetworkError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/service-is-removed.html.ini b/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/service-is-removed.html.ini deleted file mode 100644 index deeb7f54f71..00000000000 --- a/tests/wpt/mozilla/meta/bluetooth/writeValue/descriptor/service-is-removed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[service-is-removed.html] - [Service gets removed. Reject with InvalidStateError.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/activation.html.ini b/tests/wpt/mozilla/meta/mozilla/activation.html.ini index a74eb3c27d9..e7b9f2349c3 100644 --- a/tests/wpt/mozilla/meta/mozilla/activation.html.ini +++ b/tests/wpt/mozilla/meta/mozilla/activation.html.ini @@ -1,6 +1,3 @@ [activation.html] type: testharness prefs: [dom.testing.element.activation.enabled:true] - [Activation invalid for span] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/cross-origin-objects/cross-origin-objects.html.ini b/tests/wpt/mozilla/meta/mozilla/cross-origin-objects/cross-origin-objects.html.ini deleted file mode 100644 index 4f29d8c654b..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/cross-origin-objects/cross-origin-objects.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[cross-origin-objects.html] - [Only whitelisted properties are accessible cross-origin] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/element_attribute.html.ini b/tests/wpt/mozilla/meta/mozilla/element_attribute.html.ini deleted file mode 100644 index e2a196cd66c..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/element_attribute.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[element_attribute.html] - [element_attribute 5] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/invalid-this.html.ini b/tests/wpt/mozilla/meta/mozilla/invalid-this.html.ini deleted file mode 100644 index 32d2beed944..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/invalid-this.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[invalid-this.html] - [Test for #18535: Wrong type arguments to some JS functions abort the execution of the script.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/promise.html.ini b/tests/wpt/mozilla/meta/mozilla/promise.html.ini index 77870f79f2e..784c666e1b7 100644 --- a/tests/wpt/mozilla/meta/mozilla/promise.html.ini +++ b/tests/wpt/mozilla/meta/mozilla/promise.html.ini @@ -1,7 +1,3 @@ [promise.html] type: testharness prefs: [dom.testbinding.enabled:true] - expected: ERROR - [Native code rejects with exception] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/sequence-hole.html.ini b/tests/wpt/mozilla/meta/mozilla/sequence-hole.html.ini index 14963e47afb..e3da43f8d3b 100644 --- a/tests/wpt/mozilla/meta/mozilla/sequence-hole.html.ini +++ b/tests/wpt/mozilla/meta/mozilla/sequence-hole.html.ini @@ -1,9 +1,3 @@ [sequence-hole.html] type: testharness prefs: [dom.testbinding.enabled:true] - [Sequences with holes and a getter on the prototype are correctly handled] - expected: FAIL - - [Sequences with holes are correctly handled] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/service-workers/service-worker-registration.html.ini b/tests/wpt/mozilla/meta/mozilla/service-workers/service-worker-registration.html.ini deleted file mode 100644 index a2ac6f7ff62..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/service-workers/service-worker-registration.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[service-worker-registration.html] - [Test: Throws Error when Invalid Scope] - expected: FAIL - - [Test: Throws Error when Invalid Url Path] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/union.html.ini b/tests/wpt/mozilla/meta/mozilla/union.html.ini deleted file mode 100644 index e55ef5eb119..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/union.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[union.html] - [union] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/window-postmessage-sameorigin.html.ini b/tests/wpt/mozilla/meta/mozilla/window-postmessage-sameorigin.html.ini index 7ef5454afcf..0ad20064803 100644 --- a/tests/wpt/mozilla/meta/mozilla/window-postmessage-sameorigin.html.ini +++ b/tests/wpt/mozilla/meta/mozilla/window-postmessage-sameorigin.html.ini @@ -1,10 +1,4 @@ [window-postmessage-sameorigin.html] - [any origin, non-cloneable message (handler)] - expected: FAIL - - [any origin, non-cloneable message (listener)] - expected: FAIL - [explicit invalid url, cloneable string message (handler)] expected: FAIL diff --git a/tests/wpt/mozilla/meta/mozilla/worklets/test_paint_worklet_loading.html.ini b/tests/wpt/mozilla/meta/mozilla/worklets/test_paint_worklet_loading.html.ini deleted file mode 100644 index f05c29e46f3..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/worklets/test_paint_worklet_loading.html.ini +++ /dev/null @@ -1,37 +0,0 @@ -[test_paint_worklet_loading.html] - [Loading a nonexistent paint worklet.] - expected: FAIL - - [Loading a cross-origin paint worklet.] - expected: FAIL - - [Loading a paint worklet which isn't a constructor function.] - expected: FAIL - - [Loading an exception-throwing paint worklet.] - expected: FAIL - - [Loading a paint worklet with an empty name.] - expected: FAIL - - [Loading a paint worklet whose inputArguments throws an exception.] - expected: FAIL - - [Loading a syntactically incorrect paint worklet.] - expected: FAIL - - [Loading a paint worklet whose alpha throws an exception.] - expected: FAIL - - [Loading a paint worklet with no paint.] - expected: FAIL - - [Loading a paint worklet again.] - expected: FAIL - - [Loading a paint worklet whose inputProperties throws an exception.] - expected: FAIL - - [Loading a paint worklet with a paint that is not callable.] - expected: FAIL - diff --git a/tests/wpt/mozilla/meta/mozilla/worklets/test_worklet.html.ini b/tests/wpt/mozilla/meta/mozilla/worklets/test_worklet.html.ini index f935f13138a..37762a513dd 100644 --- a/tests/wpt/mozilla/meta/mozilla/worklets/test_worklet.html.ini +++ b/tests/wpt/mozilla/meta/mozilla/worklets/test_worklet.html.ini @@ -1,15 +1,3 @@ [test_worklet.html] type: testharness prefs: [dom.worklet.testing.enabled:true] - [Loading a syntactically incorrect test worklet.] - expected: FAIL - - [Loading an exception-throwing test worklet.] - expected: FAIL - - [Loading a cross-origin test worklet.] - expected: FAIL - - [Loading a nonexistent test worklet.] - expected: FAIL - diff --git a/tests/wpt/mozilla/tests/bluetooth/connect/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/connect/device-goes-out-of-range.html index 2c2fae69281..cac0556134e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/connect/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/connect/device-goes-out-of-range.html @@ -12,7 +12,7 @@ promise_test(t => { .then(device => { var gatt_server = device.gatt; window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', gatt_server.connect()); + return promise_rejects_dom(t, 'NetworkError', gatt_server.connect()); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/blocklisted-characteristic.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/blocklisted-characteristic.html index 89768ed86cc..63a2f9e4ad5 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/blocklisted-characteristic.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/blocklisted-characteristic.html @@ -11,6 +11,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(device_information.name)) - .then(service => promise_rejects(t, 'SecurityError', service.getCharacteristic(serial_number_string.name))); + .then(service => promise_rejects_dom(t, 'SecurityError', service.getCharacteristic(serial_number_string.name))); }, 'Serial Number String characteristic is blocklisted.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/characteristic-not-found.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/characteristic-not-found.html index 636d5cc88a2..612540a0d6d 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/characteristic-not-found.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/characteristic-not-found.html @@ -12,6 +12,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) - .then(service => promise_rejects(t, 'NotFoundError', service.getCharacteristic(battery_level.name))); + .then(service => promise_rejects_dom(t, 'NotFoundError', service.getCharacteristic(battery_level.name))); }, 'Request for absent characteristic. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/device-goes-out-of-range.html index ff3e01fc13b..9cada4dabad 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/device-goes-out-of-range.html @@ -14,7 +14,7 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', service.getCharacteristic(device_name.uuid)); + return promise_rejects_dom(t, 'NetworkError', service.getCharacteristic(device_name.uuid)); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-before.html index 78d744ccc12..a1c4c622c97 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-before.html @@ -15,7 +15,7 @@ promise_test(t => { return gattServer.getPrimaryService(generic_access.name) .then(service => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', service.getCharacteristic(device_name.uuid)); + return promise_rejects_dom(t, 'NetworkError', service.getCharacteristic(device_name.uuid)); }); }); }, 'disconnect() called before getCharacteristic. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-during.html index 2138af95a6a..c7ef9db3f2d 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-called-during.html @@ -14,7 +14,7 @@ promise_test(t => { .then(gattServer => { return gattServer.getPrimaryService(generic_access.name) .then(service => { - let promise = promise_rejects(t, 'NetworkError', service.getCharacteristic(device_name.uuid)); + let promise = promise_rejects_dom(t, 'NetworkError', service.getCharacteristic(device_name.uuid)); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-invalidates-object.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-invalidates-object.html index aceedac5a50..5c6b145bb5e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-invalidates-object.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/disconnect-invalidates-object.html @@ -23,13 +23,13 @@ promise_test(t => { }) .then(characteristic => { let promises = []; - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.getDescriptor(number_of_digitals.name))); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.getDescriptors(number_of_digitals.name))); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.getDescriptors())); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.readValue())); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.writeValue(new Uint8Array(1)))); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.startNotifications())); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.stopNotifications())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptor(number_of_digitals.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptors(number_of_digitals.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptors())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.readValue())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.writeValue(new Uint8Array(1)))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.startNotifications())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.stopNotifications())); return Promise.all(promises); }); }, 'Calls on a characteristic after we disconnect and connect again. Should reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/invalid-characteristic-name.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/invalid-characteristic-name.html index 7ccecfe181e..0711a88ca6a 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/invalid-characteristic-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/invalid-characteristic-name.html @@ -12,6 +12,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) - .then(service => promise_rejects(t, new TypeError(), service.getCharacteristic(wrong.name))); + .then(service => promise_rejects_js(t, TypeError, service.getCharacteristic(wrong.name))); }, 'Wrong Characteristic name. Reject with TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/reconnect-during.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/reconnect-during.html index 17380f49519..cec1dbbf3ad 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/reconnect-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/reconnect-during.html @@ -13,7 +13,7 @@ promise_test(t => { .then(gattServer => { return gattServer.getPrimaryService(heart_rate.name) .then(service => { - let promise = promise_rejects(t, 'NetworkError', service.getCharacteristic(heart_rate_measurement.uuid)); + let promise = promise_rejects_dom(t, 'NetworkError', service.getCharacteristic(heart_rate_measurement.uuid)); gattServer.disconnect(); return gattServer.connect() .then(() => promise); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/service-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/service-is-removed.html index 125c96855d2..ef9ed4919cd 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/service-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristic/service-is-removed.html @@ -14,7 +14,7 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', service.getCharacteristic(device_name.uuid)); + return promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristic(device_name.uuid)); }); }, 'Service is removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics-with-uuid.html index f6e6122db5a..5d21e84acc1 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics-with-uuid.html @@ -11,6 +11,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(device_information.name)) - .then(service => promise_rejects(t, 'SecurityError', service.getCharacteristics(serial_number_string.name))); + .then(service => promise_rejects_dom(t, 'SecurityError', service.getCharacteristics(serial_number_string.name))); }, 'Serial Number String characteristic is blocklisted. Should reject with SecurityError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics.html index 29fe51b6ac0..b27285ecba5 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/blocklisted-characteristics.html @@ -11,6 +11,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(device_information.name)) - .then(service => promise_rejects(t, 'NotFoundError', service.getCharacteristics())); + .then(service => promise_rejects_dom(t, 'NotFoundError', service.getCharacteristics())); }, 'The Device Information service is composed of blocklisted characteristics so we shouldn\'t find any.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html index 777202ec4f8..e58bc56820a 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found-with-uuid.html @@ -11,6 +11,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(heart_rate.name)) - .then(service => promise_rejects(t, 'NotFoundError', service.getCharacteristics(battery_level.name))); + .then(service => promise_rejects_dom(t, 'NotFoundError', service.getCharacteristics(battery_level.name))); }, 'Request for absent characteristics with UUID. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found.html index 73dc6946e37..f5ddd51a4bf 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/characteristics-not-found.html @@ -11,6 +11,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(heart_rate.name)) - .then(service => promise_rejects(t, 'NotFoundError', service.getCharacteristics())); + .then(service => promise_rejects_dom(t, 'NotFoundError', service.getCharacteristics())); }, 'Request for absent characteristics. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range-with-uuid.html index 7cd657423e7..1fc4d0daf96 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range-with-uuid.html @@ -13,7 +13,7 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(heart_rate.name)) .then(service => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', service.getCharacteristics(heart_rate_measurement.name)); + return promise_rejects_dom(t, 'NetworkError', service.getCharacteristics(heart_rate_measurement.name)); }); }, 'Device goes out of range with UUID. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range.html index 64cd88c1164..2e83e479619 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/device-goes-out-of-range.html @@ -13,7 +13,7 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(heart_rate.name)) .then(service => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', service.getCharacteristics()); + return promise_rejects_dom(t, 'NetworkError', service.getCharacteristics()); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html index 27c2c9ee748..6d72d17ed95 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html @@ -14,7 +14,7 @@ promise_test(t => { return gattServer.getPrimaryService(heart_rate.name) .then(service => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', service.getCharacteristics(body_sensor_location.alias)); + return promise_rejects_dom(t, 'NetworkError', service.getCharacteristics(body_sensor_location.alias)); }); }); }, 'disconnect() called before getCharacteristics. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before.html index 4d5b4ad7ec8..c49b82989ac 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-before.html @@ -14,7 +14,7 @@ promise_test(t => { return gattServer.getPrimaryService(heart_rate.name) .then(service => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', service.getCharacteristics()); + return promise_rejects_dom(t, 'NetworkError', service.getCharacteristics()); }); }); }, 'disconnect() called before getCharacteristics. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during-with-uuid.html index 0b6a91bfbcf..9050d4369e7 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during-with-uuid.html @@ -13,7 +13,7 @@ promise_test(t => { .then(gattServer => { return gattServer.getPrimaryService(heart_rate.name) .then(service => { - let promise = promise_rejects(t, 'NetworkError', service.getCharacteristics(body_sensor_location.alias)); + let promise = promise_rejects_dom(t, 'NetworkError', service.getCharacteristics(body_sensor_location.alias)); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during.html index 83c1d46900b..fed74b86bb5 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-called-during.html @@ -13,7 +13,7 @@ promise_test(t => { .then(gattServer => { return gattServer.getPrimaryService(heart_rate.name) .then(service => { - let promise = promise_rejects(t, 'NetworkError', service.getCharacteristics()); + let promise = promise_rejects_dom(t, 'NetworkError', service.getCharacteristics()); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-invalidates-objects.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-invalidates-objects.html index a80ab4bbb87..d4c0fc4f7e8 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-invalidates-objects.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/disconnect-invalidates-objects.html @@ -25,13 +25,13 @@ promise_test(t => { .then(characteristics => { let promises = []; for (let characteristic of characteristics) { - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.getDescriptor(number_of_digitals.name))); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.getDescriptors(number_of_digitals.name))); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.getDescriptors())); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.readValue())); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.writeValue(new Uint8Array(1)))); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.startNotifications())); - promises.push(promise_rejects(t, 'InvalidStateError', characteristic.stopNotifications())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptor(number_of_digitals.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptors(number_of_digitals.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptors())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.readValue())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.writeValue(new Uint8Array(1)))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.startNotifications())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', characteristic.stopNotifications())); } return Promise.all(promises); }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/invalid-characteristic-name.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/invalid-characteristic-name.html index 4f5bdfc0e18..54d6db8fbe1 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/invalid-characteristic-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/invalid-characteristic-name.html @@ -12,6 +12,6 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) - .then(service => promise_rejects(t, new TypeError(), service.getCharacteristics(wrong.name))); + .then(service => promise_rejects_js(t, TypeError, service.getCharacteristics(wrong.name))); }, 'Invalid Characteristic name. Reject with TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed-with-uuid.html index fb1c95a71e2..f94dc3894ca 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed-with-uuid.html @@ -13,7 +13,7 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(heart_rate.name)) .then(service => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', service.getCharacteristic(heart_rate_measurement.name)); + return promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristic(heart_rate_measurement.name)); }); }, 'Service is removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed.html index 71ee3a18d3a..36f3c748cd1 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/getCharacteristics/service-is-removed.html @@ -13,7 +13,7 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(heart_rate.name)) .then(service => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', service.getCharacteristics()); + return promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristics()); }); }, 'Service is removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/blocklisted-descriptor.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/blocklisted-descriptor.html index 03478b396e5..5f086fd4f18 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/blocklisted-descriptor.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/blocklisted-descriptor.html @@ -12,7 +12,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(blocklist_test_service_uuid)) .then(service => service.getCharacteristic(blocklist_exclude_reads_characteristic_uuid)) - .then(characteristic => promise_rejects(t, 'SecurityError', + .then(characteristic => promise_rejects_dom(t, 'SecurityError', characteristic.getDescriptor(blocklist_descriptor_uuid))); }, 'The descriptor is blocklisted.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/characteristic-is-removed.html index 8dfb9ed8fed..8dec982e513 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/characteristic-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.getDescriptor(number_of_digitals.name)); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptor(number_of_digitals.name)); }); }, 'Characteristic is removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/descriptor-not-found.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/descriptor-not-found.html index 2547b8a8063..b4f43e520ea 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/descriptor-not-found.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/descriptor-not-found.html @@ -13,6 +13,6 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => service.getCharacteristic(device_name.name)) - .then(characteristic => promise_rejects(t, 'NotFoundError', characteristic.getDescriptor(number_of_digitals.name))); + .then(characteristic => promise_rejects_dom(t, 'NotFoundError', characteristic.getDescriptor(number_of_digitals.name))); }, 'Request for absent descriptor. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/device-goes-out-of-range.html index 5fbc947d6b8..f8be5e53863 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/device-goes-out-of-range.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', characteristic.getDescriptor(number_of_digitals.name)); + return promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptor(number_of_digitals.name)); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-before.html index 561d066c6c5..60bb1b1f709 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-before.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', characteristic.getDescriptor(number_of_digitals.name)); + return promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptor(number_of_digitals.name)); }); }); }, 'disconnect() called before getDescriptor. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-during.html index 647a61960b1..f5861149234 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-called-during.html @@ -15,7 +15,7 @@ promise_test(t => { return gattServer.getPrimaryService(generic_access.name) .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { - let promise = promise_rejects(t, 'NetworkError', characteristic.getDescriptor(number_of_digitals.name)); + let promise = promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptor(number_of_digitals.name)); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-invalidates-object.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-invalidates-object.html index 7d7fb209666..5dd3f43b8b1 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-invalidates-object.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/disconnect-invalidates-object.html @@ -24,8 +24,8 @@ promise_test(t => { }) .then(descriptor => { let promises = []; - promises.push(promise_rejects(t, 'InvalidStateError', descriptor.readValue())); - promises.push(promise_rejects(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1)))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', descriptor.readValue())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1)))); return Promise.all(promises); }); }, 'Calls on a descriptor after we disconnect and connect again. Should reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/invalid-descriptor-name.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/invalid-descriptor-name.html index daf5085c849..fc08a3fe764 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptor/invalid-descriptor-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptor/invalid-descriptor-name.html @@ -13,6 +13,6 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => service.getCharacteristic(device_name.name)) - .then(characteristic => promise_rejects(t, new TypeError(), characteristic.getDescriptor(wrong.name))); + .then(characteristic => promise_rejects_js(t, TypeError, characteristic.getDescriptor(wrong.name))); }, 'Wrong descriptor name. Reject with TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/blocklisted-descriptors-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/blocklisted-descriptors-with-uuid.html index dc79f6117f1..b618103ce89 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/blocklisted-descriptors-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/blocklisted-descriptors-with-uuid.html @@ -12,7 +12,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(blocklist_test_service_uuid)) .then(service => service.getCharacteristic(blocklist_exclude_reads_characteristic_uuid)) - .then(characteristic => promise_rejects(t, 'SecurityError', + .then(characteristic => promise_rejects_dom(t, 'SecurityError', characteristic.getDescriptors(blocklist_descriptor_uuid))); }, 'The descriptor is blocklisted. Should reject with SecurityError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed-with-uuid.html index 9c941681b51..83798481602 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed-with-uuid.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.getDescriptors(number_of_digitals.name)); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptors(number_of_digitals.name)); }); }, 'Characteristic is removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed.html index 00c0dc9b3a0..e0cbc3de845 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/characteristic-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.getDescriptors()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.getDescriptors()); }); }, 'Characteristic is removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found-with-uuid.html index 5597854b902..7aa554bb716 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found-with-uuid.html @@ -13,7 +13,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => service.getCharacteristic(device_name.name)) - .then(characteristic => promise_rejects(t, 'NotFoundError', + .then(characteristic => promise_rejects_dom(t, 'NotFoundError', characteristic.getDescriptors(number_of_digitals.name))); }, 'Request for absent descriptors with UUID. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found.html index 81a2b9e0f2e..3c1f013a0cc 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/descriptors-not-found.html @@ -13,7 +13,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => service.getCharacteristic(device_name.name)) - .then(characteristic => promise_rejects(t, 'NotFoundError', + .then(characteristic => promise_rejects_dom(t, 'NotFoundError', characteristic.getDescriptors())); }, 'Request for absent descriptors with UUID. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range-with-uuid.html index 1d66b23b494..6f1576b4e1e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range-with-uuid.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', characteristic.getDescriptors(number_of_digitals.name)); + return promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptors(number_of_digitals.name)); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range.html index aeeda110349..36883eb0a71 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/device-goes-out-of-range.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', characteristic.getDescriptors()); + return promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptors()); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before-with-uuid.html index e5ec70f1aa4..790ac27e2ba 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before-with-uuid.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', characteristic.getDescriptors(number_of_digitals.alias)); + return promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptors(number_of_digitals.alias)); }); }); }, 'disconnect() called before getDescriptors. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before.html index 2b82aeb7018..40238e27487 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-before.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', characteristic.getDescriptors()); + return promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptors()); }); }); }, 'disconnect() called before getDescriptors. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during-with-uuid.html index 0bd5677bca7..9db9c33d118 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during-with-uuid.html @@ -15,7 +15,7 @@ promise_test(t => { return gattServer.getPrimaryService(generic_access.name) .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { - let promise = promise_rejects(t, 'NetworkError', characteristic.getDescriptors(number_of_digitals.alias)); + let promise = promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptors(number_of_digitals.alias)); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during.html index 63c9b20eb42..6de07a73c90 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-called-during.html @@ -15,7 +15,7 @@ promise_test(t => { return gattServer.getPrimaryService(generic_access.name) .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { - let promise = promise_rejects(t, 'NetworkError', characteristic.getDescriptors()); + let promise = promise_rejects_dom(t, 'NetworkError', characteristic.getDescriptors()); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-invalidates-objects.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-invalidates-objects.html index 0cd9675758b..026239e201d 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-invalidates-objects.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/disconnect-invalidates-objects.html @@ -25,9 +25,9 @@ promise_test(t => { .then(descriptors => { let promises = []; for (let descriptor of descriptors) { - promises.push(promise_rejects(t, 'InvalidStateError', descriptor.readValue())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', descriptor.readValue())); if (descriptor.uuid != client_characteristic_configuration.uuid) - promises.push(promise_rejects(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1)))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1)))); } return Promise.all(promises); }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/invalid-descriptor-name.html b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/invalid-descriptor-name.html index 3a90d51c8e7..0bf3e26ae0e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getDescriptors/invalid-descriptor-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/getDescriptors/invalid-descriptor-name.html @@ -13,6 +13,6 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => service.getCharacteristic(device_name.name)) - .then(characteristic => promise_rejects(t, new TypeError(), characteristic.getDescriptors(wrong.name))); + .then(characteristic => promise_rejects_js(t, TypeError, characteristic.getDescriptors(wrong.name))); }, 'Wrong descriptor name. Reject with TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/device-goes-out-of-range.html index b5727d7d2c6..122a80ae0d5 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/device-goes-out-of-range.html @@ -12,7 +12,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', gattServer.getPrimaryService(generic_access.name)); + return promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryService(generic_access.name)); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-before.html index 75fdefb573b..010e62f3b8f 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-before.html @@ -12,7 +12,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', gattServer.getPrimaryService(heart_rate.name)); + return promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryService(heart_rate.name)); }); }, 'disconnect() called before getPrimaryService. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-during.html index 4c5de5ec567..50918e95482 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-called-during.html @@ -11,7 +11,7 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => { - let promise = promise_rejects(t, 'NetworkError', gattServer.getPrimaryService(heart_rate.name)); + let promise = promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryService(heart_rate.name)); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-invalidates-object.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-invalidates-object.html index e5914b93575..1581adc5c81 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-invalidates-object.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnect-invalidates-object.html @@ -22,9 +22,9 @@ promise_test(t => { }) .then(service => { let promises = []; - promises.push(promise_rejects(t, 'InvalidStateError', service.getCharacteristic(body_sensor_location.name))); - promises.push(promise_rejects(t, 'InvalidStateError', service.getCharacteristics(body_sensor_location.name))); - promises.push(promise_rejects(t, 'InvalidStateError', service.getCharacteristics())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristic(body_sensor_location.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristics(body_sensor_location.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristics())); return Promise.all(promises); }); }, 'Calls on a service after we disconnect and connect again. Should reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnected-device.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnected-device.html index 15791a329b4..09668d9ad0e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnected-device.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/disconnected-device.html @@ -9,6 +9,6 @@ promise_test(t => { return window.navigator.bluetooth.requestDevice({ filters: [{services: [heart_rate.name]}] }) - .then(device => promise_rejects(t, 'NetworkError', device.gatt.getPrimaryService(heart_rate.name))); + .then(device => promise_rejects_dom(t, 'NetworkError', device.gatt.getPrimaryService(heart_rate.name))); }, 'getPrimaryService called before connecting. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/invalid-service-name.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/invalid-service-name.html index 479747c7aab..fab37cffc56 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/invalid-service-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/invalid-service-name.html @@ -10,6 +10,6 @@ promise_test(t => { filters: [{services: [heart_rate.name]}] }) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, new TypeError(), gattServer.getPrimaryService(wrong.name))); + .then(gattServer => promise_rejects_js(t, TypeError, gattServer.getPrimaryService(wrong.name))); }, 'Wrong Service name. Reject with TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-absent-service.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-absent-service.html index 22b7d47755f..c57fd200f30 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-absent-service.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-absent-service.html @@ -12,8 +12,8 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => Promise.all([ - promise_rejects(t, expected, gattServer.getPrimaryService(glucose.alias)), - promise_rejects(t, expected, gattServer.getPrimaryService(glucose.name)), - promise_rejects(t, expected, gattServer.getPrimaryService(glucose.uuid))])); + promise_rejects_dom(t, expected, gattServer.getPrimaryService(glucose.alias)), + promise_rejects_dom(t, expected, gattServer.getPrimaryService(glucose.name)), + promise_rejects_dom(t, expected, gattServer.getPrimaryService(glucose.uuid))])); }, 'Request for absent service without permission. Reject with SecurityError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-present-service.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-present-service.html index 3aff9b9798b..ccd03084d28 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-present-service.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/no-permission-present-service.html @@ -12,8 +12,8 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => Promise.all([ - promise_rejects(t, expected, gattServer.getPrimaryService(generic_access.alias)), - promise_rejects(t, expected, gattServer.getPrimaryService(generic_access.name)), - promise_rejects(t, expected, gattServer.getPrimaryService(generic_access.uuid))])); + promise_rejects_dom(t, expected, gattServer.getPrimaryService(generic_access.alias)), + promise_rejects_dom(t, expected, gattServer.getPrimaryService(generic_access.name)), + promise_rejects_dom(t, expected, gattServer.getPrimaryService(generic_access.uuid))])); }, 'Request for present service without permission. Reject with SecurityError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/service-not-found.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/service-not-found.html index 4ee55337813..bc94d379202 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/service-not-found.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryService/service-not-found.html @@ -11,6 +11,6 @@ promise_test(t => { optionalServices: [glucose.name] }) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, 'NotFoundError', gattServer.getPrimaryService(glucose.name))); + .then(gattServer => promise_rejects_dom(t, 'NotFoundError', gattServer.getPrimaryService(glucose.name))); }, 'Request for absent service. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/blocklisted-services-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/blocklisted-services-with-uuid.html index 36a6c968519..690460119a2 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/blocklisted-services-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/blocklisted-services-with-uuid.html @@ -11,6 +11,6 @@ promise_test(t => { optionalServices: [human_interface_device.name] }) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, 'SecurityError', gattServer.getPrimaryServices(human_interface_device.name))); + .then(gattServer => promise_rejects_dom(t, 'SecurityError', gattServer.getPrimaryServices(human_interface_device.name))); }, 'Request for services. Does not return blocklisted service.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range-with-uuid.html index da7663e911d..2c3b3f88aa1 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range-with-uuid.html @@ -13,7 +13,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', gattServer.getPrimaryServices(generic_access.name)); + return promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryServices(generic_access.name)); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range.html index d507d7364de..3a17c5e42fb 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/device-goes-out-of-range.html @@ -13,7 +13,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', gattServer.getPrimaryServices()); + return promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryServices()); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before-with-uuid.html index 688b879685f..653551fee85 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before-with-uuid.html @@ -13,7 +13,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', gattServer.getPrimaryServices(heart_rate.name)); + return promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryServices(heart_rate.name)); }); }, 'disconnect() called before getPrimaryServices. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before.html index 972ab89d2e2..0ed52b3bf86 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-before.html @@ -13,7 +13,7 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', gattServer.getPrimaryServices()); + return promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryServices()); }); }, 'disconnect() called before getPrimaryServices. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during-with-uuid.html index fd69a0a6418..8867d762e58 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during-with-uuid.html @@ -11,7 +11,7 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => { - let promise = promise_rejects(t, 'NetworkError', gattServer.getPrimaryServices(heart_rate.name)); + let promise = promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryServices(heart_rate.name)); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during.html index 3fd0326d1a3..8864d9cc7ac 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-called-during.html @@ -11,7 +11,7 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => { - let promise = promise_rejects(t, 'NetworkError', gattServer.getPrimaryServices()); + let promise = promise_rejects_dom(t, 'NetworkError', gattServer.getPrimaryServices()); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-invalidates-objects.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-invalidates-objects.html index e505e561de2..e1e7bb6fc7f 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-invalidates-objects.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnect-invalidates-objects.html @@ -24,9 +24,9 @@ promise_test(t => { .then(services => { let promises = []; for (let service of services) { - promises.push(promise_rejects(t, 'InvalidStateError', service.getCharacteristic(body_sensor_location.name))); - promises.push(promise_rejects(t, 'InvalidStateError', service.getCharacteristics(body_sensor_location.name))); - promises.push(promise_rejects(t, 'InvalidStateError', service.getCharacteristics())); + promises.push(promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristic(body_sensor_location.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristics(body_sensor_location.name))); + promises.push(promise_rejects_dom(t, 'InvalidStateError', service.getCharacteristics())); } return Promise.all(promises); }); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device-with-uuid.html index 891c8067d98..b11902872ec 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device-with-uuid.html @@ -9,6 +9,6 @@ promise_test(t => { return window.navigator.bluetooth.requestDevice({ filters: [{services: [heart_rate.name]}] }) - .then(device => promise_rejects(t, 'NetworkError', device.gatt.getPrimaryServices(heart_rate.name))); + .then(device => promise_rejects_dom(t, 'NetworkError', device.gatt.getPrimaryServices(heart_rate.name))); }, 'getPrimaryServices called before connecting. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device.html index 4e5f9422f37..d96cdf56aa7 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/disconnected-device.html @@ -9,6 +9,6 @@ promise_test(t => { return window.navigator.bluetooth.requestDevice({ filters: [{services: [heart_rate.name]}] }) - .then(device => promise_rejects(t, 'NetworkError', device.gatt.getPrimaryServices())); + .then(device => promise_rejects_dom(t, 'NetworkError', device.gatt.getPrimaryServices())); }, 'getPrimaryServices called before connecting. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/invalid-service-name.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/invalid-service-name.html index 5cc3ac8a49a..df7b35e6d29 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/invalid-service-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/invalid-service-name.html @@ -10,6 +10,6 @@ promise_test(t => { filters: [{services: [heart_rate.name]}] }) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, new TypeError(), gattServer.getPrimaryServices(wrong.name))); + .then(gattServer => promise_rejects_js(t, TypeError, gattServer.getPrimaryServices(wrong.name))); }, 'Wrong Service name. Reject with TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-absent-service-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-absent-service-with-uuid.html index 7b40c1a88a7..57482ed5eb4 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-absent-service-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-absent-service-with-uuid.html @@ -12,8 +12,8 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => Promise.all([ - promise_rejects(t, expected, gattServer.getPrimaryServices(glucose.alias)), - promise_rejects(t, expected, gattServer.getPrimaryServices(glucose.name)), - promise_rejects(t, expected, gattServer.getPrimaryServices(glucose.uuid))])); + promise_rejects_dom(t, expected, gattServer.getPrimaryServices(glucose.alias)), + promise_rejects_dom(t, expected, gattServer.getPrimaryServices(glucose.name)), + promise_rejects_dom(t, expected, gattServer.getPrimaryServices(glucose.uuid))])); }, 'Request for absent service without permission. Reject with SecurityError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service-with-uuid.html index ebfdac1efe5..93b488270a4 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service-with-uuid.html @@ -12,8 +12,8 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => Promise.all([ - promise_rejects(t, expected, gattServer.getPrimaryServices(generic_access.alias)), - promise_rejects(t, expected, gattServer.getPrimaryServices(generic_access.name)), - promise_rejects(t, expected, gattServer.getPrimaryServices(generic_access.uuid))])); + promise_rejects_dom(t, expected, gattServer.getPrimaryServices(generic_access.alias)), + promise_rejects_dom(t, expected, gattServer.getPrimaryServices(generic_access.name)), + promise_rejects_dom(t, expected, gattServer.getPrimaryServices(generic_access.uuid))])); }, 'Request for present service without permission. Reject with SecurityError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service.html index d2f3f139e4a..d17d8269e90 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/no-permission-present-service.html @@ -10,6 +10,6 @@ promise_test(t => { filters: [{name: mock_device_name.heart_rate}] }) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, 'NotFoundError', gattServer.getPrimaryServices())); + .then(gattServer => promise_rejects_dom(t, 'NotFoundError', gattServer.getPrimaryServices())); }, 'Request for present service without permission. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found-with-uuid.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found-with-uuid.html index dab32a538bb..6821dc8caa6 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found-with-uuid.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found-with-uuid.html @@ -11,6 +11,6 @@ promise_test(t => { optionalServices: [glucose.name] }) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, 'NotFoundError', gattServer.getPrimaryServices(glucose.name))); + .then(gattServer => promise_rejects_dom(t, 'NotFoundError', gattServer.getPrimaryServices(glucose.name))); }, 'Request for absent service. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found.html b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found.html index 23492bcaed9..b8bac49bf99 100644 --- a/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found.html +++ b/tests/wpt/mozilla/tests/bluetooth/getPrimaryServices/services-not-found.html @@ -11,6 +11,6 @@ promise_test(t => { optionalServices: [generic_access.name] }) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, 'NotFoundError', gattServer.getPrimaryServices())); + .then(gattServer => promise_rejects_dom(t, 'NotFoundError', gattServer.getPrimaryServices())); }, 'Request for absent service. Reject with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/blocklisted-characteristic.html b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/blocklisted-characteristic.html index 6088bbac63a..4cb5c8ed207 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/blocklisted-characteristic.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/blocklisted-characteristic.html @@ -14,7 +14,7 @@ promise_test(t => { .then(service => service.getCharacteristic(blocklist_exclude_reads_characteristic_uuid)) .then(characteristic => { return characteristic.writeValue(new Uint8Array(1)) - .then(() => promise_rejects(t, 'SecurityError', characteristic.readValue())); + .then(() => promise_rejects_dom(t, 'SecurityError', characteristic.readValue())); }); }, 'Characteristic with exclude-reads fullfills write and rejects read.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/characteristic-is-removed.html index f4c16516cbf..e6e8e18b222 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/characteristic-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.readValue()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.readValue()); }); }, 'Characteristic gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/device-goes-out-of-range.html index 1eb38ea7f48..6cf000eb5f8 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/device-goes-out-of-range.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', characteristic.readValue()); + return promise_rejects_dom(t, 'NetworkError', characteristic.readValue()); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-before.html index 560f83a762e..3c800acfa1d 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-before.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', characteristic.readValue()); + return promise_rejects_dom(t, 'NetworkError', characteristic.readValue()); }); }); }, 'disconnect() called before readValue. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-during.html index 52521969a1b..7e0f7fedb5e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/disconnect-called-during.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(heart_rate_measurement.name)) .then(characteristic => characteristic.startNotifications()) .then(characteristic => { - let promise = promise_rejects(t, 'NetworkError', characteristic.readValue()); + let promise = promise_rejects_dom(t, 'NetworkError', characteristic.readValue()); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/service-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/service-is-removed.html index ab968427360..b83296d4207 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/service-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/characteristic/service-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.readValue()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.readValue()); }); }, 'Service gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/blocklisted-descriptor.html b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/blocklisted-descriptor.html index a570eb0f318..215250fb37e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/blocklisted-descriptor.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/blocklisted-descriptor.html @@ -15,7 +15,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(blocklist_exclude_reads_descriptor_uuid)) .then(descriptor => { return descriptor.writeValue(new Uint8Array(1)) - .then(() => promise_rejects(t, 'SecurityError', descriptor.readValue())); + .then(() => promise_rejects_dom(t, 'SecurityError', descriptor.readValue())); }); }, 'Descriptor with exclude-reads fullfills write and rejects read.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/characteristic-is-removed.html index b6efe288f89..080f3729dae 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/characteristic-is-removed.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', descriptor.readValue()); + return promise_rejects_dom(t, 'InvalidStateError', descriptor.readValue()); }); }, 'Characteristic gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/descriptor-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/descriptor-is-removed.html index 9891d9aa7ae..60501466a95 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/descriptor-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/descriptor-is-removed.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_descriptor_heart_rate); - return promise_rejects(t, 'InvalidStateError', descriptor.readValue()); + return promise_rejects_dom(t, 'InvalidStateError', descriptor.readValue()); }); }, 'Descriptor gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/device-goes-out-of-range.html index 23ecadc8354..8a4be2e0b72 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/device-goes-out-of-range.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', descriptor.readValue()); + return promise_rejects_dom(t, 'NetworkError', descriptor.readValue()); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/disconnect-called-before.html index e09ceae12ca..8459097f4b4 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/disconnect-called-before.html @@ -17,7 +17,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', descriptor.readValue()); + return promise_rejects_dom(t, 'NetworkError', descriptor.readValue()); }); }); }, 'disconnect() called before readValue. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/service-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/service-is-removed.html index 4cd7130dad2..40ccb33d0b6 100644 --- a/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/service-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/readValue/descriptor/service-is-removed.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', descriptor.readValue()); + return promise_rejects_dom(t, 'InvalidStateError', descriptor.readValue()); }); }, 'Service gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html index b9c9b356372..713ee87ce76 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html @@ -6,8 +6,8 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); - return promise_rejects( - t, new TypeError(), + return promise_rejects_js( + t, TypeError, window.navigator.bluetooth.requestDevice({ filters: [{services: [heart_rate.name]}], acceptAllDevices: true})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html index 87a05bcf6b1..2ea18dea172 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html @@ -8,6 +8,6 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.two_heart_rate); return window.navigator.bluetooth.requestDevice({acceptAllDevices: true}) .then(device => device.gatt.connect()) - .then(gattServer => promise_rejects(t, 'NotFoundError', gattServer.getPrimaryServices())); + .then(gattServer => promise_rejects_dom(t, 'NotFoundError', gattServer.getPrimaryServices())); }, 'requestDevice called with acceptAllDevices: true and with no optionalServices. Should not get access to any services.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-not-present.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-not-present.html index d793d5c6505..e7cbe0ebc0c 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-not-present.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-not-present.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.not_present); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({filters: [{services: [generic_access.name]}]}), 'Bluetooth adapter is not present.'); }, 'Reject with NotFoundError if the adapter is not present.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-off.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-off.html index d3760c94f58..8e119df660c 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-off.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/adapter-off.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.not_powered); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({filters: [{services: [generic_access.name]}]}), 'Bluetooth adapter is not powered.'); }, 'Reject with NotFoundError if the adapter is off.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-filter.html index e9fdc7f4f34..d9f5fc84d43 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-filter.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.blocklist); - return promise_rejects( + return promise_rejects_dom( t, 'SecurityError', window.navigator.bluetooth.requestDevice({filters: [{services: [human_interface_device.name]}]}), 'Requesting blocklisted service rejects.'); }, 'Reject with SecurityError if requesting a blocklisted service.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-optionalServices.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-optionalServices.html index 1477eeed6b7..525a30056f0 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-optionalServices.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/blocklisted-service-in-optionalServices.html @@ -13,7 +13,7 @@ promise_test(t => { }) .then(device => device.gatt.connect()) .then(gattServer => Promise.all([ - promise_rejects(t, expected, gattServer.getPrimaryService(human_interface_device.name)), - promise_rejects(t, expected, gattServer.getPrimaryServices(human_interface_device.name))])); + promise_rejects_dom(t, expected, gattServer.getPrimaryService(human_interface_device.name)), + promise_rejects_dom(t, expected, gattServer.getPrimaryServices(human_interface_device.name))])); }, 'Blocklisted UUID in optionalServices is removed and access not granted.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/blocklisted-service-data-key.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/blocklisted-service-data-key.html index 611586b68ac..75bd27bf465 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/blocklisted-service-data-key.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/blocklisted-service-data-key.html @@ -46,7 +46,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); let promises = []; blocklisted_keys.forEach(args => { - promises.push(promise_rejects(t, 'SecurityError', window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_dom(t, 'SecurityError', window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Rejects with SecurityError, if a serviceData key is blocklisted.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html index b33a88858a6..706ae76537e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html @@ -6,6 +6,6 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice({filters: [{}]})); + return promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice({filters: [{}]})); }, 'A filter must restrict the devices in some way.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html index b07ec1df543..2bae7966a42 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); - return promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice({filters: []}), + return promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice({filters: []}), 'An empty |filters| member should result in a TypeError'); }, 'An empty |filters| member should result in a TypeError'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html index dc29d161ca2..aa8e061b028 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html @@ -31,7 +31,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); let promises = []; test_specs.forEach(args => { - promises.push(promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'requestDevice with empty namePrefix. Should reject with TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html index 92eafc0fbe4..1af2d35d5fb 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html @@ -31,7 +31,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); let promises = []; test_specs.forEach(args => { - promises.push(promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Services member must contain at least one service.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html index a362d28a6c9..8fa7c54e269 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); - return promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice({ + return promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice({ filters: [{services: [battery_service.name]}, {services: [heart_rate.name]}, {acceptAllDevices: true}, diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html index 0cdf10470f3..82a2a9cec9f 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html @@ -7,8 +7,8 @@ promise_test(t => { let name_too_long = 'a'.repeat(249); window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects( - t, new TypeError(), window.navigator.bluetooth.requestDevice({filters: [{name: name_too_long}]}), + return promise_rejects_js( + t, TypeError, window.navigator.bluetooth.requestDevice({filters: [{name: name_too_long}]}), 'Device name longer than 248 bytes'); }, 'A device name longer than 248 must reject.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html index 17c843627aa..47e2498541d 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html @@ -7,8 +7,8 @@ promise_test(t => { let name_too_long = 'a'.repeat(249); window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects( - t, new TypeError(), window.navigator.bluetooth.requestDevice({filters: [{namePrefix: name_too_long}]}), + return promise_rejects_js( + t, TypeError, window.navigator.bluetooth.requestDevice({filters: [{namePrefix: name_too_long}]}), 'Device name longer than 248 bytes'); }, 'A device name prefix longer than 248 must reject.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html index ddc8472f3d0..dc0c4830c65 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html @@ -6,6 +6,6 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice()); + return promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice()); }, 'requestDevice() requires an argument.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html index a06034f1f1a..903923acf0f 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html @@ -6,9 +6,9 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects( + return promise_rejects_js( t, - new TypeError(), + TypeError, window.navigator.bluetooth.requestDevice([{}, {optionalServices: ['wrong_service']}])); }, 'RequestDeviceOptions requires a |filters| member.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html index e6ca7e1c36a..819164be255 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html @@ -9,8 +9,8 @@ promise_test(t => { // 83 chars * 3 bytes/char = 249 bytes let unicode_name = '\u2764'.repeat(83); window.testRunner.setBluetoothMockDataSet(adapter_type.unicode_device); - return promise_rejects( - t, new TypeError(), window.navigator.bluetooth.requestDevice({filters: [{name: unicode_name}]}), + return promise_rejects_js( + t, TypeError, window.navigator.bluetooth.requestDevice({filters: [{name: unicode_name}]}), 'Device name longer than 248 bytes'); }, 'Unicode string in \'name\' with utf8 representation greater than 248 ' + 'bytes must throw TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html index 7f1357fcf96..c451589c53c 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html @@ -9,8 +9,8 @@ promise_test(t => { // 83 chars * 3 bytes/char = 249 bytes let unicode_name = '\u2764'.repeat(83); window.testRunner.setBluetoothMockDataSet(adapter_type.unicode_device); - return promise_rejects( - t, new TypeError(), window.navigator.bluetooth.requestDevice({filters: [{namePrefix: unicode_name}]}), + return promise_rejects_js( + t, TypeError, window.navigator.bluetooth.requestDevice({filters: [{namePrefix: unicode_name}]}), 'Device name longer than 29 bytes'); }, 'Unicode string in \'namePrefix\' with utf8 representation greater than 248 ' + 'bytes must throw TypeError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-manufacturer-data-key.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-manufacturer-data-key.html index 87cf9d9ab5d..bee53c71109 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-manufacturer-data-key.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-manufacturer-data-key.html @@ -67,7 +67,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); let promises = []; wrong_manufacturer_data_keys.forEach(args => { - promises.push(promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Rejects with TypeError, if a manufacturerData key is not an unsigned short.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-mask-length.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-mask-length.html index 9370fa06092..4087fbb2507 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-mask-length.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-mask-length.html @@ -63,7 +63,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); let promises = []; length_error_cases.forEach(args => { - promises.push(promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Rejects with TypeError, if mask present, and does not have the same length as dataPrefix.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-data-key.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-data-key.html index 39560d182ff..e4c0b3a7f79 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-data-key.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-data-key.html @@ -81,7 +81,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); let promises = []; wrong_service_data_keys.forEach(args => { - promises.push(promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Rejects with TypeError, if a serviceData key does not convert to a valid uuid.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html index ac0a188f17c..08987892193 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html @@ -31,7 +31,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); let promises = []; test_specs.forEach(args => { - promises.push(promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Invalid optional service must reject the promise.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html index 6cb98aab759..708570095ee 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html @@ -30,7 +30,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); let promises = []; test_specs.forEach(args => { - promises.push(promise_rejects(t, new TypeError(), window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_js(t, TypeError, window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Invalid optional service must reject the promise.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-extra-data.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-extra-data.html index da121693728..2ed9cb9c423 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-extra-data.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-extra-data.html @@ -56,7 +56,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); let promises = []; extra_data_filters.forEach(args => { - promises.push(promise_rejects(t, 'NotFoundError', window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_dom(t, 'NotFoundError', window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'Requesting with an extra service/manufacturerData, which is not advertised, rejects with NotFoundError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-service-and-manufacturer-data.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-service-and-manufacturer-data.html index 783af132f4d..5f3cb4a3122 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-service-and-manufacturer-data.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/device-not-found-with-service-and-manufacturer-data.html @@ -7,7 +7,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{ diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/filter-does-not-match.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/filter-does-not-match.html index fd3a4ffe9c2..bf82702d348 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/filter-does-not-match.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/filter-does-not-match.html @@ -99,7 +99,7 @@ promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); let promises = []; test_specs.forEach(args => { - promises.push(promise_rejects(t, 'NotFoundError', window.navigator.bluetooth.requestDevice(args))); + promises.push(promise_rejects_dom(t, 'NotFoundError', window.navigator.bluetooth.requestDevice(args))); }); return Promise.all(promises); }, 'If at least one filter member doesn\'t match the promise must reject.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-prefix-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-prefix-filter.html index 0dbd1c735eb..71bfa0f5db0 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-prefix-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-prefix-filter.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty_name_heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{namePrefix: 'a', services: [heart_rate.name] }]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-wrong-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-wrong-filter.html index e411f819c23..8d2aae16f6d 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-wrong-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-device-from-name-wrong-filter.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty_name_heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{name: 'a', services: [heart_rate.name] }]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-filter.html index 138f03bc68c..a5ada4294bc 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-empty-filter.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{name: '', services: [heart_rate.name] }]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-empty-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-empty-filter.html index d01dedfa52d..4cbf700ce04 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-empty-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-empty-filter.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.no_name_heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{name: '', services: [heart_rate.name] }]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-prefix-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-prefix-filter.html index 2e3f2ac2946..7f8c3678a7f 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-prefix-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-prefix-filter.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.no_name_heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{namePrefix: 'a', services: [heart_rate.name] }]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-wrong-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-wrong-filter.html index 5742f95f699..aa6b3bbc9a4 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-wrong-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/name-missing-device-from-name-wrong-filter.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.no_name_heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{name: 'a', services: [heart_rate.name] }]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/no-devices.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/no-devices.html index 5e516ad540a..8f5b04a809e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/no-devices.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/no-devices.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{ services: [generic_access.name] }]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/not-accept-all-devices-without-filter.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/not-accept-all-devices-without-filter.html index bd9afe40d74..e87e3d8797c 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/not-accept-all-devices-without-filter.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/not-accept-all-devices-without-filter.html @@ -6,8 +6,8 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); - return promise_rejects( - t, new TypeError(), + return promise_rejects_js( + t, TypeError, window.navigator.bluetooth.requestDevice({acceptAllDevices: false}), 'Filters member is empty'); }, 'Reject with TypeError if `filters` not present and `acceptAllDevices` is false.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/requestDevice/single-filter-two-services-fails.html b/tests/wpt/mozilla/tests/bluetooth/requestDevice/single-filter-two-services-fails.html index 0c4dbb5f58e..760c4b76f86 100644 --- a/tests/wpt/mozilla/tests/bluetooth/requestDevice/single-filter-two-services-fails.html +++ b/tests/wpt/mozilla/tests/bluetooth/requestDevice/single-filter-two-services-fails.html @@ -6,7 +6,7 @@ 'use strict'; promise_test(t => { window.testRunner.setBluetoothMockDataSet(adapter_type.glucose_heart_rate); - return promise_rejects( + return promise_rejects_dom( t, 'NotFoundError', window.navigator.bluetooth.requestDevice({ filters: [{services: [heart_rate.name, battery_service.name]}]})); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/blocklisted-characteristic.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/blocklisted-characteristic.html index 45e0df32ae7..c50140e1613 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/blocklisted-characteristic.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/blocklisted-characteristic.html @@ -12,6 +12,6 @@ promise_test(t => { .then(device => device.gatt.connect()) .then(gattServer => gattServer.getPrimaryService(blocklist_test_service_uuid)) .then(service => service.getCharacteristic(blocklist_exclude_reads_characteristic_uuid)) - .then(characteristic => promise_rejects(t, 'SecurityError', characteristic.startNotifications())); + .then(characteristic => promise_rejects_dom(t, 'SecurityError', characteristic.startNotifications())); }, 'Characteristic with exclude-reads rejects startNotifications.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-does-not-support-notifications.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-does-not-support-notifications.html index 1d51de07198..d79aae09c02 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-does-not-support-notifications.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-does-not-support-notifications.html @@ -14,7 +14,7 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(heart_rate.name)) .then(service => service.getCharacteristic(body_sensor_location.name)) .then(characteristic => { - return promise_rejects(t, 'NotSupportedError', characteristic.startNotifications()); + return promise_rejects_dom(t, 'NotSupportedError', characteristic.startNotifications()); }); }, 'Characteristic doesn\'t support Notifications. Reject with NotSupportedError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-is-removed.html index 93ea254a1ab..0070a6724a9 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/characteristic-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(heart_rate_measurement.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.startNotifications()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.startNotifications()); }); }, 'Characteristic gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/device-goes-out-of-range.html index cdbfbb1f865..89fa3dd0b82 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/device-goes-out-of-range.html @@ -14,7 +14,7 @@ promise_test(t => { .then(service => service.getCharacteristic(heart_rate_measurement.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'InvalidStateError', characteristic.startNotifications()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.startNotifications()); }); }, 'Device goes out of range. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-before.html index ec580fc1964..7e0be978a37 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-before.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(heart_rate_measurement.name)) .then(characteristic => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', characteristic.startNotifications()); + return promise_rejects_dom(t, 'NetworkError', characteristic.startNotifications()); }); }); }, 'disconnect() called before startNotifications. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-during.html index f0f4cbb1642..4f52626a4c0 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/disconnect-called-during.html @@ -15,7 +15,7 @@ promise_test(t => { return gattServer.getPrimaryService(heart_rate.name) .then(service => service.getCharacteristic(heart_rate_measurement.name)) .then(characteristic => { - let promise = promise_rejects(t, 'NetworkError', characteristic.startNotifications()); + let promise = promise_rejects_dom(t, 'NetworkError', characteristic.startNotifications()); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/notify-failure.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/notify-failure.html index 19f411ee959..d0bac2f4862 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/notify-failure.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/notify-failure.html @@ -14,7 +14,7 @@ promise_test(t => { .then(gattServer => { return gattServer.getPrimaryService(generic_access.name) .then(service => service.getCharacteristic(device_name.name)) - .then(characteristic => promise_rejects(t, 'NotSupportedError', characteristic.startNotifications())); + .then(characteristic => promise_rejects_dom(t, 'NotSupportedError', characteristic.startNotifications())); }); }, 'startNotifications should throw NotSupportedError without Notify or Indicate flag.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/startNotifications/service-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/startNotifications/service-is-removed.html index 8bafc50cae1..91dd1c40723 100644 --- a/tests/wpt/mozilla/tests/bluetooth/startNotifications/service-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/startNotifications/service-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(heart_rate_measurement.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.startNotifications()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.startNotifications()); }); }, 'Service gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/stopNotifications/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/stopNotifications/characteristic-is-removed.html index 269c9867d90..e3a87271e72 100644 --- a/tests/wpt/mozilla/tests/bluetooth/stopNotifications/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/stopNotifications/characteristic-is-removed.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.startNotifications()) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.stopNotifications()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.stopNotifications()); }); }, 'Characteristic gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-before.html index 44052e05fff..266681ae4d3 100644 --- a/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-before.html @@ -17,7 +17,7 @@ promise_test(t => { .then(characteristic => characteristic.startNotifications()) .then(characteristic => { gattServer.disconnect(); - return promise_rejects(t, 'InvalidStateError', characteristic.stopNotifications()); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.stopNotifications()); }); }); }, 'disconnect() called before stopNotifications. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-during.html b/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-during.html index 8a6e2e46fd2..2b33c7f810d 100644 --- a/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-during.html +++ b/tests/wpt/mozilla/tests/bluetooth/stopNotifications/disconnect-called-during.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(heart_rate_measurement.name)) .then(characteristic => characteristic.startNotifications()) .then(characteristic => { - let promise = promise_rejects(t, 'InvalidStateError', characteristic.stopNotifications()); + let promise = promise_rejects_dom(t, 'InvalidStateError', characteristic.stopNotifications()); gattServer.disconnect(); return promise; }); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/blocklisted-characteristic.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/blocklisted-characteristic.html index 473aa6fa025..df1cc1615e9 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/blocklisted-characteristic.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/blocklisted-characteristic.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(peripherial_privacy_flag.name)) .then(characteristic => { return characteristic.readValue() - .then(() => promise_rejects(t, 'SecurityError', characteristic.writeValue(new Uint8Array(1)))); + .then(() => promise_rejects_dom(t, 'SecurityError', characteristic.writeValue(new Uint8Array(1)))); }); }, 'Characteristic with exclude-writes fullfills read and rejects write.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/characteristic-is-removed.html index 0fc07ddb1dc..20a6b040106 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/characteristic-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', + return promise_rejects_dom(t, 'InvalidStateError', characteristic.writeValue(new Uint8Array(1))); }); }, 'Characteristic gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/device-goes-out-of-range.html index 3e0f72411ca..f0b142c6fff 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/device-goes-out-of-range.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', characteristic.writeValue(new Uint8Array(1))); + return promise_rejects_dom(t, 'NetworkError', characteristic.writeValue(new Uint8Array(1))); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/disconnect-called-before.html index c10d161114a..90d14743bfa 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/disconnect-called-before.html @@ -16,7 +16,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', characteristic.writeValue(new Uint8Array(1))); + return promise_rejects_dom(t, 'NetworkError', characteristic.writeValue(new Uint8Array(1))); }); }); }, 'disconnect() called before writeValue. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/service-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/service-is-removed.html index 7720389eed9..6281119de9e 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/service-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/service-is-removed.html @@ -15,7 +15,7 @@ promise_test(t => { .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', characteristic.writeValue(new Uint8Array(1))); + return promise_rejects_dom(t, 'InvalidStateError', characteristic.writeValue(new Uint8Array(1))); }); }, 'Service gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/value-too-long.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/value-too-long.html index fd9a4a403f2..06a5426a4ed 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/value-too-long.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/characteristic/value-too-long.html @@ -14,6 +14,6 @@ promise_test(t => { .then(gattServer => gattServer.getPrimaryService(generic_access.name)) .then(service => service.getCharacteristic(device_name.name)) .then(characteristic => - promise_rejects(t, 'InvalidModificationError', characteristic.writeValue(new Uint8Array(513)))); + promise_rejects_dom(t, 'InvalidModificationError', characteristic.writeValue(new Uint8Array(513)))); }, 'Trying to write more than 512 bytes should return an InvalidModificationError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/blocklisted-descriptor.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/blocklisted-descriptor.html index 0c7f827047d..b4aacf9615c 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/blocklisted-descriptor.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/blocklisted-descriptor.html @@ -17,7 +17,7 @@ promise_test(t => { client_characteristic_configuration.name)) .then(descriptor => { return descriptor.readValue() - .then(() => promise_rejects(t, 'SecurityError', descriptor.writeValue(new Uint8Array(1)))); + .then(() => promise_rejects_dom(t, 'SecurityError', descriptor.writeValue(new Uint8Array(1)))); }); }, 'Descriptor with exclude-writes fullfills read and rejects write.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/characteristic-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/characteristic-is-removed.html index 5130ccee7aa..e83b33eed3b 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/characteristic-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/characteristic-is-removed.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_characteristic_heart_rate); - return promise_rejects(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1))); + return promise_rejects_dom(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1))); }); }, 'Characteristic gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/descriptor-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/descriptor-is-removed.html index c8fe9c8f5b6..28994e3ad8c 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/descriptor-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/descriptor-is-removed.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_descriptor_heart_rate); - return promise_rejects(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1))); + return promise_rejects_dom(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1))); }); }, 'Descriptor gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/device-goes-out-of-range.html index 6d90c3da5a8..459871c706a 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/device-goes-out-of-range.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/device-goes-out-of-range.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.empty); - return promise_rejects(t, 'NetworkError', descriptor.writeValue(new Uint8Array(1))); + return promise_rejects_dom(t, 'NetworkError', descriptor.writeValue(new Uint8Array(1))); }); }, 'Device goes out of range. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/disconnect-called-before.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/disconnect-called-before.html index efbe58de021..c8ce8f72075 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/disconnect-called-before.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/disconnect-called-before.html @@ -17,7 +17,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { gattServer.disconnect(); - return promise_rejects(t, 'NetworkError', descriptor.writeValue(new Uint8Array(1))); + return promise_rejects_dom(t, 'NetworkError', descriptor.writeValue(new Uint8Array(1))); }); }); }, 'disconnect() called before writeValue. Reject with NetworkError.'); diff --git a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/service-is-removed.html b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/service-is-removed.html index f5a86b1b919..bbd9ceeafa2 100644 --- a/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/service-is-removed.html +++ b/tests/wpt/mozilla/tests/bluetooth/writeValue/descriptor/service-is-removed.html @@ -16,7 +16,7 @@ promise_test(t => { .then(characteristic => characteristic.getDescriptor(number_of_digitals.name)) .then(descriptor => { window.testRunner.setBluetoothMockDataSet(adapter_type.missing_service_heart_rate); - return promise_rejects(t, 'InvalidStateError', + return promise_rejects_dom(t, 'InvalidStateError', descriptor.writeValue(new Uint8Array(1))); }); }, 'Service gets removed. Reject with InvalidStateError.'); diff --git a/tests/wpt/mozilla/tests/mozilla/promise.html b/tests/wpt/mozilla/tests/mozilla/promise.html index 729e87882b4..59250472871 100644 --- a/tests/wpt/mozilla/tests/mozilla/promise.html +++ b/tests/wpt/mozilla/tests/mozilla/promise.html @@ -25,7 +25,7 @@ var t = new TestBinding; var p = new Promise(function() {}); t.promiseRejectWithTypeError(p, "success"); - return promise_rejects(test, new TypeError("success"), p, "TypeError should be instantiated"); + return promise_rejects_js(test, TypeError, p, "TypeError should be instantiated"); }, 'Native code rejects with exception'); promise_test(function(test) { diff --git a/tests/wpt/mozilla/tests/mozilla/service-workers/service-worker-registration.html b/tests/wpt/mozilla/tests/mozilla/service-workers/service-worker-registration.html index db2cc303d0f..da46088ca92 100644 --- a/tests/wpt/mozilla/tests/mozilla/service-workers/service-worker-registration.html +++ b/tests/wpt/mozilla/tests/mozilla/service-workers/service-worker-registration.html @@ -42,11 +42,11 @@ promise_test(function() { }, "Test: Service Worker Registration property scope when provided a scope"); promise_test(function (p) { - return promise_rejects(p, new TypeError(), register_sw('./in%5Csome%5fdir/sw.js')); + return promise_rejects_js(p, TypeError, register_sw('./in%5Csome%5fdir/sw.js')); }, "Test: Throws Error when Invalid Url Path"); promise_test(function (p) { - return promise_rejects(p, new TypeError(), register_sw('sw.js', './mal%5fformed/sco%5Cpe/')); + return promise_rejects_js(p, TypeError, register_sw('sw.js', './mal%5fformed/sco%5Cpe/')); }, "Test: Throws Error when Invalid Scope"); diff --git a/tests/wpt/mozilla/tests/mozilla/worklets/test_paint_worklet_loading.html b/tests/wpt/mozilla/tests/mozilla/worklets/test_paint_worklet_loading.html index 009a2affe99..a6fb9e7d84e 100644 --- a/tests/wpt/mozilla/tests/mozilla/worklets/test_paint_worklet_loading.html +++ b/tests/wpt/mozilla/tests/mozilla/worklets/test_paint_worklet_loading.html @@ -14,50 +14,50 @@ promise_test(function() { promise_test(function(t) { var path = new URL("test_paint_worklet.js", document.location).pathname; var url = new URL(path, host_info.HTTP_REMOTE_ORIGIN); - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule(url)); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule(url)); }, "Loading a cross-origin paint worklet."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("nonexistent_worklet.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("nonexistent_worklet.js")); }, "Loading a nonexistent paint worklet."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("syntax_error.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("syntax_error.js")); }, "Loading a syntactically incorrect paint worklet."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("throw_exception.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("throw_exception.js")); }, "Loading an exception-throwing paint worklet."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet.js")); }, "Loading a paint worklet again."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_empty_name.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_empty_name.js")); }, "Loading a paint worklet with an empty name."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_properties_throws.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_properties_throws.js")); }, "Loading a paint worklet whose inputProperties throws an exception."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_arguments_throws.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_arguments_throws.js")); }, "Loading a paint worklet whose inputArguments throws an exception."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_alpha_throws.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_alpha_throws.js")); }, "Loading a paint worklet whose alpha throws an exception."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_not_constructor.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_not_constructor.js")); }, "Loading a paint worklet which isn't a constructor function."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_no_paint.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_no_paint.js")); }, "Loading a paint worklet with no paint."); promise_test(function(t) { - return promise_rejects(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_paint_not_callable.js")); + return promise_rejects_dom(t, "AbortError", CSS.paintWorklet.addModule("test_paint_worklet_paint_not_callable.js")); }, "Loading a paint worklet with a paint that is not callable."); diff --git a/tests/wpt/mozilla/tests/mozilla/worklets/test_worklet.html b/tests/wpt/mozilla/tests/mozilla/worklets/test_worklet.html index d7a9efa04fe..5e84b0e5658 100644 --- a/tests/wpt/mozilla/tests/mozilla/worklets/test_worklet.html +++ b/tests/wpt/mozilla/tests/mozilla/worklets/test_worklet.html @@ -18,18 +18,18 @@ promise_test(function() { promise_test(function(t) { var path = new URL("test_worklet.js", document.location).pathname; var url = new URL(path, host_info.HTTP_REMOTE_ORIGIN); - return promise_rejects(t, "AbortError", testWorklet.addModule(url)); + return promise_rejects_dom(t, "AbortError", testWorklet.addModule(url)); }, "Loading a cross-origin test worklet."); promise_test(function(t) { - return promise_rejects(t, "AbortError", testWorklet.addModule("nonexistent_worklet.js")); + return promise_rejects_dom(t, "AbortError", testWorklet.addModule("nonexistent_worklet.js")); }, "Loading a nonexistent test worklet."); promise_test(function(t) { - return promise_rejects(t, "AbortError", testWorklet.addModule("syntax_error.js")); + return promise_rejects_dom(t, "AbortError", testWorklet.addModule("syntax_error.js")); }, "Loading a syntactically incorrect test worklet."); promise_test(function(t) { - return promise_rejects(t, "AbortError", testWorklet.addModule("throw_exception.js")); + return promise_rejects_dom(t, "AbortError", testWorklet.addModule("throw_exception.js")); }, "Loading an exception-throwing test worklet.");