Skip to content

Commit

Permalink
Direct Sockets API: Update spec links
Browse files Browse the repository at this point in the history
References to
https://github.com/WICG/raw-sockets
are replaced with references to
https://github.com/WICG/direct-sockets

The project was renamed:
WICG/direct-sockets#10

Change-Id: I67a58bc0c863c628d29fc86930ecc8aff2122c05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3346979
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Alan Cutter <alancutter@chromium.org>
Reviewed-by: Alan Cutter <alancutter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#953764}
NOKEYCHECK=True
GitOrigin-RevId: 16dc16f9ec67841801d4fc4f457a829c8eca4b75
  • Loading branch information
ericwilligers authored and copybara-github committed Dec 23, 2021
1 parent c848084 commit 0c4741b
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion blink/public/mojom/direct_sockets/direct_sockets.mojom
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module blink.mojom;

// Explainer for the Direct Sockets API:
// https://github.com/WICG/raw-sockets/blob/main/docs/explainer.md
// https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md

import "mojo/public/mojom/base/read_only_buffer.mojom";
import "services/network/public/mojom/ip_endpoint.mojom";
Expand Down
2 changes: 1 addition & 1 deletion blink/renderer/modules/direct_sockets/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This directory implements the Blink side of the [Direct Sockets
API](https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md).
API](https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md).

It will connect to a DirectSocketsService Mojo service in the browser,
which performs security checks, provides dialogs, and forwards requests to
Expand Down
4 changes: 2 additions & 2 deletions blink/renderer/modules/direct_sockets/navigator_socket.idl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md#tcp
// https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md#udp
// https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md#tcp
// https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md#udp

[
ImplementedAs=NavigatorSocket,
Expand Down
2 changes: 1 addition & 1 deletion blink/renderer/modules/direct_sockets/socket_options.idl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md#tcp
// https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md#tcp

dictionary SocketOptions {
DOMString localAddress;
Expand Down
2 changes: 1 addition & 1 deletion blink/renderer/modules/direct_sockets/tcp_socket.idl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md#tcp
// https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md#tcp

[
Exposed=Window,
Expand Down
2 changes: 1 addition & 1 deletion blink/renderer/modules/direct_sockets/udp_socket.idl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/WICG/raw-sockets/blob/main/docs/explainer.md#udp
// https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md#udp

[
Exposed=Window,
Expand Down
2 changes: 1 addition & 1 deletion blink/web_tests/external/wpt/direct-sockets/META.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec: https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md
spec: https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md
suggested_reviewers:
- ewilligers
- mgiuca
Expand Down
2 changes: 1 addition & 1 deletion blink/web_tests/external/wpt/direct-sockets/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
These tests are for the TCP and UDP sockets API proposed in
https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md
https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Sockets test: Open from non-secure context</title>
<link rel="help" href="https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md#security-considerations">
<link rel="help" href="https://github.com/WICG/direct-sockets/blob/main/docs/explainer.md#security-considerations">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
Expand Down

0 comments on commit 0c4741b

Please sign in to comment.