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

Warn when module scripts are ignored #24089

Closed
jdm opened this issue Aug 28, 2019 · 2 comments
Closed

Warn when module scripts are ignored #24089

jdm opened this issue Aug 28, 2019 · 2 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Aug 28, 2019

This is an ongoing source of confusion when pages don't work that depend on module scripts. We should log a warning when they are encountered as long as we don't support them.

@jdm
Copy link
Member Author

@jdm jdm commented Sep 4, 2019

This keeps biting people when they try out three.js examples. We really need to raise the visibility of the problem.

@CYBAI
Copy link
Collaborator

@CYBAI CYBAI commented Sep 5, 2019

Working on it! Will cherry-pick some commits from #23545 and warn! to people.

@CYBAI CYBAI mentioned this issue Sep 5, 2019
4 of 4 tasks complete
bors-servo added a commit that referenced this issue 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 added a commit that referenced this issue 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 bors-servo closed this in 7a67261 Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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