diff --git a/tests/spec/core/inlines-spec.js b/tests/spec/core/inlines-spec.js index 9ca89d38a9..afe5fc1877 100644 --- a/tests/spec/core/inlines-spec.js +++ b/tests/spec/core/inlines-spec.js @@ -362,7 +362,7 @@ describe("Core - Inlines", () => { const doc = await makeRSDoc(makeStandardOps(null, body)); const syntaxErrorAnchor = doc.querySelector("#test a"); expect(syntaxErrorAnchor.href).toBe( - "https://heycam.github.io/webidl/#syntaxerror" + "https://webidl.spec.whatwg.org/#syntaxerror" ); }); diff --git a/tests/spec/core/webidl-spec.js b/tests/spec/core/webidl-spec.js index 8bf16c3776..3a936a344e 100644 --- a/tests/spec/core/webidl-spec.js +++ b/tests/spec/core/webidl-spec.js @@ -1368,7 +1368,7 @@ callback CallBack = Z? (X x, optional Y y, /*trivia*/ optional Z z); // DOMString fromWebIDL(); const domString = doc.querySelector( - "#link-test a[href='https://heycam.github.io/webidl/#idl-DOMString']" + "#link-test a[href='https://webidl.spec.whatwg.org/#idl-DOMString']" ); expect(domString).toBeTruthy(); @@ -1426,7 +1426,7 @@ callback CallBack = Z? (X x, optional Y y, /*trivia*/ optional Z z); const objectAnchor = doc.querySelector("#link-test a[href$=idl-object]"); expect(objectAnchor.dataset.xrefType).toBe("interface"); expect(objectAnchor.href).toBe( - "https://heycam.github.io/webidl/#idl-object" + "https://webidl.spec.whatwg.org/#idl-object" ); }); diff --git a/tests/spec/core/xref-spec.js b/tests/spec/core/xref-spec.js index 6213c03f8c..dc839f18d3 100644 --- a/tests/spec/core/xref-spec.js +++ b/tests/spec/core/xref-spec.js @@ -21,6 +21,7 @@ describe("Core — xref", () => { id: "service-workers-1", href: "https://www.w3.org/TR/service-workers-1/", }, + webidl: { id: "WebIDL", href: "https://webidl.spec.whatwg.org/" }, infra: { id: "INFRA", href: "https://infra.spec.whatwg.org/" }, "credential-management": { aliasOf: "credential-management-1" }, "credential-management-1": { @@ -242,7 +243,7 @@ describe("Core — xref", () => { ); const externalDfn1 = doc.querySelector("#external-dfn-1 a"); expect(externalDfn1.href).toBe( - "https://heycam.github.io/webidl/#dfn-dictionary" + "https://webidl.spec.whatwg.org/#dfn-dictionary" ); const externalDfn2 = doc.querySelector("#external-dfn-2 a"); expect(externalDfn2.href).toBe("https://infra.spec.whatwg.org/#list"); @@ -499,9 +500,7 @@ describe("Core — xref", () => { const valid3 = doc.getElementById("valid3"); expect(valid3.href).toBe("https://example.com/#fake-inform-3"); const valid3n = doc.getElementById("valid3n"); - expect(valid3n.href).toBe( - "https://heycam.github.io/webidl/#dfn-dictionary" - ); + expect(valid3n.href).toBe("https://webidl.spec.whatwg.org/#dfn-dictionary"); const valid4 = doc.getElementById("valid4"); expect(valid4.href).toBe("https://example.com/#fake-inform-4"); const valid4n = doc.getElementById("valid4n");