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 JSTraceable for DomRefCell<T> panic if cell is mutably borrowed #19872

Merged
merged 1 commit into from Jan 26, 2018

Conversation

@nox
Copy link
Member

nox commented Jan 26, 2018

This change is Reviewable

@highfive
Copy link

highfive commented Jan 26, 2018

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/bindings/cell.rs, components/script/dom/bindings/trace.rs
  • @fitzgen: components/script/dom/bindings/cell.rs, components/script/dom/bindings/trace.rs
  • @KiChjang: components/script/dom/bindings/cell.rs, components/script/dom/bindings/trace.rs
@highfive
Copy link

highfive commented Jan 26, 2018

warning Warning warning

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

nox commented Jan 26, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 26, 2018

Trying commit 31a1408 with merge d976704...

bors-servo added a commit that referenced this pull request Jan 26, 2018
(Do not merge) Make JSTraceable for DomRefCell<T> panic if cell is mutably borrowed

<!-- 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/19872)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 26, 2018

@nox
Copy link
Member Author

nox commented Jan 26, 2018

INCREDIBRU, I did not expect this to succeed.

@emilio
Copy link
Member

emilio commented Jan 26, 2018

:shipit:?

@jdm
Copy link
Member

jdm commented Jan 26, 2018

Yeah, this is probably the right choice.

@nox
Copy link
Member Author

nox commented Jan 26, 2018

@jdm r=you?

@nox nox changed the title (Do not merge) Make JSTraceable for DomRefCell<T> panic if cell is mutably borrowed Make JSTraceable for DomRefCell<T> panic if cell is mutably borrowed Jan 26, 2018
@jdm
Copy link
Member

jdm commented Jan 26, 2018

R=me

@nox
Copy link
Member Author

nox commented Jan 26, 2018

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jan 26, 2018

📌 Commit 31a1408 has been approved by jdm

@highfive highfive assigned jdm and unassigned Manishearth Jan 26, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Jan 26, 2018

Testing commit 31a1408 with merge c0d9f28...

bors-servo added a commit that referenced this pull request Jan 26, 2018
Make JSTraceable for DomRefCell<T> panic if cell is mutably borrowed

<!-- 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/19872)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 26, 2018

@bors-servo bors-servo merged commit 31a1408 into servo:master Jan 26, 2018
2 of 4 checks passed
2 of 4 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@jdm jdm mentioned this pull request Mar 18, 2018
3 of 5 tasks complete
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

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