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

Make Performance Timeline API work in Workers #18324

Merged
merged 1 commit into from Sep 5, 2017

Conversation

ferjm
Copy link
Contributor

@ferjm ferjm commented Aug 31, 2017

This patch makes the Performance Timeline API work in workers, removes the exposure of Performance.timing in workers and sets the appropriate value of Performance.now() in workers.


This change is Reviewable

@highfive
Copy link

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/dom/document.rs, components/script/dom/performance.rs, components/profile/time.rs, components/script/dom/globalscope.rs, components/script/dom/performanceobserver.rs and 10 more
  • @KiChjang: components/script/dom/document.rs, components/script/dom/performance.rs, components/script/dom/globalscope.rs, components/script/dom/performanceobserver.rs, components/script/dom/workerglobalscope.rs and 7 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 31, 2017
@highfive
Copy link

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!

@ferjm
Copy link
Contributor Author

ferjm commented Aug 31, 2017

r? @jdm

@highfive highfive assigned jdm and unassigned asajeffrey Aug 31, 2017
@ferjm ferjm force-pushed the performance.workers branch 2 times, most recently from 069a06a to 3ccd165 Compare September 2, 2017 15:00
@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #18361) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Sep 3, 2017
@ferjm ferjm force-pushed the performance.workers branch 4 times, most recently from 2cc0b54 to fdcc1ad Compare September 4, 2017 19:28
@jdm jdm removed the S-needs-rebase There are merge conflict errors. label Sep 5, 2017
@jdm
Copy link
Member

jdm commented Sep 5, 2017

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit fb843c2 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 5, 2017
bors-servo pushed a commit that referenced this pull request Sep 5, 2017
Make Performance Timeline API work in Workers

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18286 and #18308

This patch makes the Performance Timeline API work in workers, removes the exposure of `Performance.timing` in workers and sets the appropriate value of `Performance.now()` in workers.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18324)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

⌛ Testing commit fb843c2 with merge 42de8e3...

@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: jdm
Pushing 42de8e3 to master...

@bors-servo bors-servo merged commit fb843c2 into servo:master Sep 5, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 5, 2017
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.

Make PerformanceObserver work in workers
5 participants