Fix quotes in Early Hints documentation
Replace mismatched and non-standard quotes. Change-Id: Ia5c4bb1c30544dd758388d345728980667d415dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3139202 Auto-Submit: Eric Lawrence [MSFT] <ericlaw@microsoft.com> Reviewed-by: Kenichi Ishibashi <bashi@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/main@{#918295}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
d89beec48c
commit
694be82290
@@ -68,7 +68,7 @@ Content-Type: text/html; charset=utf-8
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
`<meta http-equiv=”origin-trial” content=”**your token**”>` also works for the
|
`<meta http-equiv="origin-trial" content="**your token**">` also works for the
|
||||||
final response but doesn’t work for Early Hints since Early Hints cannot convey
|
final response but doesn’t work for Early Hints since Early Hints cannot convey
|
||||||
a response body.
|
a response body.
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ If a resource is preloaded by Early Hints, the corresponding
|
|||||||
[PerformanceResourceTiming](https://w3c.github.io/resource-timing/#sec-performanceresourcetiming)
|
[PerformanceResourceTiming](https://w3c.github.io/resource-timing/#sec-performanceresourcetiming)
|
||||||
object reports `initiatorType` is "early-hints".
|
object reports `initiatorType` is "early-hints".
|
||||||
```
|
```
|
||||||
performance.getEntriesByName('https://a.test/style.css”)[0].initiatorType
|
performance.getEntriesByName('https://a.test/style.css')[0].initiatorType
|
||||||
// => 'early-hints'
|
// => 'early-hints'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user