Closed Bug 569548 Opened 14 years ago Closed 14 years ago

Cross domain ajax scripting blocked when files local

Categories

(Firefox :: Security, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jure.sah, Unassigned)

Details

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.
See https://developer.mozilla.org/En/Same-origin_policy_for_file:_URIs and the pref mentioned in the last paragraph.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.