Skip to content

Internal slots doesn't work with data-link-for #3719

@saschanaz

Description

@saschanaz

Important info

  • URL to affected spec:
  • ReSpec version: Click the ReSpec pill in top-right corner (e.g., 25.12.0).
  • I did a "hard refresh", but it's still busted.

Description of problem

What happened (e.g., it crashed)?:

<section data-dfn-for="Foo" data-link-for="Foo">
  <h2>Start your spec!</h2>
  <pre class="idl">
    [Exposed=Window]
    interface Foo {
      attribute DOMString bar;
      undefined doTheFoo();
    };
  </pre>
  <p>Attribute {{bar}}</p>
  <p>The <dfn>[[\internal slot]]</dfn> represents a {{[[internal slot]]}}</p>
  <p>represents a {{Foo/[[internal slot]]}}</p>
</section>

Expected behavior (e.g., it shouldn't crash):

Both form of links should work, but only latter works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions