Revision d82577659f6502e95610c654b65ea20a76b22baa authored by David Grogan on 06 July 2018, 23:21:12 UTC, committed by Chrome-bot on 06 July 2018, 23:21:12 UTC
Note this is a test only, the bug persists.

Bug: 860084
Change-Id: I89d0cabda6018beaef2ec33ee8eb96b44a86e1c8
1 parent e7283ac
Raw File
callback-iframe.html
<!doctype html>
<meta charset=utf-8>
<title></title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id="log"></div>
<iframe style="display:none" id="frame"></iframe>
<script>
  async_test(function (t) {
    let frame = document.getElementById("frame");
    frame.contentWindow.test = function() {
      frame.contentWindow.requestIdleCallback(t.step_func_done());
    }

    frame.contentWindow.test();
  });
</script>
back to top