Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove STOPPING state handling #78

Merged
merged 1 commit into from
Nov 8, 2019
Merged

Conversation

Manishearth
Copy link
Member

STOPPING is the transition into the IDLE state, not an exit event

Ideally we should be using this for triggering visibility blurred events, but I'm never seeing the IDLE or VISIBLE states.

I suspect this has something to do with wait_for_animation_frame, HL may be pausing w_a_f when it goes into IDLE, and throwing away the events we don't immediately ask for.

I suspect those events are going into EventsLost, whch we don't yet check.

r? @jdm

@jdm
Copy link
Member

jdm commented Nov 1, 2019

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 1376366 has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit 1376366 with merge 5c37839...

bors-servo pushed a commit that referenced this pull request Nov 1, 2019
Remove STOPPING state handling

STOPPING is the transition into the IDLE state, not an exit event

Ideally we should be using this for triggering visibility blurred events, but I'm never seeing the IDLE or VISIBLE states.

I suspect this has something to do with wait_for_animation_frame, HL may be pausing w_a_f when it goes into IDLE, and throwing away the events we don't immediately ask for.

I suspect those events are going into EventsLost, whch we don't yet check.

r? @jdm
@bors-servo
Copy link
Contributor

💔 Test failed - checks-travis

@Manishearth
Copy link
Member Author

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

📌 Commit 867137f has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit 867137f with merge 824e416...

bors-servo pushed a commit that referenced this pull request Nov 8, 2019
Remove STOPPING state handling

STOPPING is the transition into the IDLE state, not an exit event

Ideally we should be using this for triggering visibility blurred events, but I'm never seeing the IDLE or VISIBLE states.

I suspect this has something to do with wait_for_animation_frame, HL may be pausing w_a_f when it goes into IDLE, and throwing away the events we don't immediately ask for.

I suspect those events are going into EventsLost, whch we don't yet check.

r? @jdm
@bors-servo
Copy link
Contributor

☀️ Test successful - checks-travis
Approved by: jdm
Pushing 824e416 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants