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 upPanic removing a stylesheet #26969
Closed
Panic removing a stylesheet #26969
Comments
|
My suspicion is that this is a timer firing for a document that no longer has a layout thread. It might be a similar situation as #23053. |
|
Add a note here that we will need to enable svg to get the panic.
|
|
I get the same panic without enabling SVG. |
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?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Loading http://universidad.continental.edu.pe/, I get the following:
The first panic corresponds with
servo/components/script/dom/document.rs
Lines 3659 to 3662 in 332aec2