Skip to content

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

Merged
bors-servo merged 1 commit into
servo:masterfrom
oneturkmen:layout-thread-remove-opts-get
Jun 5, 2019
Merged

bors-servo merged 1 commit into
servo:masterfrom
oneturkmen:layout-thread-remove-opts-get

Conversation

@oneturkmen

@oneturkmen oneturkmen commented Jun 4, 2019 •

Copy link
Copy Markdown
Contributor

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


  • 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

highfive commented Jun 4, 2019

Copy link
Copy Markdown

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

highfive commented Jun 4, 2019

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 Jun 4, 2019
@oneturkmen

Copy link
Copy Markdown
Contributor Author

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

jdm commented Jun 5, 2019

Copy link
Copy Markdown
Member

@bors-servo r+
Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 810f5ab 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 Jun 5, 2019
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 810f5ab with merge 431fabf...

bors-servo pushed 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
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 Jun 5, 2019
@oneturkmen

oneturkmen commented Jun 5, 2019 •

Copy link
Copy Markdown
Contributor Author

@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

jdm commented Jun 5, 2019

Copy link
Copy Markdown
Member

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 810f5ab with merge ced2668...

bors-servo pushed 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 -->
@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 Jun 5, 2019
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ 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
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 5, 2019
@oneturkmen
oneturkmen deleted the layout-thread-remove-opts-get branch June 5, 2019 16:50
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.

5 participants