mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'8ff38c54ff3fab31f862570a38e73755785ba7ee'
This commit is contained in:
parent
9a03911abf
commit
fb586f68cc
161 changed files with 3786 additions and 736 deletions
|
@ -89,6 +89,20 @@ promise_test(async t => {
|
|||
await promise_rejects_dom(t, 'NotAllowedError', navigator.subApps.add(subapp));
|
||||
}, 'Missing user activation.');
|
||||
|
||||
promise_test(async t => {
|
||||
const same_origin_url = document.location.origin + '/sub-app-';
|
||||
|
||||
let add_call_params = {};
|
||||
for (let i = 0; i < 8; i++) {
|
||||
const url = same_origin_url + i;
|
||||
add_call_params[url] = { install_url: url };
|
||||
}
|
||||
|
||||
await test_driver.bless("installing subapps", async function () {
|
||||
await promise_rejects_dom(t, 'DataError', navigator.subApps.add(add_call_params));
|
||||
});
|
||||
}, 'Too many subapps at once.');
|
||||
|
||||
promise_test(async t => {
|
||||
let add_call_params = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue