Skip to content

Commit

Permalink
Update URLs to Web IDL
Browse files Browse the repository at this point in the history
Only two instances of "heycam.github.io" remain now.

interfaces/WebIDL.idl will be updated when webref is updated next time,
as it has already been fixed there:
w3c/webref@7c04f47

resources/webidl2/lib/webidl2.js is third-party code and will be updated
at some point in the future.
  • Loading branch information
foolip authored and Ms2ger committed Oct 7, 2021
1 parent b63a9c7 commit 9a88dfd
Show file tree
Hide file tree
Showing 56 changed files with 95 additions and 95 deletions.
2 changes: 1 addition & 1 deletion IndexedDB/idb-binary-key-detached.htm
Expand Up @@ -2,7 +2,7 @@
<meta charset=utf-8>
<title>IndexedDB: Detached buffers supplied as binary keys</title>
<meta name="help" href="http://w3c.github.io/IndexedDB/#convert-a-value-to-a-key">
<meta name="help" href="https://heycam.github.io/webidl/#dfn-get-buffer-source-copy">
<meta name="help" href="https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion common/stringifiers.js
@@ -1,5 +1,5 @@
/**
* Runs tests for <http://heycam.github.io/webidl/#es-stringifier>.
* Runs tests for <https://webidl.spec.whatwg.org/#es-stringifier>.
* @param {Object} aObject - object to test
* @param {string} aAttribute - IDL attribute name that is annotated with `stringifier`
* @param {boolean} aIsUnforgeable - whether the IDL attribute is `[LegacyUnforgeable]`
Expand Down
2 changes: 1 addition & 1 deletion console/console-is-a-namespace.any.js
@@ -1,5 +1,5 @@
"use strict";
// https://heycam.github.io/webidl/#es-namespaces
// https://webidl.spec.whatwg.org/#es-namespaces
// https://console.spec.whatwg.org/#console-namespace

test(() => {
Expand Down
2 changes: 1 addition & 1 deletion console/console-namespace-object-class-string.any.js
@@ -1,5 +1,5 @@
"use strict";
// https://heycam.github.io/webidl/#es-namespaces
// https://webidl.spec.whatwg.org/#es-namespaces
// https://console.spec.whatwg.org/#console-namespace

test(() => {
Expand Down
4 changes: 2 additions & 2 deletions css/cssom-view/scrollintoview.html
Expand Up @@ -4,8 +4,8 @@
<meta name="viewport" content="initial-scale=1">
<link rel="author" title="Chris Wu" href="mailto:pwx.frontend@gmail.com">
<link rel="help" href="https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview">
<link rel="help" href="https://heycam.github.io/webidl/#es-operations">
<link rel="help" href="https://heycam.github.io/webidl/#es-overloads">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-operations">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-overloads">
<meta name="flags" content="dom">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion css/cssom/CSS-namespace-object-class-string.html
@@ -1,7 +1,7 @@
<!doctype html>
<meta charset="utf-8">
<title>CSSOM - Symbol.toStringTag value of CSS namespace object</title>
<link rel="help" href="https://heycam.github.io/webidl/#es-namespaces">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-namespaces">
<link rel="help" href="https://drafts.csswg.org/cssom/#namespacedef-css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
10 changes: 5 additions & 5 deletions docs/writing-tests/making-a-testing-plan.md
Expand Up @@ -76,7 +76,7 @@ Notifications standard](https://notifications.spec.whatwg.org/#constructors):
> object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)
> is a
> [ServiceWorkerGlobalScope](https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope)
> object, then [throw](https://heycam.github.io/webidl/#dfn-throw) a
> object, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a
> `TypeError` exception.
> 2. Let *notification* be the result of [creating a
> notification](https://notifications.spec.whatwg.org/#create-a-notification)
Expand Down Expand Up @@ -263,9 +263,9 @@ standard](https://dom.spec.whatwg.org/) powers
> selector](https://drafts.csswg.org/selectors-4/#parse-a-selector)
> *selectors*.
> 2. If *s* is failure, then
> [throw](https://heycam.github.io/webidl/#dfn-throw) a
> "[`SyntaxError`](https://heycam.github.io/webidl/#syntaxerror)"
> [DOMException](https://heycam.github.io/webidl/#idl-DOMException).
> [throw](https://webidl.spec.whatwg.org/#dfn-throw) a
> "[`SyntaxError`](https://webidl.spec.whatwg.org/#syntaxerror)"
> [DOMException](https://webidl.spec.whatwg.org/#idl-DOMException).
> 3. Return the result of [match a selector against a
> tree](https://drafts.csswg.org/selectors-4/#match-a-selector-against-a-tree)
> with *s* and *node*'s
Expand Down Expand Up @@ -312,7 +312,7 @@ standard](https://fetch.spec.whatwg.org/)
> steps:
>
> 1. If *init*["`status`"] is not in the range `200` to `599`, inclusive, then
> [throw](https://heycam.github.io/webidl/#dfn-throw) a `RangeError`.
> [throw](https://webidl.spec.whatwg.org/#dfn-throw) a `RangeError`.
>
> [...]
Expand Down
2 changes: 1 addition & 1 deletion dom/collections/HTMLCollection-iterator.html
@@ -1,7 +1,7 @@
<!doctype html>
<meta charset="utf-8">
<link rel="help" href="https://dom.spec.whatwg.org/#interface-htmlcollection">
<link rel="help" href="https://heycam.github.io/webidl/#es-iterator">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-iterator">
<title>HTMLCollection @@iterator Test</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion domxpath/resolver-callback-interface.html
Expand Up @@ -2,7 +2,7 @@
<meta charset=utf-8>
<title>XPathNSResolver implements callback interface</title>
<link rel="help" href="https://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator">
<link rel="help" href="https://heycam.github.io/webidl/#call-a-user-objects-operation">
<link rel="help" href="https://webidl.spec.whatwg.org/#call-a-user-objects-operation">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/invalid_namespace_test.js"></script>
Expand Down
20 changes: 10 additions & 10 deletions fetch/api/headers/headers-record.any.js
Expand Up @@ -49,7 +49,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand All @@ -75,7 +75,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand All @@ -100,7 +100,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand Down Expand Up @@ -133,7 +133,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand All @@ -158,7 +158,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand All @@ -182,7 +182,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand Down Expand Up @@ -222,7 +222,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", lyingProxy, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", lyingProxy]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", lyingProxy, "a"]);
Expand Down Expand Up @@ -262,7 +262,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", lyingProxy, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", lyingProxy]);
}, "Correct operation ordering with repeated keys");

Expand All @@ -285,7 +285,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand Down Expand Up @@ -328,7 +328,7 @@ test(function() {
// we're a sequence, during overload resolution.
assert_array_equals(log[0], ["get", record, Symbol.iterator, proxy]);
// Then we have the [[OwnPropertyKeys]] from
// https://heycam.github.io/webidl/#es-to-record step 4.
// https://webidl.spec.whatwg.org/#es-to-record step 4.
assert_array_equals(log[1], ["ownKeys", record]);
// Then the [[GetOwnProperty]] from step 5.1.
assert_array_equals(log[2], ["getOwnPropertyDescriptor", record, "a"]);
Expand Down
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Location stringifier</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://heycam.github.io/webidl/#es-stringifier">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-stringifier">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/common/stringifiers.js></script>
Expand Down
Expand Up @@ -2,7 +2,7 @@
<meta charset="utf-8">
<title>Cross-realm [[Set]] to window.location and location.href throws an error of correct realm</title>
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://heycam.github.io/webidl/#Unforgeable">
<link rel="help" href="https://webidl.spec.whatwg.org/#Unforgeable">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
Expand Down
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Boris Zbarsky" href="bzbarsky@mit.edu">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-window-nameditem">
<link rel="help" href="https://heycam.github.io/webidl/#named-properties-object">
<link rel="help" href="https://webidl.spec.whatwg.org/#named-properties-object">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
Expand Down
Expand Up @@ -4,7 +4,7 @@
<link rel="author" title="Ms2ger" href="ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-window-nameditem">
<link rel="help" href="https://heycam.github.io/webidl/#named-properties-object">
<link rel="help" href="https://webidl.spec.whatwg.org/#named-properties-object">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
Expand Down
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>getOwnPropertyDescriptor() is correct for Proxy with host object target</title>
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://heycam.github.io/webidl/#Unforgeable">
<link rel="help" href="https://webidl.spec.whatwg.org/#Unforgeable">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
Expand Down
Expand Up @@ -4,8 +4,8 @@
<link rel="author" title="Ms2ger" href="ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-window-item">
<link rel="help" href="https://heycam.github.io/webidl/#getownproperty">
<link rel="help" href="https://heycam.github.io/webidl/#defineownproperty">
<link rel="help" href="https://webidl.spec.whatwg.org/#getownproperty">
<link rel="help" href="https://webidl.spec.whatwg.org/#defineownproperty">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
Expand Down
Expand Up @@ -4,8 +4,8 @@
<link rel="author" title="Ms2ger" href="ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-window-item">
<link rel="help" href="https://heycam.github.io/webidl/#getownproperty">
<link rel="help" href="https://heycam.github.io/webidl/#defineownproperty">
<link rel="help" href="https://webidl.spec.whatwg.org/#getownproperty">
<link rel="help" href="https://webidl.spec.whatwg.org/#defineownproperty">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
Expand Down
6 changes: 3 additions & 3 deletions html/browsers/the-window-object/window-properties.https.html
Expand Up @@ -3,9 +3,9 @@
<title>Properties of the window object</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<link rel="help" href="http://ecma-international.org/ecma-262/5.1/#sec-15.1">
<link rel="help" href="https://heycam.github.io/webidl/#interface-prototype-object">
<link rel="help" href="https://heycam.github.io/webidl/#es-attributes">
<link rel="help" href="https://heycam.github.io/webidl/#es-operations">
<link rel="help" href="https://webidl.spec.whatwg.org/#interface-prototype-object">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-attributes">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-operations">
<link rel="help" href="https://dom.spec.whatwg.org/#eventtarget">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#windowtimers">
Expand Down
4 changes: 2 additions & 2 deletions html/browsers/the-window-object/window-prototype-chain.html
Expand Up @@ -4,8 +4,8 @@
<link rel="author" title="Ms2ger" href="ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#window">
<link rel="help" href="https://dom.spec.whatwg.org/#eventtarget">
<link rel="help" href="https://heycam.github.io/webidl/#interface-prototype-object">
<link rel="help" href="https://heycam.github.io/webidl/#named-properties-object">
<link rel="help" href="https://webidl.spec.whatwg.org/#interface-prototype-object">
<link rel="help" href="https://webidl.spec.whatwg.org/#named-properties-object">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
Expand Down
2 changes: 1 addition & 1 deletion html/dom/documents/dom-tree-accessors/document.forms.html
Expand Up @@ -53,7 +53,7 @@
for (var p in document.forms) {
result.push(p);
}
// http://heycam.github.io/webidl/#property-enumeration
// https://webidl.spec.whatwg.org/#property-enumeration
// If the object supports indexed properties, then the object’s supported
// property indices are enumerated first, in numerical order.
assert_array_equals(result.splice(0, 3), ["0", "1", "2"]);
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>Calling getElementsByName with null and undefined</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname"/>
<link rel="help" href="https://heycam.github.io/webidl/#es-DOMString"/>
<link rel="help" href="https://webidl.spec.whatwg.org/#es-DOMString"/>
<link rel="help" href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf#page=57"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
Expand Up @@ -2,7 +2,7 @@
<title>Calling getElementsByName with null and undefined</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname">
<link rel="help" href="https://heycam.github.io/webidl/#es-DOMString">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-DOMString">
<link rel="help" href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf#page=57">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
Expand Up @@ -3,7 +3,7 @@
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#classes">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#domtokenlist">
<link rel="help" href="https://heycam.github.io/webidl/#es-DOMString">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-DOMString">
<link rel="help" href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf#page=57">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
Expand Up @@ -2,7 +2,7 @@
<title>HTMLHeadingElement: obsolete attribute reflecting</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-hx-align">
<link rel="help" href="https://heycam.github.io/webidl/#es-DOMString">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-DOMString">
<link rel="help" href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf#page=57">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
Expand Up @@ -3,7 +3,7 @@
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-link-element">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#domtokenlist">
<link rel="help" href="https://heycam.github.io/webidl/#ecmascript-binding">
<link rel="help" href="https://webidl.spec.whatwg.org/#ecmascript-binding">
<link rel="help" href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf#page=57">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>HTMLAreaElement stringifier</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://heycam.github.io/webidl/#es-stringifier">
<link rel="help" href="https://webidl.spec.whatwg.org/#es-stringifier">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/common/stringifiers.js></script>
Expand Down
2 changes: 1 addition & 1 deletion html/semantics/interfaces.html
Expand Up @@ -3,7 +3,7 @@
<title>Test of interfaces</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/">
<link rel="help" href="https://heycam.github.io/webidl/#host-objects">
<link rel="help" href="https://webidl.spec.whatwg.org/#host-objects">
<link rel="help" href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf#page=96">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand Down

0 comments on commit 9a88dfd

Please sign in to comment.