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

Manishearth commented Nov 1, 2019

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
Copy link
Contributor

bors-servo commented Nov 1, 2019

📌 Commit 1376366 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Nov 1, 2019

Testing commit 1376366 with merge 5c37839...

bors-servo added 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

bors-servo commented Nov 1, 2019

💔 Test failed - checks-travis

@Manishearth Manishearth force-pushed the Manishearth:stopping branch from 1376366 to 867137f Nov 8, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Nov 8, 2019

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

📌 Commit 867137f has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Nov 8, 2019

Testing commit 867137f with merge 824e416...

bors-servo added 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

bors-servo commented Nov 8, 2019

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

@bors-servo bors-servo merged commit 867137f into servo:master Nov 8, 2019
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.