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 upBrowser API: HTTP redirect doesn't trigger a locationchange event #8902
Labels
Comments
|
Gecko doesn't send locationchange during redirects. So this should be fixed once #9164 lands. |
bors-servo
added a commit
that referenced
this issue
Jan 6, 2016
update pipeline url after redirections `pipeline.url` is not updated after a redirection. Fixes #8902 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9164) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
locationchangeevents are triggered from constellation.rs.Redirects happen in
http_loader.rs(in theloopin theloadfunction).We could just send a
locationchangeevent once the whole document is loaded (fromdocument.rs), but ideally, we'd like to get an event every time a redirect happens, and before the load event. So we need to be able to send a message to the constellation from http_loader.Does that make sense? If so, how to reach the constellation channel from within http_loader?