Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

[spec] run vs selectURL module map check #191

Open

Description

@pythagoraskitty

Why does run algorithm use a conditional to check if worklet global scope's module map is not empty, but selectURL (actually its helper algorithm "get the select-url result index") simply asserts it's not empty? Should we be consistent, or is there a reason we do it differently?

Activity

  1. tthpan120 commented on Dec 15, 2024

    @tthpan120

    ทําไม วิ่ง อัลกอริธึมใช้เงื่อนไขเพื่อตรวจสอบว่าแผนผังโมดูลของขอบเขตทั่วโลกของเวิร์กเล็ตไม่ว่างเปล่าหรือไม่ แต่ เลือกURL (จริงๆ แล้วอัลกอริทึมตัวช่วย "รับดัชนีผลลัพธ์ select-url") เพียงยืนยันว่าไม่ว่างเปล่า? เราควรสม่ําเสมอหรือมีเหตุผลที่เราทําแตกต่างออกไป?

    #127

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions