-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add Extensions API blog post for documentId and friends. #3903
Conversation
✅ Deploy Preview for developer-chrome-com ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@jpmedley, FYI I'm tagging you in on this PR a little early. I figure It might be worth seeing how it reads & flows. |
Thank you! Much appreciated. |
The review Simeon asked me to do is very meta. When the text is locked I'll do a copy edit (review for typos, spelling, punctuation, etc.) |
@dotproto ping, PTAL |
@dotproto Is there anything I can do to help you move this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some suggestions to clean up the information presentation a bit. Once these are settled I think we're good for @jpmedley to take a final pass.
@dotproto If you have no more comments, please approve this. I'll do my review then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dave,
Nice article! Don't let the number of changes scare you. Most of these are to make the article consistent with the rest of the site.
Unfortunately, there are a few items, we need to give some thought to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied fixes
tab only had one active page. This was always the one that was visible. If a | ||
user returns to the previous page, the active page would be destroyed (Page B) | ||
and the previous page in history would be completely reconstructed (Page A). | ||
Extensions did not need to worry about what life cycle pages were in because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
|
||
When a page transitions from either Back/Forward Cache or prerender to the | ||
active state there will be 3 more events (but with *documentLifecyle* | ||
being *active*). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
```js | ||
onBeforeNavigate -> onCommitted -> onCompleted | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
- `"fenced_frame"`: A special type of frame that is embedded inside other frames | ||
(see [fenced-frames](https://github.com/WICG/fenced-frame)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The odds are about 1.5 million to 1 that this value can even be used on a particular site. (My numbers are based on metrics for Chrome and origin trials.) I was trying to convince you to remove this completely. How about just saying 'Reserved for future use'?
4b99c32
to
57a95fe
Compare
@rachelandrew I think we're past the original publish date in our content request. When can this go up. |
@jpmedley does it work to publish this tomorrow (30th)? That way it goes out between new in Chrome (today) and the beta post (the 1st) |
- Instant Navigation adds additional fields documentId, parentDocumentId, documentLifecycle, frameType to help improve the experience for back/forward cache and prerendering.
We can do tomorrow. Let me change the date real quick. and get Dave to merge it. |
It looks like Dave already did that. I'll leave this open in a tab and merge first thing tomorrow. |
https://deploy-preview-3903--developer-chrome-com.netlify.app/blog/extension-instantnav/