Skip to content

Commit a251654

Browse files
Editorial: rename spec to Geolocation (#164)
1 parent 22ed7a4 commit a251654

File tree

5 files changed

+49
-50
lines changed

5 files changed

+49
-50
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Spec development happens via [issues in this repository](https://github.com/w3c/geolocation-api/issues) and [pull requests](https://github.com/w3c/geolocation-api/pulls).
1+
Spec development happens via [issues in this repository](https://github.com/w3c/geolocation/issues) and [pull requests](https://github.com/w3c/geolocation/pulls).
22

33
For normative changes, a corresponding [web-platform-tests](https://github.com/web-platform-tests/wpt) PR is highly appreciated. Typically, both PRs will be merged at the same time. If testing is not practical, please explain why and if appropriate [file an issue](https://github.com/web-platform-tests/wpt/issues/new) to follow up later.
44

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Geolocation API
1+
# Geolocation
22

3-
Once a user grants permission, the Geolocation API provides access to geographical location information from device.
3+
Once a user grants permission, Geolocation provides access to geographical location information from device.
44

5-
- [Editor's draft](http://w3c.github.io/geolocation-api/)
5+
- [Editor's draft](http://w3c.github.io/geolocation/)
66

77
## Examples of usage
88

@@ -80,4 +80,4 @@ sendPosition();
8080

8181
### More examples
8282

83-
The specification provides [examples](https://w3c.github.io/geolocation-api/#examples) covering different use case.
83+
The specification provides [examples](https://w3c.github.io/geolocation/#examples) covering different use case.

errata.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5-
<title>Geolocation API Errata</title>
5+
<title>Geolocation Errata</title>
66
<script
77
src="https://www.w3.org/Tools/respec/respec-w3c"
88
class="remove"
@@ -36,11 +36,11 @@
3636
height:"48"
3737
}
3838
],
39-
postProcess: [removeRedudantParts]
39+
postProcess: [hideRedundantParts]
4040
};
41-
function removeRedudantParts() {
41+
function hideRedundantParts() {
4242
const details = document.querySelector("body > div.head > details");
43-
details.classList.add("removeOnSave");
43+
details.style = "display: none";
4444
}
4545
</script>
4646
</head>
@@ -52,10 +52,10 @@
5252

5353
## Process for submitting errata
5454

55-
Please [file an issue](https://github.com/w3c/geolocation-api/issues/new) on Github.
55+
Please [file an issue](https://github.com/w3c/geolocation/issues/new) on Github.
5656

5757
## Unaddressed errata
58-
[See issues on Github](https://github.com/w3c/geolocation-api/labels/errata)
58+
[See issues on Github](https://github.com/w3c/geolocation/labels/errata)
5959

6060
## Errata approved by the Working Group
6161
<script class="removeOnSave">

index.html

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="color-scheme" content="light dark">
66
<title>
7-
Geolocation API
7+
Geolocation
88
</title>
99
<script src="https://www.w3.org/Tools/respec/respec-w3c" async class=
1010
"remove"></script>
@@ -39,12 +39,12 @@
3939
previousPublishDate: "2022-02-17",
4040
crEnd: "2022-03-18",
4141
previousMaturity: "CR",
42-
github: "w3c/geolocation-api",
42+
github: "w3c/geolocation",
4343
caniuse: "geolocation",
44-
testSuiteURI: "https://wpt.live/geolocation-API/",
45-
implementationReportURI: "https://w3c.github.io/geolocation-api/reports/PR_imp_report.html",
44+
testSuiteURI: "https://wpt.live/geolocation/",
45+
implementationReportURI: "https://w3c.github.io/geolocation/reports/PR_imp_report.html",
4646
xref: "web-platform",
47-
errata: "https://w3c.github.io/geolocation-api/errata.html",
47+
errata: "https://w3c.github.io/geolocation/errata.html",
4848
latestVersion: "https://www.w3.org/TR/geolocation/",
4949
};
5050
</script>
@@ -53,8 +53,8 @@
5353
"secure-contexts permissions-policy permissions hr-time html">
5454
<section id="abstract">
5555
<p>
56-
The Geolocation API provides access to geographical location
57-
information associated with the hosting device.
56+
Geolocation provides access to geographical location information
57+
associated with the hosting device.
5858
</p>
5959
</section>
6060
<section id="sotd" class="updateable-rec">
@@ -83,18 +83,18 @@ <h2>
8383
Introduction
8484
</h2>
8585
<p>
86-
The <cite>Geolocation API</cite> defines a high-level interface to
87-
location information associated only with the device hosting the
88-
implementation. Common sources of location information include Global
89-
Positioning System (GPS) and location inferred from network signals
90-
such as IP address, RFID, WiFi and Bluetooth MAC addresses, and
91-
GSM/CDMA cell IDs, as well as user input. The API itself is agnostic of
92-
the underlying location information sources, and no guarantee is given
93-
that the API returns the device's actual location.
86+
<cite>Geolocation</cite> defines a high-level interface to location
87+
information associated only with the device hosting the implementation.
88+
Common sources of location information include Global Positioning
89+
System (GPS) and location inferred from network signals such as IP
90+
address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs,
91+
as well as user input. The API itself is agnostic of the underlying
92+
location information sources, and no guarantee is given that the API
93+
returns the device's actual location.
9494
</p>
9595
<p>
96-
If an end user [=check permission|grants permission=], the
97-
<cite>Geolocation API</cite>:
96+
If an end user [=check permission|grants permission=],
97+
<cite>Geolocation</cite>:
9898
</p>
9999
<ul>
100100
<li>Provides location data as latitude, longitude, altitude, speed, and
@@ -325,15 +325,14 @@ <h3>
325325
</h3>
326326
<p>
327327
The [=policy-controlled feature/default allowlist=] of `'self'`
328-
allows Geolocation API usage in same-origin nested frames but
329-
prevents third-party content from using the API.
328+
allows API usage in same-origin nested frames but prevents
329+
third-party content from using the API.
330330
</p>
331331
<p>
332332
Third-party usage can be selectively enabled by adding the
333333
[^iframe/allow^]`="geolocation"` attribute to an [^iframe^] element:
334334
</p>
335-
<aside class="example" title=
336-
"Enabling the Geolocation API in an iframe">
335+
<aside class="example" title="Enabling Geolocation in an iframe">
337336
<pre class="html">
338337
&lt;iframe
339338
src="https://third-party.com"
@@ -371,10 +370,10 @@ <h3>
371370
User consent
372371
</h3>
373372
<p>
374-
The <cite>Geolocation API</cite> is a [=powerful feature=] that
375-
requires [=express permission=] from an end-user before any location
376-
data is shared with a web application. This requirement is
377-
normatively enforced by the [=check permission=] steps on which the
373+
<cite>Geolocation</cite> is a [=powerful feature=] that requires
374+
[=express permission=] from an end-user before any location data is
375+
shared with a web application. This requirement is normatively
376+
enforced by the [=check permission=] steps on which the
378377
{{Geolocation/getCurrentPosition()}} and
379378
{{Geolocation/watchPosition()}} methods rely.
380379
</p>
@@ -405,7 +404,7 @@ <h3>
405404
<p class="note" title=
406405
"Developers' responsibility with this sensitive data">
407406
This section applies to "recipients", which generally means
408-
developers utilizing the <cite>Geolocation API</cite>. Although it's
407+
developers utilizing <cite>Geolocation</cite>. Although it's
409408
impossible for the user agent, or this specification, to enforce
410409
these requirements, developers need to read this section carefully
411410
and do their best to adhere to the suggestions below. Developers need
@@ -465,8 +464,8 @@ <h2>
465464
Checking permission to use the API
466465
</h2>
467466
<p>
468-
The <cite>Geolocation API</cite> is a [=default powerful feature=]
469-
identified by the [=powerful feature/name=] <code><dfn class=
467+
<cite>Geolocation</cite> is a [=default powerful feature=] identified
468+
by the [=powerful feature/name=] <code><dfn class=
470469
"permission">"geolocation"</dfn></code>.
471470
</p>
472471
<p>
@@ -487,8 +486,8 @@ <h2>
487486
Security considerations
488487
</h2>
489488
<p>
490-
There are no security considerations associated with Geolocation API at
491-
the time of publication. However, readers are advised to read the
489+
There are no security considerations associated with Geolocation at the
490+
time of publication. However, readers are advised to read the
492491
[[[#privacy]]].
493492
</p>
494493
</section>
@@ -1238,8 +1237,8 @@ <h4>
12381237
</aside>
12391238
<aside class="addition" id="a3">
12401239
<span class="marker">Candidate Correction:</span> To improve clarity
1241-
and precision, a description of the accuracy attribute has been added,
1242-
defining it as meters of radius.
1240+
and precision, a description of the accuracy attribute has been
1241+
added, defining it as meters of radius.
12431242
</aside>
12441243
<p>
12451244
<del cite="#c3">The <strong>latitude</strong> and
@@ -1503,8 +1502,8 @@ <h2>
15031502
Change log
15041503
</h2>
15051504
<p>
1506-
Since First Public Working Draft in 2021, the <cite>Geolocation
1507-
API</cite> has received the following normative changes:
1505+
Since First Public Working Draft in 2021, <cite>Geolocation</cite> has
1506+
received the following normative changes:
15081507
</p>
15091508
<script class="removeOnSave">
15101509
function removeCommits(commit) {
@@ -1550,7 +1549,7 @@ <h2>
15501549
</ul>
15511550
<p>
15521551
See the <a href=
1553-
"https://github.com/w3c/geolocation-api/commits/gh-pages">commit
1552+
"https://github.com/w3c/geolocation/commits/gh-pages">commit
15541553
history</a> for a complete list of changes.
15551554
</p>
15561555
</section>

reports/PR_imp_report.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@
2828
}
2929
</style>
3030
<title>
31-
Geolocation API - implementation report 2016-2022
31+
Geolocation - implementation report 2016-2022
3232
</title>
3333
</head>
3434
<body>
3535
<h1 id="title">
36-
Geolocation API - implementation report 2016-2022
36+
Geolocation - implementation report 2016-2022
3737
</h1>
3838
<section id='abstract'>
3939
<p>
40-
This is an implementation report for the Geolocation API, covering the
40+
This is an implementation report for [[[geolocation]]], covering the
4141
testable normative changes that were made since maintenance resumed on
4242
the specification in 2016 until 2022.
4343
</p>
@@ -46,7 +46,7 @@ <h2>
4646
Tested assertions
4747
</h2>
4848
<p data-cite="permissions">
49-
As the Geolocation API requires explicit permission grant to be used (via
49+
As Geolocation requires explicit permission grant to be used (via
5050
a browser UI), the following assertions were tested manually to assure
5151
interoperability across user agents.
5252
</p>

0 commit comments

Comments
 (0)