Mar 24 2020 01:28 AM
When I visit 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.
Mar 24 2020 04:09 AM
Mar 24 2020 06:40 AM
@HotCakeX thanks for your reply, but I think there are difference between fireidlecallback and requestidlecallback.
Mar 24 2020 07:36 AM - edited Mar 24 2020 07:38 AM
Solution
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.
Mar 27 2020 03:52 AM
@Phoebus so, The ultimate solution is to clean up all of the browser's cached data. after use local server, browser will load new data, it will generate FireIdleCallback event.
Mar 27 2020 03:41 PM
@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
Mar 24 2020 07:36 AM - edited Mar 24 2020 07:38 AM
Solution
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.