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

do less on abort if not done #25610

Merged
merged 1 commit into from Jan 27, 2020
Merged

do less on abort if not done #25610

merged 1 commit into from Jan 27, 2020

Conversation

@pshaughn
Copy link
Member

pshaughn commented Jan 25, 2020

Abort() was resetting state when it didn't need to, and possibly also not resetting as much of it as it needed to. I'm not sure if this is a completely correct fix but it passes some WPT tests.


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

highfive commented Jan 25, 2020

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/xmlhttprequest.rs
  • @KiChjang: components/script/dom/xmlhttprequest.rs
@highfive
Copy link

highfive commented Jan 25, 2020

warning Warning warning

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

pshaughn commented Jan 25, 2020

Hoping this will pass more than just the few tests.
@bors-servo try=wpt

@bors-servo
Copy link
Contributor

bors-servo commented Jan 25, 2020

Trying commit a94da36 with merge 75e405d...

bors-servo added a commit that referenced this pull request Jan 25, 2020
do less on abort if not done

Abort() was resetting state when it didn't need to, and possibly also not resetting as much of it as it needed to. I'm not sure if this is a completely correct fix but it passes some WPT tests.

---
<!-- 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 #24931

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

<!-- 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 Jan 25, 2020

💔 Test failed - status-taskcluster

@pshaughn
Copy link
Member Author

pshaughn commented Jan 26, 2020

Not the wide scope I was hoping for, but it's all positive changes.

@pshaughn pshaughn force-pushed the pshaughn:abortfix branch from a94da36 to 52d8336 Jan 26, 2020
@jdm
Copy link
Member

jdm commented Jan 27, 2020

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Jan 27, 2020

📌 Commit 52d8336 has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Jan 27, 2020

Testing commit 52d8336 with merge 70fcb8d...

bors-servo added a commit that referenced this pull request Jan 27, 2020
do less on abort if not done

Abort() was resetting state when it didn't need to, and possibly also not resetting as much of it as it needed to. I'm not sure if this is a completely correct fix but it passes some WPT tests.

---
<!-- 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 #24931

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

<!-- 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 Jan 27, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jan 27, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jan 27, 2020

Testing commit 52d8336 with merge d0f64d9...

bors-servo added a commit that referenced this pull request Jan 27, 2020
do less on abort if not done

Abort() was resetting state when it didn't need to, and possibly also not resetting as much of it as it needed to. I'm not sure if this is a completely correct fix but it passes some WPT tests.

---
<!-- 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 #24931

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

<!-- 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 Jan 27, 2020

☀️ Test successful - status-taskcluster
Approved by: Manishearth
Pushing d0f64d9 to master...

@bors-servo bors-servo merged commit 52d8336 into servo:master Jan 27, 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.