Skip to content

Commit dfb0744

Browse files
authored
Add a feature for the Origin interface (#3696)
Fixes #3554
1 parent 1280d5f commit dfb0744

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

features/origin.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Origin
2+
description: >
3+
An `Origin` object represents an origin, as in a scheme, hostname, and port.
4+
You can use it to make same-site and same-origin comparisons.
5+
spec: https://html.spec.whatwg.org/multipage/browsers.html#the-origin-interface
6+
compat_features:
7+
- api.Origin
8+
- api.Origin.Origin
9+
- api.Origin.from_static
10+
- api.Origin.opaque
11+
- api.Origin.isSameOrigin
12+
- api.Origin.isSameSite

features/origin.yml.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Generated from: origin.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- api.Origin
9+
- api.Origin.Origin
10+
- api.Origin.from_static
11+
- api.Origin.isSameOrigin
12+
- api.Origin.isSameSite
13+
- api.Origin.opaque

0 commit comments

Comments
 (0)