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

PerformanceObserver.supportedEntryTypes #25697

Merged
merged 1 commit into from Feb 15, 2020

Conversation

@pshaughn
Copy link
Member

pshaughn commented Feb 5, 2020

It felt odd to cache these directly in GlobalScope, but they need to be [SameObject] and the global scope is where the spec implies they go.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #25587
  • There are tests for these changes
@highfive
Copy link

highfive commented Feb 5, 2020

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/globalscope.rs, components/script/dom/performanceobserver.rs, components/script/dom/webidls/PerformanceObserver.webidl
  • @KiChjang: components/script/dom/globalscope.rs, components/script/dom/performanceobserver.rs, components/script/dom/webidls/PerformanceObserver.webidl
@pshaughn
Copy link
Member Author

pshaughn commented Feb 5, 2020

@bors-servo try=wpt

@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2020

Trying commit 223ae98 with merge 35f638a...

bors-servo added a commit that referenced this pull request Feb 5, 2020
PerformanceObserver.supportedEntryTypes

<!-- Please describe your changes on the following line: -->
It felt odd to cache these directly in GlobalScope, but they need to be [SameObject] and the global scope is where the spec implies they go.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25587

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Feb 11, 2020

Where in the spec is the implication that the same frozen array should be returned from two different PerformanceObserver objects?

@pshaughn
Copy link
Member Author

pshaughn commented Feb 11, 2020

components/script/dom/globalscope.rs Outdated Show resolved Hide resolved
@jdm jdm assigned jdm and unassigned SimonSapin Feb 11, 2020
@pshaughn pshaughn force-pushed the pshaughn:supportedentrytypes branch from 223ae98 to 7fc79b5 Feb 11, 2020
@jdm
Copy link
Member

jdm commented Feb 12, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 12, 2020

📌 Commit 7fc79b5 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Feb 12, 2020

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

@pshaughn pshaughn force-pushed the pshaughn:supportedentrytypes branch from 7fc79b5 to 1de7eb9 Feb 12, 2020
@jdm
Copy link
Member

jdm commented Feb 12, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 12, 2020

📌 Commit 1de7eb9 has been approved by jdm

bors-servo added a commit that referenced this pull request Feb 14, 2020
PerformanceObserver.supportedEntryTypes

<!-- Please describe your changes on the following line: -->
It felt odd to cache these directly in GlobalScope, but they need to be [SameObject] and the global scope is where the spec implies they go.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25587

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Feb 14, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

Testing commit e0b768c with merge 8207e6a...

bors-servo added a commit that referenced this pull request Feb 14, 2020
PerformanceObserver.supportedEntryTypes

<!-- Please describe your changes on the following line: -->
It felt odd to cache these directly in GlobalScope, but they need to be [SameObject] and the global scope is where the spec implies they go.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25587

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Feb 14, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

Testing commit e0b768c with merge 9e40fa8...

bors-servo added a commit that referenced this pull request Feb 14, 2020
PerformanceObserver.supportedEntryTypes

<!-- Please describe your changes on the following line: -->
It felt odd to cache these directly in GlobalScope, but they need to be [SameObject] and the global scope is where the spec implies they go.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25587

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Feb 14, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 15, 2020

Testing commit e0b768c with merge 1987061...

bors-servo added a commit that referenced this pull request Feb 15, 2020
PerformanceObserver.supportedEntryTypes

<!-- Please describe your changes on the following line: -->
It felt odd to cache these directly in GlobalScope, but they need to be [SameObject] and the global scope is where the spec implies they go.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25587

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 15, 2020

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing 1987061 to master...

@bors-servo bors-servo merged commit e0b768c into servo:master Feb 15, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
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.