bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Cross domain ajax scripting blocked when files local

RESOLVED INVALID

Status

()

Firefox
Security
RESOLVED INVALID
8 years ago
8 years ago

People

(Reporter: Jure Sah, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; sl; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; sl; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

When loading a file from a file:///C:/ URL, cross-domain block will be in effect, even when all files are from the same folder on the local harddisk.

Reproducible: Always

Steps to Reproduce:
1. Copy file with relative paths in AJAX script to harddisk
2. Open file in firefox by doubleclicking
3. Observe it not working
Actual Results:  
Cross-domain security blocking in Javascript Console.

Expected Results:  
Expected script to work as it does when I put the same files on a random webserver.

Bugfix required to fill out FDA forms using the default instructions.

Comment 1

8 years ago
See https://developer.mozilla.org/En/Same-origin_policy_for_file:_URIs and the pref mentioned in the last paragraph.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.