Skip to content

Throw a warning if Traffic Cop is performing redirects when loaded in the <body> #22

@alexgibson

Description

@alexgibson

See mozilla/bedrock#11998 for context

Traffic Cop should only be loaded in the <body> when performing a callback. When performing a redirect, it should be loaded in the <head>.

It would be nice to try and warn developers in the console if they are trying to redirect when loaded in the <body>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions