WICG / frame-timing

Frame Timing API
https://wicg.github.io/frame-timing/
Other
170 stars 18 forks source link

queue FT events for each fully active document #50

Closed igrigorik closed 9 years ago

igrigorik commented 9 years ago

This change updates processing model to queue Frame Timing events for each "active document" - e.g. iframes / frames. This allows such documents to detect+adapt to instances when the main thread is running slowly.

(note: this is a placeholdern until we have proper hooks in HTML spec)

mpb commented 9 years ago

lgtm

toddreifsteck commented 9 years ago

lgtm, could we get a review from Mozilla?

hiikezoe commented 9 years ago

Looks good to me too. I don't know how often the processing model in that document is update, if it's frequently updated, "before step 9..." might be better instead of "after step 8.10..". I am just wondering...

igrigorik commented 9 years ago

@hiikezoe I believe "after 8.10" is the correct place, as we want it to be the last step of step 8 -- that's where we dispatch events to each of the active documents.

Merging. We'll probably have to shift things around once we define the necessary hooks in HTML spec, but we can address that when the time comes.