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

Layout_thread: removed all possible opts::get() #23515

Merged
merged 1 commit into from Jun 5, 2019

Conversation

@oneturkmen
Copy link
Contributor

oneturkmen commented Jun 4, 2019

Removed almost all opts::get() from components/layout_thread. The untouched one is used by get_ua_stylesheets(), which is in turn used by lazy_static!.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix partially #22854 (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because these are cleanup changes which neither add any feature, nor fix any bug.

This change is Reviewable

@highfive
Copy link

highfive commented Jun 4, 2019

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @SimonSapin (or someone else) soon.

@highfive
Copy link

highfive commented Jun 4, 2019

Heads up! This PR modifies the following files:

@oneturkmen
Copy link
Contributor Author

oneturkmen commented Jun 4, 2019

r? @jdm

(is it ok if I constantly "r?" you (with this issue)? feels like bugging you all the time hehe).

@highfive highfive assigned jdm and unassigned SimonSapin Jun 4, 2019
@jdm
Copy link
Member

jdm commented Jun 5, 2019

@bors-servo r+
Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Jun 5, 2019

📌 Commit 810f5ab has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jun 5, 2019

Testing commit 810f5ab with merge 431fabf...

bors-servo added a commit that referenced this pull request Jun 5, 2019
Layout_thread: removed all possible opts::get()

<!-- Please describe your changes on the following line: -->
Removed almost all `opts::get()` from components/layout_thread. The untouched one is used by [`get_ua_stylesheets()`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/components/layout_thread/lib.rs#L1924), which is in turn used by [`lazy_static!`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/components/layout_thread/lib.rs#L1998).

---
<!-- 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 *partially* #22854 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because these are cleanup changes which neither add any feature, nor fix any bug.

<!-- 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/23515)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jun 5, 2019

💔 Test failed - status-taskcluster

@oneturkmen
Copy link
Contributor Author

oneturkmen commented Jun 5, 2019

@jdm do you think it's the network issue again?

PS. From the live logs, Mac OS x64 (WPT Chunk 5 / 6)
{ kind: ConnectionReset, error: StringError("No senders exist for this port.") }

@jdm
Copy link
Member

jdm commented Jun 5, 2019

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Jun 5, 2019

Testing commit 810f5ab with merge ced2668...

bors-servo added a commit that referenced this pull request Jun 5, 2019
Layout_thread: removed all possible opts::get()

<!-- Please describe your changes on the following line: -->
Removed almost all `opts::get()` from components/layout_thread. The untouched one is used by [`get_ua_stylesheets()`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/components/layout_thread/lib.rs#L1924), which is in turn used by [`lazy_static!`](https://github.com/servo/servo/blob/2ad3066d7c92c504838f72aaca73bec44048cb58/components/layout_thread/lib.rs#L1998).

---
<!-- 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 *partially* #22854 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because these are cleanup changes which neither add any feature, nor fix any bug.

<!-- 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/23515)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jun 5, 2019

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

@bors-servo bors-servo merged commit 810f5ab into servo:master Jun 5, 2019
4 checks passed
4 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@oneturkmen oneturkmen deleted the oneturkmen:layout-thread-remove-opts-get branch Jun 5, 2019
@jdm jdm mentioned this pull request Jun 5, 2019
6 of 11 tasks complete
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.

None yet

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