Forum Discussion

Phoebus's avatar
Phoebus
Copper Contributor
Mar 24, 2020
Solved

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.

  • Phoebus 

     

    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

  • Phoebus's avatar
    Phoebus
    Copper Contributor

    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.

    • Anonymous's avatar
      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

    • Phoebus's avatar
      Phoebus
      Copper Contributor

      HotCakeX thanks for your reply, but I think there are difference between fireidlecallback and requestidlecallback.

      • Thraetaona's avatar
        Thraetaona
        Iron Contributor

        Phoebus 

         

        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.

         

         

Resources