mirror of
https://github.com/servo/servo
synced 2026-05-13 18:37:30 +02:00
Update web-platform-tests to revision b'8a99353217938b6f1da31a9a108da3d501cee58b'
This commit is contained in:
@@ -34,6 +34,12 @@ promise_test(async t => {
|
||||
await promise_rejects_dom(t, 'InvalidStateError', iframeDOMException, iframeNavigator.subApps.remove('sub-app-id'));
|
||||
}, "API is only supported in top-level browsing contexts.");
|
||||
|
||||
promise_test(async t => {
|
||||
const full_url = document.location.origin + '/sub-app';
|
||||
|
||||
await promise_rejects_dom(t, 'NotSupportedError', navigator.subApps.remove(full_url));
|
||||
}, 'API supports only root-relative paths.');
|
||||
|
||||
promise_test(async t => {
|
||||
t.add_cleanup(async () => {
|
||||
await mockSubAppsService.reset();
|
||||
|
||||
Reference in New Issue
Block a user