Skip to content

Commit acf7887

Browse files
foolipddbeck
andauthored
Replace many uses of the word "interface" (#3256)
In most places API is more natural and consistent with the rest of web-features. Sanitizer is aligned with the wording in parse-html-unsafe.yml. For WebDriver "interface" isn't wrong, but protocol seems clearer. Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
1 parent 82bd7fa commit acf7887

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

features/ambient-light.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Ambient light sensor
2-
description: The `AmbientLightSensor` interface returns the current light level in lux of the ambient light level around the device.
2+
description: The `AmbientLightSensor` API returns the current light level in lux of the ambient light level around the device.
33
spec: https://w3c.github.io/ambient-light/
44
caniuse: ambient-light
55
group: sensors

features/compression-streams.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Compression streams
2-
description: The `CompressionStream` and `DecompressionStream` interfaces compress and decompress data using the gzip or deflate formats.
2+
description: The `CompressionStream` and `DecompressionStream` APIs compress and decompress data using the gzip or deflate formats.
33
spec: https://compression.spec.whatwg.org/
44
status:
55
compute_from:

features/cookie-store.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Cookie store
2-
description: The `CookieStore` interface is an asynchronous and promise-based API for managing cookies. It does not rely on document and so is available to service workers as well.
2+
description: The `CookieStore` API is an asynchronous and promise-based API for managing cookies. It does not rely on document and so is available to service workers as well.
33
spec: https://cookiestore.spec.whatwg.org/
44
group: cookies
55
caniuse: cookie-store-api

features/dom-geometry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: DOM Geometry
2-
description: The `DOMMatrix`, `DOMPoint`, `DOMQuad` and `DOMRect` interfaces offer a way to represent points, rectangles, quadrilaterals and transformation matrices within JavaScript. They can be used in transformations in CSS, `<canvas>`, and SVG.
2+
description: The `DOMMatrix`, `DOMPoint`, `DOMQuad` and `DOMRect` APIs represent points, rectangles, quadrilaterals and transformation matrices within JavaScript. They can be used in transformations in CSS, `<canvas>`, and SVG.
33
spec: https://drafts.fxtf.org/geometry-1/
44
status:
55
compute_from: api.DOMMatrix

features/sanitizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Sanitizer API
2-
description: The `parseHTML()` method for the `Document` interface and the `setHTML()` methods for the `Element` and `ShadowRoot` interfaces parse and insert HTML into the DOM in a way that can prevent cross-site scripting attacks. The `Sanitizer` API can customize the sanitization process.
2+
description: The `Document.parseHTML()` static method and the `setHTML()` method of `Element` and `ShadowRoot` objects parse and insert HTML into the DOM in a way that can prevent cross-site scripting attacks. The `Sanitizer` API can customize the sanitization process.
33
spec: https://wicg.github.io/sanitizer-api/
44
compat_features:
55
# The main entry points.

features/webdriver.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: WebDriver
2-
description: The WebDriver interface allows out-of-process programs to inspect and control browsers to, for example, run tests of web applications. Also known as WebDriver classic.
2+
description: The WebDriver protocol allows out-of-process programs to inspect and control browsers to, for example, run tests of web applications. Also known as WebDriver classic.
33
spec: https://w3c.github.io/webdriver/
44
group: webdriver
55
compat_features:

0 commit comments

Comments
 (0)