Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

6 lines (3 sloc) 780 Bytes


Window.isFramePending returns a boolean indicating whether any browsing contexts currently have a rendering opportunity. If the return value is true, the browser will run the "Update the Rendering" steps on the next iteration of the event loop, as specified in step 11 of the HTML processing model.

The purpose of this API is to allow developers to make informed decisions about when to yield from javascript code, in order to give the rendering pipeline an opportunity to run (and thereby avoid visual jank).

You can’t perform that action at this time.