summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-10-11 13:15:16 +0100
committerLinus Groh <mail@linusgroh.de>2021-10-11 13:15:16 +0100
commita9a7d650993da877ecf59a6cf052d72661315739 (patch)
tree3c033197ce0d3e7d3cb33dd83bbbcc99c351b396 /Userland/Libraries/LibWeb/DOM
parent4041848caa04ad523311e53040105c13b5f801c7 (diff)
downloadserenity-a9a7d650993da877ecf59a6cf052d72661315739.zip
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.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
-rw-r--r--Userland/Libraries/LibWeb/DOM/DOMException.h4
-rw-r--r--Userland/Libraries/LibWeb/DOM/ExceptionOr.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/DOMException.h b/Userland/Libraries/LibWeb/DOM/DOMException.h
index 9c473b0b45..6e555536bf 100644
--- a/Userland/Libraries/LibWeb/DOM/DOMException.h
+++ b/Userland/Libraries/LibWeb/DOM/DOMException.h
@@ -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 {
diff --git a/Userland/Libraries/LibWeb/DOM/ExceptionOr.h b/Userland/Libraries/LibWeb/DOM/ExceptionOr.h
index 13ea27145a..f3221dec59 100644
--- a/Userland/Libraries/LibWeb/DOM/ExceptionOr.h
+++ b/Userland/Libraries/LibWeb/DOM/ExceptionOr.h
@@ -111,7 +111,7 @@ public:
private:
Optional<ValueType> m_result;
- // https://heycam.github.io/webidl/#idl-exceptions
+ // https://webidl.spec.whatwg.org/#idl-exceptions
Variant<Empty, SimpleException, NonnullRefPtr<DOMException>> m_exception {};
};