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
Member

ferjm commented Aug 31, 2017

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • 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.


This change is Reviewable

@highfive
Copy link

highfive commented Aug 31, 2017

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

highfive commented Aug 31, 2017

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!
@ferjm
Copy link
Member Author

ferjm commented Aug 31, 2017

r? @jdm

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

bors-servo commented Sep 3, 2017

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

@ferjm ferjm force-pushed the ferjm:performance.workers branch 4 times, most recently from 2cc0b54 to fdcc1ad Sep 4, 2017
@ferjm ferjm force-pushed the ferjm:performance.workers branch from fdcc1ad to fb843c2 Sep 5, 2017
@jdm jdm removed the S-needs-rebase label Sep 5, 2017
@jdm
Copy link
Member

jdm commented Sep 5, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2017

📌 Commit fb843c2 has been approved by jdm

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

bors-servo commented Sep 5, 2017

Testing commit fb843c2 with merge 42de8e3...

@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2017

@bors-servo bors-servo merged commit fb843c2 into servo:master Sep 5, 2017
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
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.

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