Skip to content

Commit 585b759

Browse files
author
Jihye Hong
authored
Update explainer.md
1 parent b1626c7 commit 585b759

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

explainer.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,14 @@ In detail, the approach for the Feature policy would be like below:
383383

384384
For example, the spatial navigation feature is allowed when the feature policy is specified as below:
385385
![<img>featurepolicy-example](https://github.com/jihyerish/jihyerish.github.io/blob/master/img/featurepolicy.png)
386-
- Default policy: sptialnavigation 'self'
387-
- example.com: Feature-Policy: spatialnavigation https://game.com
388-
- game.com: <iframe src=“game.com" allow=“spatialnavigation https://www.good-ad.com"></iframe>
386+
387+
| Origin | Policy |
388+
|-|-|
389+
| Default | sptialnavigation 'self' |
390+
| example.com | `Feature-Policy: spatialnavigation https://game.com` |
391+
| game.com | `<iframe src=“game.com" allow=“spatialnavigation https://good-ad.com"></iframe>` |
392+
393+
The spatial navigation feature cannot be used for "add.com" and "bad-add.com"
389394

390395
### How can the spatial navigation works for the HTMLFormElement?
391396

0 commit comments

Comments
 (0)