From magnus.ihse.bursie at oracle.com Thu Sep 17 08:40:39 2015
From: magnus.ihse.bursie at oracle.com (Magnus Ihse Bursie)
Date: Thu, 17 Sep 2015 10:40:39 +0200
Subject: Webrev bug in produced Javascript?
In-Reply-To: <55CA99A4.3050407@oracle.com>
References: <55CA8DAF.5010305@oracle.com> <55CA9026.90100@oracle.com>
<55CA99A4.3050407@oracle.com>
Message-ID: <55FA7C87.8050808@oracle.com>
On 2015-08-12 02:56, Bradford Wetmore wrote:
> One last data point which may give a clue to a web developer.
>
> On Firefox, F12 turns on the debugger for Net/CSS/JS/Security/Logging.
> Here's the log output:
>
> ancnav.js:57.1
> Error: Permission denied to access property "document"
Just a piece of input: I just tested on my computer, Firefox 40.0.3 (my
god how they are incrementing that version number!) and Linux, and I had
no problem navigating the frame view when reading a local file. So maybe
it's a Windows thing. You mentioned cygwin. Can you check if there seems
to be any file permission issues with the webrev files?
/Magnus
>
> Which seems to be from this code:
>
> // The way we compute the max anchor value is to stash it
> // inline in the left and right hand side pages-- it's the same
> // on each side, so we pluck from the left.
> //
> maxval = parent.lhs.document.eof.value.value;
>
> It sounds to be a cross-site scripting attack prevention. Over my head
> at this point. Maybe it's having trouble getting "domains" when local
> filenames are used. e.g.
>
>
>
>
>
>