Skip to content

Browser API: HTTP redirect doesn't trigger a locationchange event #8902

Closed

Description

@paulrouget

locationchange events are triggered from constellation.rs.

Redirects happen in http_loader.rs (in the loop in the load function).

We could just send a locationchange event once the whole document is loaded (from document.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?

Activity

  1. added
    A-constellation
    on Dec 9, 2015
  2. paulrouget commented on Jan 6, 2016

    @paulrouget
    ContributorAuthor

    Gecko doesn't send locationchange during redirects.

    So this should be fixed once #9164 lands.

  3. added a commit that references this issue on Jan 6, 2016
    f4a2fe9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-constellationA-network

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions