Forum Discussion
Under what circumstances does the browser generate the FireIdleCallback events
When I visit http://www.baidu.com (like bing) , the browser(MSEdge for chromium) will generate FireIdleCallback event, see log:
[System] Chrome Event: FireIdleCallback (Complete) FireIdleCallback, Complete, data, , ,
[System] Chrome Event: FireIdleCallback (Complete End) FireIdleCallback, Complete End, , , ,
but, If I use local http server, FireIdleCallback events do not occur.
So, Under what circumstances can the FireIdleCallback event be generated ?
remind:visit baidu.com or local server, MSEdge can normal showing content page.
thanks.
Well as implemented in WebIDL's 'requestIdleCallback' polls a function in the queue to be called.
This leads to 'Fire Idle Callback'; firing (Executing) it later, this one is internal to the browser.
5 Replies
- Anonymous
Phoebus Glad to see that you were able to get some help from the community! Let us know if anything else comes up, and welcome to the MS Edge Insiders group.
Fawkes (they/them)
Project & Community Manager - Microsoft Edge
- You can read more about it here:
https://developers.google.com/web/updates/2015/08/using-requestidlecallback- ThraetaonaIron Contributor
Well as implemented in WebIDL's 'requestIdleCallback' polls a function in the queue to be called.
This leads to 'Fire Idle Callback'; firing (Executing) it later, this one is internal to the browser.