2 <script src=
"../../resources/js-test.js"></script>
4 description('Test for crbug.com/401846 - <iframe> using web font fails to trigger onload() in opener');
6 window
.jsTestIsAsync
= true;
8 window
.onload = function() {
10 for (var i
= 0; i
< 4; ++i
) {
11 var iframe
= document
.createElement('iframe');
12 iframe
.onload = function() {
17 iframe
.src
= 'resources/ahem.html';
18 document
.body
.appendChild(iframe
);