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

called `Result::unwrap()` on an `Err` value: "SendError(..)" #19092

Closed
kalmarin opened this issue Nov 1, 2017 · 2 comments
Closed

called `Result::unwrap()` on an `Err` value: "SendError(..)" #19092

kalmarin opened this issue Nov 1, 2017 · 2 comments

Comments

@kalmarin
Copy link

@kalmarin kalmarin commented Nov 1, 2017

called Result::unwrap() on an Err value: "SendError(..)"

URL:

Servo Version:

Servo 0.0.1-c18f412

Backtrace:


WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(3))) }>: Network error: Internal("Unexpected scheme")
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(3))) }>: Resuming an already resumed timer.
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(3))) }>: stop_parsing not implemented, full speed ahead!
WARNING: <RenderBackend>: invalid primitive rect TypedRect(0×4 at (949.63336,158.7))
WARNING: <RenderBackend>: invalid primitive rect TypedRect(0×4 at (987.6667,138))
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <RenderBackend>: invalid primitive rect TypedRect(0×4 at (949.63336,158.7))
WARNING: <RenderBackend>: invalid primitive rect TypedRect(0×4 at (987.6667,138))
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }>: Trying to set metric before navigation start
WARNING: <RenderBackend>: invalid primitive rect TypedRect(0×4 at (949.63336,158.7))
WARNING: <RenderBackend>: invalid primitive rect TypedRect(0×4 at
...

This report was generated by the browser.html issue reporter.

@jdm
Copy link
Member

@jdm jdm commented Nov 1, 2017

What page were you looking at?

@kalmarin
Copy link
Author

@kalmarin kalmarin commented Nov 2, 2017

arstechnica.com/

@alarsyo alarsyo mentioned this issue Jul 4, 2020
4 of 4 tasks complete
bors-servo added a commit that referenced this issue Jul 4, 2020
…es-panic, r=jdm

Return Option for Window's layout channel

<!-- Please describe your changes on the following line: -->

`Window::layout_chan()` now returns an `Option<Sender<Msg>>`, returning `None` if the window is dead.

FIX #26969
FIX #26429
FIX #21208
FIX #19092
FIX #22559
FIX #22584
FIX #22652

---
<!-- 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 #23053

<!-- Either: -->
- [x] There are tests for these changes

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

This is my first contribution, I'm trying to figure things out!

This fix passes the test case shown in #23053, however I don't know what the behavior should be in `Document` and `ScriptThread` if `Window::is_alive()` is false : simply ignore it, don't do anything ? Or is this something that should not happen now that we return false in `Window::force_reflow()` ?

I'm not sure about the directory where the test case should go, any advice?
@bors-servo bors-servo closed this in 8916a42 Jul 4, 2020
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.