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 upiframe.goBack() panics if called too early #8674
Comments
paulrouget
commented
Nov 25, 2015
|
|
|
subpage_map:
pipeline_to_frame_map:
Here we have a pipeline ( We would expect I guess it's just enough to bail if there's no associated frame then. |
Not enough. More panics follow. |
|
Note that there was actually an earlier panic reported than the constellation one in the original log. |
|
Hm, I don't get always the same panic first. Either:
Or:
|
|
If If it's not, then it panics because unwrapping |
|
If I understand correctly:
The iframe is associated to So my guess is that
|
|
I wonder if we could fix this by removing all traces of subpages from code. I believe they're unnecessary since we introduced pipeline namespaces. |
|
Also if this is to do with handle_painter_ready_msg, #8612 may affect this. |
|
I was able to reproduce these panic messages with the following steps:
|
|
Could be related to #8461 |
|
With #8612 - we hit the |
|
It panics because when an iframe navigates to a new URL, the document is not frozen (not same code path as non subpage pipelines). |
|
#8886 addresses the |
Freeze old pipeline in iframes Fixes #8673 and part of #8674 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8886) <!-- Reviewable:end -->
Freeze old pipeline in iframes Fixes #8673 and part of #8674 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8886) <!-- Reviewable:end -->
|
Panic is gone. |
…freeze-pipeline-iframe); r=mbrubeck,jdm Fixes servo/servo#8673 and part of servo/servo#8674 Source-Repo: https://github.com/servo/servo Source-Revision: 2ef972b53bc4ff3783a60bfc45a52beee3065e97
…freeze-pipeline-iframe); r=mbrubeck,jdm Fixes servo/servo#8673 and part of servo/servo#8674 Source-Repo: https://github.com/servo/servo Source-Revision: 2ef972b53bc4ff3783a60bfc45a52beee3065e97 UltraBlame original commit: 715d5bf1ac9d8a947d96f3e71afd0376c7654fab
…freeze-pipeline-iframe); r=mbrubeck,jdm Fixes servo/servo#8673 and part of servo/servo#8674 Source-Repo: https://github.com/servo/servo Source-Revision: 2ef972b53bc4ff3783a60bfc45a52beee3065e97 UltraBlame original commit: 715d5bf1ac9d8a947d96f3e71afd0376c7654fab
…freeze-pipeline-iframe); r=mbrubeck,jdm Fixes servo/servo#8673 and part of servo/servo#8674 Source-Repo: https://github.com/servo/servo Source-Revision: 2ef972b53bc4ff3783a60bfc45a52beee3065e97 UltraBlame original commit: 715d5bf1ac9d8a947d96f3e71afd0376c7654fab