-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Delayed Clipboard Rendering] What happens to the clipboard data on Tab/Browser Close? #424
Comments
Few options that we want to highlight to handle the tab/browser close scenario when there is a delay rendered format written by the web author:
e.g.
Problems with this approach
Problems with this approach
|
Additional considerations: Any complication around beforeunload goes deeper - per the page lifecycle https://developer.chrome.com/blog/page-lifecycle-api/#overview-of-page-lifecycle-states-and-events (and apologies if that's too Chromium-specific - better link welcome!) - a page can transition from active to passive to hidden (e.g. tab changed) to frozen to discarded without events where the developer can do anything. And I think we want to avoid adding new functionality that opts a page out of BFCache. |
Created a document to discuss these options in more detail. Please let us know if you have any comments/concerns. |
Chrome and Safari do not block BFCache on Perhaps the |
I did not realize that bfcache and beforeunload are compatible with each other. MDN docs state:
The wording doesn't make it seem like this is specific to ff (so perhaps it warrants updating). |
@evanstade thanks, that is definitely incorrect. I'll see about getting it fixed. edit: mdn/content#26739 |
Removing Agenda+ as we're still working through some security issues in the delayed clipboard rendering prototype. Once we have addressed all the concerns, we will reengage with the Editing WG for feedback. |
We want to discuss the options listed in the above document, but want to propose the following option which is sort of a hybrid of options 2 and 4:
|
@evanstade @inexorabletash If this addresses all your concerns, then we can mark it as resolved for now unless we discover something in the future, then we can reopen it. WDYT? |
(TPAC meeting minutes)
@evanstade @inexorabletash agreed that this solution is better than what was proposed in the document, so we are going to resolve this issue with this resolution and will revisit if we find any issues in the future. |
From #417
@inexorabletash posted:
@annevk @sanketj @evanstade @a-sully @whsieh
The text was updated successfully, but these errors were encountered: