Skip to content

WebGPU: fail request for adapter when not available.  #30895

Closed

Description

@gterzian

Depends on #30888

See the changes at https://github.com/servo/servo/pull/30888/files/4bec9ef169f51c91f616b854e231484bbd983366#diff-95aa2eb890fe794918afdadfb6a89e026ec80222ceb8e5a21768d528e9ce036cR2066

This will simply leave the async handler in script waiting forever, instead we should send a message back and properly handle the case where WebGPU is not available(re "properly", look at the spec .

See

let sender = response_async(&promise, self);

Activity

  1. added
    A-content/script
    A-constellation
    A-content/webgpu
    on Dec 20, 2023
  2. gterzian commented on Dec 20, 2023

    @gterzian
    MemberAuthor
  3. added
    E-more-complex
    on Dec 21, 2023
  4. Taym95 commented on Dec 26, 2023

    @Taym95
    Member

    @gterzian @lucasMontenegro can I pick this one?

  5. lucasMontenegro commented on Dec 26, 2023

    @lucasMontenegro
    Contributor

    Hello @gterzian and @Taym95. I'm sorry I somehow missed this thread. Thanks to your comment it finally came to my attention @Taym95 .

    I'm unable to contribute now since I just installed a new OS that I'm unfamiliar with. Maybe tomorrow I'll be ready to contribute again. I'm okay with someone else taking over, of course.

  6. gterzian commented on Dec 27, 2023

    @gterzian
    MemberAuthor

    Ok, there is no rush. @lucasMontenegro please let us know if you prefer that @Taym95 takes it...

  7. lucasMontenegro commented on Dec 27, 2023

    @lucasMontenegro
    Contributor

    Yeah, I'm okay with it

  8. gterzian commented on Dec 29, 2023

    @gterzian
    MemberAuthor
  9. Taym95 commented on Dec 29, 2023

    @Taym95
    Member

    @servo-highfive: assign me

  10. added
    C-assigned
    on Dec 29, 2023
  11. servo-highfive commented on Dec 29, 2023

    @servo-highfive

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

  12. beaufortfrancois commented on Jan 3, 2024

    @beaufortfrancois

    @Taym95 Did you have a chance to look at it?

  13. Taym95 commented on Jan 3, 2024

    @Taym95
    Member

    @Taym95 Did you have a chance to look at it?

    Yes, I am working on it and have some questions. I am seeking responses from the team before submitting the pull request

  14. moved this from To do to Done in WebGPUon May 14, 2024
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-content/scriptA-content/webgpuC-assignedE-more-complex

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions