1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

LibWeb: Replace heycam.github.io/webidl URLs with webidl.spec.whatwg.org

Web IDL is now a WHATWG standard and the specification was moved
accordingly: https://twitter.com/annevk/status/1445311275026821120

The old URLs now redirect, but let's use canonical ones.
This commit is contained in:
Linus Groh 2021-10-11 13:15:16 +01:00
parent 4041848caa
commit a9a7d65099
5 changed files with 25 additions and 25 deletions

View file

@ -42,7 +42,7 @@ namespace Web::DOM {
__ENUMERATE(InvalidNodeTypeError, 24) \
__ENUMERATE(DataCloneError, 25)
// https://heycam.github.io/webidl/#idl-DOMException-error-names
// https://webidl.spec.whatwg.org/#idl-DOMException-error-names
// Same order as in the spec document, also matches the legacy codes order above.
#define ENUMERATE_DOM_EXCEPTION_ERROR_NAMES \
__ENUMERATE(IndexSizeError) /* Deprecated */ \
@ -88,7 +88,7 @@ static u16 get_legacy_code_for_name(const FlyString& name)
return 0;
}
// https://heycam.github.io/webidl/#idl-DOMException
// https://webidl.spec.whatwg.org/#idl-DOMException
class DOMException final
: public RefCounted<DOMException>
, public Bindings::Wrappable {