Update web-platform-tests to revision 9ca57e052ba1b19fa3dd46c6aa656e8d529469a8

This commit is contained in:
WPT Sync Bot 2020-09-12 08:20:19 +00:00
parent 68cb8f3d59
commit 75d6484415
1377 changed files with 31062 additions and 16983 deletions

View file

@ -28,12 +28,12 @@ function run_fp_tests_disabled(sensorName) {
const desc = "'new " + sensorName + "()'";
test(() => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
assert_throws_dom("SecurityError", () => {new sensorType()});
}, `${sensorName}: ${header} disallows the top-level document.`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -43,7 +43,7 @@ function run_fp_tests_disabled(sensorName) {
}, `${sensorName}: ${header} disallows same-origin iframes.`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -59,11 +59,11 @@ function run_fp_tests_enabled(sensorName) {
const desc = "'new " + sensorName + "()'";
test(() => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
}, `${sensorName}: ${header} allows the top-level document.`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -73,7 +73,7 @@ function run_fp_tests_enabled(sensorName) {
}, `${sensorName}: ${header} allows same-origin iframes.`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -89,7 +89,7 @@ function run_fp_tests_enabled_by_attribute(sensorName) {
const desc = "'new " + sensorName + "()'";
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -100,7 +100,7 @@ function run_fp_tests_enabled_by_attribute(sensorName) {
}, `${sensorName}: ${header} allows same-origin iframe`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -117,7 +117,7 @@ function run_fp_tests_enabled_by_attribute_redirect_on_load(sensorName) {
const desc = "'new " + sensorName + "()'";
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -128,7 +128,7 @@ function run_fp_tests_enabled_by_attribute_redirect_on_load(sensorName) {
}, `${sensorName}: ${header} allows same-origin relocation`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -145,11 +145,11 @@ function run_fp_tests_enabled_on_self_origin(sensorName) {
const desc = "'new " + sensorName + "()'";
test(() => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
}, `${sensorName}: ${header} allows the top-level document.`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,
@ -159,7 +159,7 @@ function run_fp_tests_enabled_on_self_origin(sensorName) {
}, `${sensorName}: ${header} allows same-origin iframes.`);
async_test(t => {
assert_true(sensorName in self);
assert_implements(sensorName in self, `${sensorName} is not supported.`);
test_feature_availability(
desc,
t,