diff options
author | Linus Groh <mail@linusgroh.de> | 2021-10-11 13:15:16 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-11 13:15:16 +0100 |
commit | a9a7d650993da877ecf59a6cf052d72661315739 (patch) | |
tree | 3c033197ce0d3e7d3cb33dd83bbbcc99c351b396 /Userland/Libraries/LibWeb/Bindings | |
parent | 4041848caa04ad523311e53040105c13b5f801c7 (diff) | |
download | serenity-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/Bindings')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/WindowObject.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp b/Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp index 1662cf992f..35a25a778c 100644 --- a/Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp +++ b/Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp @@ -11,7 +11,7 @@ namespace Web::Bindings::IDL { -// https://heycam.github.io/webidl/#is-an-array-index +// https://webidl.spec.whatwg.org/#is-an-array-index bool is_an_array_index(JS::GlobalObject& global_object, JS::PropertyName const& property_name) { // 1. If Type(P) is not String, then return false. diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp index 5b6c93317e..a3b391bfe6 100644 --- a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp +++ b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp @@ -150,7 +150,7 @@ Origin WindowObject::origin() const return impl().associated_document().origin(); } -// https://heycam.github.io/webidl/#platform-object-setprototypeof +// https://webidl.spec.whatwg.org/#platform-object-setprototypeof JS::ThrowCompletionOr<bool> WindowObject::internal_set_prototype_of(JS::Object* prototype) { // 1. Return ? SetImmutablePrototype(O, V). |