Closed Bug 1565428 Opened 6 years ago Closed 6 years ago

Javascript issue in July 9th,2019 release

Categories

(Firefox :: Untriaged, defect)

68 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: stan, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Loading a page from local drive with URL in the form:
file:///D:/index.html

...now does not work properly... but it DOES work if this form is used:
http://127.0.0.1/D:/index.html

The page uses Javascript to create a multi-level table of contents.

The particular page (and all supporting files) is found our site here:
https://campgroundmaster.com/help/index.html

It worked fine (for many years) until the July 9th update

Actual results:

It's expanding all nodes in the table of contents.
Example:

Introduction
    Overview - Software Purpose
    Setup and Customization
    If You Need Assistance
    Copyright and License Information
    PCI Compliance / PA-DSS Implementation
    Checklist for PCI Compliance
    PA-DSS Implementation Guide
Getting Started
    Overview - Using This Manual
    Terminology
    System Requirements
    Installing the Software
    Running the Software
    Logging In and Out
    The Main Program Window
    Tip of the Day
    Helpful Hints --- Getting the Most Out of Your Keyboard and Mouse
        Right-click is your friend
        Keyboard shortcuts
        Data Entry Basics
        Copying and Pasting

Expected results:

It's supposed to open with all nodes in the table of contents "collapsed".

Example:
Introduction
Getting Started
Quick Start Guide
Setting Up Your Campground Database
Dynamic Interactive Report Screens
Working with Reservations

Hard to explain with the 3 boxes here, so repeating here for clarity....

Something changed that breaks the code used in our help pages created by the program Help&Manual. Specifically:

Loading a page from local drive with URL in the form:
file:///D:/index.html
...now does not work properly... but it DOES work if this form is used:
http://127.0.0.1/D:/index.html

In this case it uses Javascript to create a multi-level table of contents. It's supposed to open with all nodes "collapsed". Instead (with the first form above) it expands all nodes.

Hi Stan,

So I understand that your problem is that your help-page is not being opened correctly, it's not collapsed. Is that right? However, I opened the page https://campgroundmaster.com/help/index.html on Firefox and it was collapsed.

I could try loading the file the way you suggest to reproduce the bug, but could you attach an example of the index file, please?

Thanks in advance, Flor.

Flags: needinfo?(stan)

Yes it works OK on the web site. However when using the copy on a local drive and using this form, it does not work (local path removed for simplicity -- but it's a mirror image of all files on the web site):

file:///D:/index.html

It worked fine up until this last update.

Also STILL works fine locally if this format is used:
http://127.0.0.1/D:/index.html

So it's some new difference in the way it processes the files (identical in all cases) depending on the URL format used.

Flags: needinfo?(stan)

Hi Stan,

I could try loading the file the way you suggest to reproduce the bug locally, but could you attach an example of the index file, please?

Thanks in advance, Flor.

Flags: needinfo?(stan)

Hi Stan,

I'm marking this as Resolved-Incomplete due to lack of response. If the issue is still reproducible with the latest Firefox version, feel free to reopen the bug with more information.

Best regards, Flor.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.