-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preview: Open preview to previewLink if not autosaveable (#7703)
* Preview: Open preview to previewLink if not autosaveable * Saving: Update preview button test for interstitial with preview link Previously we would allow the previous link to be reused; now we force to about:blank to write the empty interstitial message * Saving: Avoid unsetting previewWindow on unload event Unload can be triggered in Firefox merely by the writing to the interstitial window. Only delete once a redirect has been evaluated (and not closed). * Saving: Compare preview location on reference window object previewWindow is deleted from the instance once props are set, but reference object location is mutated directly
- Loading branch information
Showing
3 changed files
with
175 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.