Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>LongTask Timing: long task in sibling iframe</title>
<body>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
async_test(t => {
window.addEventListener("message", t.step_func(e => {
assert_equals(e.data, "longtask+same-origin+frame");
t.done();
}));
}, "Performance longtask entries in parent are observable in child iframe");
</script>
<iframe src="resources/subframe-observing-longtask.html"></iframe>
<script>
/* Create an iframe that generates a long task. */
var iframe = document.createElement('iframe');
iframe.id = 'child-iframe-id';
iframe.name = 'child-iframe-name';
document.body.appendChild(iframe);
iframe.src = 'resources/subframe-with-longtask.html'
</script>
</body>