@@ -36,9 +36,9 @@ import { baseName, compactSource, fragmentFromSource, fragmentWithLinks, kindOf,
3636 * A parent may save no file for the page, in a frame that drops the page's own download all the
3737 * same: in Grok a press on Download did nothing, with nothing said (2026-11-25, #114), and nothing
3838 * tells a page that its frame drops a download. So a framed page does not count on its own: where
39- * the parent opens links and a tab can build the package, from its source and the addresses of its
40- * files , Download hands the parent a link to a tab that saves it, as below; elsewhere the browser
41- * is left to try, and the way by hand is said under the stage at the press.
39+ * the parent opens links and the source names no file, so that a tab builds the same package from
40+ * the source alone , Download hands the parent a link to a tab that saves it, as below; elsewhere
41+ * the browser is left to try, and the way by hand is said under the stage at the press.
4242 *
4343 * One press is asked for all the same (#102), and a package built in a frame cannot be passed to
4444 * a tab: the browser keeps a framed page's storage apart. But a tab can build it again from what
@@ -389,11 +389,12 @@ const BY_HAND = 'To save it, right-click Download, or press and hold it, and ope
389389const BY_HAND_TOO = 'Right-click Download, or press and hold it, and open the link in a new tab.'
390390
391391/**
392- * Whether a tab of this page could build the package that plays: every file the source names is
393- * at an address the parent gave, or it names none. A file the person chose here is in this frame
394- * only.
392+ * Whether a tab of this page would build the package kept here: only where its source names no
393+ * file. A file it was built with is in this frame, chosen here or brought here, whatever address
394+ * a preview played it from before: a tab would fetch that address again, for a file that may be
395+ * another by now.
395396 */
396- const tabBuilds = ( ) : boolean => ! linksFor ( wanted ) . missing . length
397+ const tabBuilds = ( ) : boolean => ! wanted . length
397398
398399/** A package bigger than the parent saves: the browser is left to save it, and the way is said where it may not. */
399400function tooBig ( size : number ) : void {
@@ -759,7 +760,7 @@ download.addEventListener('click', (event) => {
759760 // A tab of the page's own: the browser saves what its link names.
760761 if ( ! framed ) return
761762 // Framed, with no parent that saves: the frame may drop the download with nothing said (#114).
762- // A tab the parent opens builds the package again and saves it, where a tab can build it .
763+ // A tab the parent opens builds the package again and saves it, where a tab builds the same one .
763764 if ( hostOpens && tabBuilds ( ) ) {
764765 event . preventDefault ( )
765766 toParent ( { type : 'open' , href : savingLink ( ) } )
0 commit comments