[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix js-info in iframe
From: |
Gavin Smith |
Subject: |
Re: Fix js-info in iframe |
Date: |
Tue, 22 Jun 2021 22:40:14 +0100 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Tue, Jun 22, 2021 at 01:54:07PM -0700, Per Bothner wrote:
> I tested out the js-info browser in a DomTerm browser window:
> $ domterm --tab browser URL-TO-MANUAL
> That failed, because domterm creates the requested browser window in an
> iframe (interior frame).
> Luckily the fix is easy:
>
> diff --git a/js/info.js b/js/info.js
> index 4198a9ec5c..e4c53700d2 100644
> --- a/js/info.js
> +++ b/js/info.js
> @@ -99,7 +99,7 @@
> Remote_store ()
> {
> /* The browsing context containing the real store. */
> - this.delegate = top;
> + this.delegate = window.parent;
> }
> /** Dispatch ACTION to the delegate browing context. This method must be
>
> I realize we're close to a release, but this seems fairly safe - plus it's in
> an "experimental" feature. Ok to check in?
Yes, thank you.