-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
Repro steps: clone https://github.com/WICG/nav-speculation/blob/49f77f382eb709289b4baf1b66d22bd73e4c3eae/prefetch.bs and run bikeshed spec prefetch.bs.
I get various warnings like
LINT: Unexported dfn that's not referenced locally - did you mean to export it?
<dfn data-lt='method|"method"' data-dfn-type="cddl-key" data-dfn-for="speculation.PrefetchStatusUpdated" id="cddl-key-speculationprefetchstatusupdated-method" data-noexport="by-default" class="dfn-paneled"><code class="highlight"><c- s=""><c- nc="">method</c-></c-></code></dfn>
These come from the source code
<pre highlight="cddl" class="cddl" data-cddl-module="local-cddl">
SpeculationEvent = (
speculation.PrefetchStatusUpdated
)
</pre>I tried inserting an export attribute on the <pre> but that didn't seem to help.
I feel like either:
- CDDL definitions should be exported by default, like the IDL auto-generated definitions. (Might also help with Export browsingContext.BrowsingContext? w3c/webdriver-bidi#994.)
- This warning should not come up for CDDL definitions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels