Skip to content

CORS preflight requests do not appear in the network monitor #39160

Closed

Description

@jdm

Visit https://m.jingdong.com/ and compare the output for Firefox vs Servo. There are a lot of OPTIONS requests in Firefox that do not appear in Servo's output.

Activity

  1. willypuzzle commented on Oct 20, 2026

    @willypuzzle
    Contributor

    can I work on this? @jdm

  2. jdm commented on Oct 20, 2026

    @jdm
    MemberAuthor

    async fn cors_preflight_fetch(
    is the code that initiates a preflight request. https://book.servo.org/contributing/devtools.html documents how to run the devtools with servo.

  3. jdm commented on Oct 20, 2026

    @jdm
    MemberAuthor

    This is what I see in Servo, filtering for urls with api:

    Image

    And Firefox:

    Image
  4. willypuzzle commented on Oct 20, 2026

    @willypuzzle
    Contributor

    @servo-highfive: assign me

  5. added
    C-assigned
    on Oct 20, 2026
  6. servo-highfive commented on Oct 20, 2026

    @servo-highfive

    Hey @willypuzzle! Thanks for your interest in working on this issue. It's now assigned to you!

  7. willypuzzle commented on Oct 21, 2026

    @willypuzzle
    Contributor

    @jdm I think I found a solution. But how can I put it under tests?

  8. jdm commented on Oct 21, 2026

    @jdm
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-devtoolsA-networkC-assigned

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions