mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision b'8a99353217938b6f1da31a9a108da3d501cee58b'
This commit is contained in:
parent
62ec0f1ec7
commit
92be0baf34
211 changed files with 5373 additions and 2272 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue