Skip to content

Show warning when module scripts are ignored - #24142

Merged
bors-servo merged 6 commits into
servo:masterfrom
CYBAI:warn-module-script
Sep 6, 2019
Merged

bors-servo merged 6 commits into
servo:masterfrom
CYBAI:warn-module-script

Conversation

@CYBAI

@CYBAI CYBAI commented Sep 5, 2019 •

Copy link
Copy Markdown
Member

The first five commits are cherry-pick-ed from the module script PR.
I think it might be also good to have this PR first so that reviewers can focus on module script things on that PR!


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Warn when module scripts are ignored #24089
  • These changes do not require tests because it just ignored module scripts (or should we turn on module script tests in this PR and update those test expectation to TIMEOUT?)

This change is Reviewable

@highfive

highfive commented Sep 5, 2019

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/htmlscriptelement.rs
  • @KiChjang: components/script/dom/htmlscriptelement.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 5, 2019
@highfive

highfive commented Sep 5, 2019

Copy link
Copy Markdown

warning Warning warning

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

@CYBAI

CYBAI commented Sep 5, 2019

Copy link
Copy Markdown
Member Author

r? @jdm

@highfive highfive assigned jdm and unassigned Manishearth Sep 5, 2019
@jdm

jdm commented Sep 5, 2019

Copy link
Copy Markdown
Member

@bors-servo r+
Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 6b7294e has been approved by jdm

@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. labels Sep 5, 2019
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6b7294e with merge bf86cf8...

bors-servo pushed a commit that referenced this pull request Sep 6, 2019
Show warning when module scripts are ignored

The first five commits are `cherry-pick`-ed from the module script PR.
I think it might be also good to have this PR first so that reviewers can focus on module script things on that PR!

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24089
- [x] These changes do not require tests because it just ignored module scripts (or should we turn on module script tests in this PR and update those test expectation to TIMEOUT?)

<!-- 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. -->

<!-- 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/24142)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-wpt

@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 Sep 6, 2019
@CYBAI
CYBAI force-pushed the warn-module-script branch from 6b7294e to 95ddfb3 Compare September 6, 2019 04:36
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 6, 2019
@CYBAI

CYBAI commented Sep 6, 2019

Copy link
Copy Markdown
Member Author

@bors-servo try=wpt

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 95ddfb3 with merge 02440dd...

bors-servo pushed a commit that referenced this pull request Sep 6, 2019
Show warning when module scripts are ignored

The first five commits are `cherry-pick`-ed from the module script PR.
I think it might be also good to have this PR first so that reviewers can focus on module script things on that PR!

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24089
- [x] These changes do not require tests because it just ignored module scripts (or should we turn on module script tests in this PR and update those test expectation to TIMEOUT?)

<!-- 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. -->

<!-- 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/24142)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
State: approved= try=True

@jdm

jdm commented Sep 6, 2019

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 95ddfb3 has been approved by jdm

@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. labels Sep 6, 2019
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 95ddfb3 with merge 7a67261...

bors-servo pushed a commit that referenced this pull request Sep 6, 2019
Show warning when module scripts are ignored

The first five commits are `cherry-pick`-ed from the module script PR.
I think it might be also good to have this PR first so that reviewers can focus on module script things on that PR!

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24089
- [x] These changes do not require tests because it just ignored module scripts (or should we turn on module script tests in this PR and update those test expectation to TIMEOUT?)

<!-- 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. -->

<!-- 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/24142)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
Approved by: jdm
Pushing 7a67261 to master...

@bors-servo
bors-servo merged commit 95ddfb3 into servo:master Sep 6, 2019
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 6, 2019
@CYBAI
CYBAI deleted the warn-module-script branch September 6, 2019 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn when module scripts are ignored

5 participants