Skip to content

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

Merged
bors-servo merged 1 commit into
servo:masterfrom
pshaughn:activeparserabort
Jan 4, 2020
Merged

bors-servo merged 1 commit into
servo:masterfrom
pshaughn:activeparserabort

Conversation

@pshaughn

@pshaughn pshaughn commented Jan 1, 2020 •

Copy link
Copy Markdown
Contributor

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


@highfive

highfive commented Jan 1, 2020

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 1, 2020
@highfive

highfive commented Jan 1, 2020

Copy link
Copy Markdown

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!

@pshaughn

pshaughn commented Jan 1, 2020

Copy link
Copy Markdown
Contributor Author

@bors-servo try=wpt

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 4dc9df7 with merge e647bf5...

bors-servo pushed 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
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jan 1, 2020
@pshaughn

pshaughn commented Jan 1, 2020

Copy link
Copy Markdown
Contributor Author

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

pshaughn commented Jan 2, 2020

Copy link
Copy Markdown
Contributor Author

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

@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. 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

pshaughn commented Jan 2, 2020

Copy link
Copy Markdown
Contributor Author

@bors-servo try=wpt

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 3bd30af with merge 19c5ee5...

bors-servo pushed 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
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jan 2, 2020
@jdm

jdm commented Jan 2, 2020 •

Copy link
Copy Markdown
Member

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

pshaughn commented Jan 2, 2020 •

Copy link
Copy Markdown
Contributor Author

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

jdm commented Jan 2, 2020

Copy link
Copy Markdown
Member

@bors-servo r+
thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 3bd30af has been approved by jdm

@highfive highfive assigned jdm and unassigned paulrouget Jan 2, 2020
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-tests-failed The changes caused existing tests to fail. labels Jan 2, 2020
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 3bd30af with merge 3824ce8...

bors-servo pushed 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
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jan 3, 2020
@jdm

jdm commented Jan 3, 2020

Copy link
Copy Markdown
Member

@bors-servo retry
#24762

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 3bd30af with merge 2488213...

bors-servo pushed 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. -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jan 3, 2020
@bors-servo

Copy link
Copy Markdown
Contributor

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

@bors-servo
bors-servo merged commit 3bd30af into servo:master Jan 4, 2020
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants