question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove WebIDL-2 alias (and associated dated aliases)

See original GitHub issue

SpecRef currently recognizes WebIDL-1 and WebIDL-2, along with an unversioned WebIDL. The unversioned name points to the current spec in heycam’s GH; the -1 is an alias for the most recent /TR publication (from 2016!), and the -2 is an alias for the unversioned name.

I have no idea where the -2 version is coming from. I can’t detect it in any of the files in this repo, and it doesn’t appear to be in tr.rdf either.

This is causing some issues in my attempted switchover to WebRef as the definition source for Bikeshed. WebRef relies on browser-specs, which only recognizes WebIDL-1, tagging the last /TR publication as the “release” URL and the heycam version as the “nightly” url. Definitions coming from WebIDL are thus claiming to be from the spec with shortname “webidl-1”, which per SpecRef is the ancient /TR version, which is causing a lot of churn in the biblio sections of my test suite specs.

I can of course fix this on my end with manual intervention (I’m already just removing the ancient /TR url entirely from my anchor data source, as it’s worthless and never worth linking to), but it would be good in general to have these SpecRef and browser-specs agree on this matter, and I suspect SpecRef is currently doing the weirder thing and should be the one to change.

I recommend that WebIDL-1 be changed to an alias of WebIDL, so it’ll default to the best information, and all the WebIDL-2* entries simply be removed.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
tobiecommented, Oct 7, 2021

This looks good now. Closing.

2reactions
tobiecommented, Oct 7, 2021

@tobie, you are just updating the way you told me yesterday, right? I’ll try to reproduce locally.

That’s just the auto-update run by Heroku every hour which simply runs update-all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable alias field for queries that do not have date histogram ...
The alias field is only used for time series (date histogram queries). For non time-series results, there are no aliasing options.
Read more >
List or remove terminal aliases [duplicate] - Ask Ubuntu
To list all the aliases defined in the system, open a terminal and type alias . It lists each alias and the command...
Read more >
Web IDL Standard
Read–write maplike interfaces must not have any attributes or constants named " clear ", " delete ", or " set ", or have...
Read more >
webidl2 - npm
Start using webidl2 in your project by running `npm i webidl2`. ... renamed-legacy : Legacy extended attributes must use their new names.
Read more >
Extracting original email and remove email alias in emails
I'm trying to get the primary email from aliases, for example, I have the following examples and I ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found