mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision fbe1d224ce01b0844030db54a3cc6060c6d6c17a
This commit is contained in:
parent
3c34da1c91
commit
aec530632a
105 changed files with 1097 additions and 543 deletions
|
@ -72,13 +72,16 @@ function run_fp_tests_enabled(sensorName) {
|
|||
);
|
||||
}, `${sensorName}: ${header} allows same-origin iframes.`);
|
||||
|
||||
// Set allow="feature;feature;..." on iframe element to delegate features
|
||||
// under test to cross origin subframe.
|
||||
async_test(t => {
|
||||
assert_implements(sensorName in self, `${sensorName} is not supported.`);
|
||||
test_feature_availability(
|
||||
desc,
|
||||
t,
|
||||
cross_origin_src + sensorName,
|
||||
expect_feature_available_default
|
||||
expect_feature_available_default,
|
||||
feature_policies[sensorName].join(";")
|
||||
);
|
||||
}, `${sensorName}: ${header} allows cross-origin iframes.`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue