Update web-platform-tests to revision 181f8381fe9373e027f4b5ba5d1439843ad2c2e6

This commit is contained in:
WPT Sync Bot 2019-02-21 21:02:15 -05:00
parent 0dda115609
commit 0355b8e70d
105 changed files with 2775 additions and 764 deletions

View file

@ -14,6 +14,10 @@
}
window.addEventListener('message', t.step_func(e => {
assert_equals(e.data['entryType'], 'longtask');
// Ignore any long task that may be produced by the top-level frame.
if (e.data['frame-attribution'] === 'same-origin-ancestor')
return;
assert_equals(e.data['frame-attribution'], 'same-origin');
assert_equals(e.data['task-attribution'], 'unknown');
assert_equals(e.data['containerId'], 'longtask-iframe-id');