Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRemoved some sources of panic from script thread. #11695
Conversation
highfive
commented
Jun 9, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jun 9, 2016
|
cc @Ms2ger, @Manishearth and @mbrubeck |
|
|
ae665c8
to
3c75ac9
|
Rebased. |
|
I feel like this is too ad-hoc in places. I think in general when we get a message with a pipeline id, we should immediately get the browsing context and return, before doing anything else. Also, why don't we use Reviewed 1 of 1 files at r2. components/script/script_thread.rs, line 1089 [r2] (raw file):
This is the same as Comments from Reviewable |
|
I'm not sure why this is more ad hoc than what we had before: I just replaced all uses of OK, I see what you mean about using Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/script_thread.rs, line 1089 [r2] (raw file):
|
|
r+ after squash, I guess. |
b54a37c
to
9da00e2
|
@Ms2ger you don't need to sound so excited :) |
|
|
Removed some sources of panic from script thread. <!-- Please describe your changes on the following line: --> **This PR needs some thought!** It removes some sources of panic from script_thread.rs, caused by pipeline lookup failure. It's incomplete, as there are some uses of `get_browsing_context` elsewhere in the code. --- <!-- 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 #11693 and #11685 (and probably some other intermittents) - [X] These changes do not require tests because it is fixing intermittent panic <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11695) <!-- Reviewable:end -->
|
|
|
@bors-servo retry
|
|
@bors-servo retry |
|
|
|
|
|
@bors-servo retry
|
Removed some sources of panic from script thread. <!-- Please describe your changes on the following line: --> **This PR needs some thought!** It removes some sources of panic from script_thread.rs, caused by pipeline lookup failure. It's incomplete, as there are some uses of `get_browsing_context` elsewhere in the code. --- <!-- 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 #11693 and #11685 (and probably some other intermittents) - [X] These changes do not require tests because it is fixing intermittent panic <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11695) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Removed some sources of panic from script thread. <!-- Please describe your changes on the following line: --> **This PR needs some thought!** It removes some sources of panic from script_thread.rs, caused by pipeline lookup failure. It's incomplete, as there are some uses of `get_browsing_context` elsewhere in the code. --- <!-- 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 #11693 and #11685 (and probably some other intermittents) - [X] These changes do not require tests because it is fixing intermittent panic <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11695) <!-- Reviewable:end -->
|
|
|
@bors-servo retry (Finally got rout to submitting an issue for that one.) |
|
|
|
|
|
@bors-servo retry |
|
|
|
|
asajeffrey commentedJun 9, 2016
•
edited by larsbergstrom
This PR needs some thought!
It removes some sources of panic from script_thread.rs, caused by pipeline lookup failure. It's incomplete, as there are some uses of
get_browsing_contextelsewhere in the code../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is