Closed Bug 433509 Opened 16 years ago Closed 11 years ago

Notes on usage of document.domain missing one important thing

Categories

(Developer Documentation Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peter.kehl, Assigned: sheppy)

References

()

Details

Attachments

(1 file)

Hi, would you consider adding the following section to the bottom of the page. See also the attached package, which I used to test in Firefox 2.0.0.14 on Mac OS X. When I didn't set document.domain in the higher (parent) domain, then I was still getting permission errors.

Note that you need to  set <i>document.domain</i> in both the subdomain and the parent domain to the same value. You need to do that
even when setting document.domain in the parent domain to its 'native' (original) domain. It's not enough to set it only on the subdomain part. Otherwise you'd still get permission errors.
Product: mozilla.org → Websites
Component: Other → www.mozilla.org
Product: Websites → mozilla.org
QA Contact: other → www-mozilla-org
Version: unspecified → other
This page had been moved over to MDC but a redirect was missing.  I just set a redirect up to the correct page at

http://developer.mozilla.org/En/Same_origin_policy_for_JavaScript

Changing product to Mozilla Developer Center to discuss original issue of adding additional information to the page.
Component: www.mozilla.org → Documentation Requests
Product: Websites → Mozilla Developer Center
QA Contact: www-mozilla-org → doc-request
Version: other → unspecified
Component: Documentation Requests → Documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
Updated the article.
Assignee: nobody → eshepherd
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: