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

Add "active parser was aborted boolean" to Document #25414

Merged
merged 1 commit into from Jan 4, 2020

Conversation

@pshaughn
Copy link
Member

pshaughn commented Jan 1, 2020

Aborting the document now definitely prevents a subsequent document.open from working, per spec as seen in #24458.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #24458 and fix #21279
  • There are tests for these changes (currently intermittent in #21279, this will make them deterministically pass)
@highfive
Copy link

highfive commented Jan 1, 2020

Heads up! This PR modifies the following files:

@highfive
Copy link

highfive commented Jan 1, 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 1, 2020

@bors-servo try=wpt

@bors-servo
Copy link
Contributor

bors-servo commented Jan 1, 2020

Trying commit 4dc9df7 with merge e647bf5...

bors-servo added a commit that referenced this pull request Jan 1, 2020
Attempt at #24458 [draft]

Let's see how this does in 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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 1, 2020

💔 Test failed - status-taskcluster

@pshaughn
Copy link
Member Author

pshaughn commented Jan 1, 2020

That's strange; the only unexpected tests are the blank reftest problem. I expected this change to pass at least one of the many currently-failing document.open/document.write tests.

@pshaughn
Copy link
Member Author

pshaughn commented Jan 2, 2020

It appears that all the tests relevant to this are filtered as intermittent!

@pshaughn pshaughn force-pushed the pshaughn:activeparserabort branch from 4dc9df7 to 3bd30af Jan 2, 2020
@highfive highfive removed the S-tests-failed label Jan 2, 2020
@pshaughn pshaughn changed the title Attempt at #24458 [draft] Attempt at #24458 Jan 2, 2020
@pshaughn pshaughn changed the title Attempt at #24458 Add "active parser was aborted boolean" to Document Jan 2, 2020
@pshaughn
Copy link
Member Author

pshaughn commented Jan 2, 2020

@bors-servo try=wpt

@bors-servo
Copy link
Contributor

bors-servo commented Jan 2, 2020

Trying commit 3bd30af with merge 19c5ee5...

bors-servo added a commit that referenced this pull request Jan 2, 2020
Add "active parser was aborted boolean" to Document

Aborting the document now definitely prevents a subsequent document.open from working, per spec as seen in #24458.

---
<!-- 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 #24458 and fix #21279

<!-- Either: -->
- [X] There are tests for these changes (currently intermittent in #21279, this will make them deterministically pass)

<!-- 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 2, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jan 2, 2020

What are the test files that should no longer be treated as intermittent after these changes? You can add Fixes #NNNN to the description so the issues tracking them get closed automatically.

@pshaughn
Copy link
Member Author

pshaughn commented Jan 2, 2020

What are the test files that should no longer be treated as intermittent after these changes? You can add Fixes #NNNN to the description so the issues tracking them get closed automatically.

I did, #21279 (It was just two subcases in one file)

@jdm
Copy link
Member

jdm commented Jan 2, 2020

@bors-servo r+
thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Jan 2, 2020

📌 Commit 3bd30af has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2020

Testing commit 3bd30af with merge 3824ce8...

bors-servo added a commit that referenced this pull request Jan 3, 2020
Add "active parser was aborted boolean" to Document

Aborting the document now definitely prevents a subsequent document.open from working, per spec as seen in #24458.

---
<!-- 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 #24458 and fix #21279

<!-- Either: -->
- [X] There are tests for these changes (currently intermittent in #21279, this will make them deterministically pass)

<!-- 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 3, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jan 3, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2020

Testing commit 3bd30af with merge 2488213...

bors-servo added a commit that referenced this pull request Jan 3, 2020
Add "active parser was aborted boolean" to Document

Aborting the document now definitely prevents a subsequent document.open from working, per spec as seen in #24458.

---
<!-- 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 #24458 and fix #21279

<!-- Either: -->
- [X] There are tests for these changes (currently intermittent in #21279, this will make them deterministically pass)

<!-- 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 4, 2020

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

@bors-servo bors-servo merged commit 3bd30af into servo:master Jan 4, 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
5 participants
You can’t perform that action at this time.