mirror of
https://github.com/servo/servo.git
synced 2025-09-04 20:18:21 +01:00
Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317
This commit is contained in:
parent
aa199307c8
commit
2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions
|
@ -35,7 +35,7 @@
|
|||
assert_equals(attribution.containerId, 'child-iframe-id');
|
||||
assert_equals(attribution.containerName, 'child-iframe-name');
|
||||
assert_equals(attribution.containerSrc,
|
||||
'http://www1.web-platform.test:8000/longtask-timing/resources/subframe-with-longtask.html');
|
||||
'resources/subframe-with-longtask.html');
|
||||
observer.disconnect();
|
||||
t.done();
|
||||
})
|
||||
|
@ -44,10 +44,11 @@
|
|||
const iframe = document.createElement('iframe');
|
||||
iframe.id = 'child-iframe-id';
|
||||
iframe.name = 'child-iframe-name';
|
||||
// Simulate cross-origin by using sandbox.
|
||||
iframe.sandbox = "allow-scripts";
|
||||
document.body.appendChild(iframe);
|
||||
// TODO(panicker): simulate cross-origin instead
|
||||
iframe.src = 'http://www1.web-platform.test:8000/longtask-timing/resources/subframe-with-longtask.html';
|
||||
}, 'Performance longtask entries in child iframe are observable in parent.');
|
||||
iframe.src = 'resources/subframe-with-longtask.html';
|
||||
}, 'Performance longtask entries in cross-origin child iframe are observable in parent.');
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue