Skip to content

Implement Document.referrer #12389

Closed

Description

@jdm

This is required for #10311. We should store an Option<String> value in Document that is obtained from the Referer HTTP header (if present) when the document is created in ScriptThread::load.

Spec: https://html.spec.whatwg.org/multipage/dom.html#dom-document-referrer
Code: components/script/dom/document.rs, components/script/script_thread.rs
Tests: ./mach test-wpt tests/wpt/web-platform-tests/referrer-policy may show new results with this change.

Activity

  1. added
    A-content/dom
    E-less-complex
    on Jul 11, 2016
  2. highfive commented on Jul 11, 2016

    @highfive

    Please make a comment here if you intend to work on this issue. Thank you!

  3. canova commented on Jul 11, 2016

    @canova
    Contributor

    Hi, I would like to work on this.

  4. canova commented on Jul 11, 2016

    @canova
    Contributor

    @TheKK I didn't see the other issue before attempting to claim it. Sorry about that. If you want to work on it, it's all yours :)

  5. TheKK commented on Jul 11, 2016

    @TheKK
    Contributor

    @canaltinova It's fine to take it :)

  6. added
    C-assigned
    on Jul 11, 2016
  7. jdm commented on Jul 11, 2016

    @jdm
    MemberAuthor

    Great!

  8. added 2 commits that reference this issue on Jul 14, 2016
    ae410ab
    4b78b9a
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-content/domC-assignedE-less-complex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions