(In reply to comment #34) > Our same-domain policy for file:// is pretty complicated, but if we could make > it so that if you apply a policy for file://foo/bar/baz.html, then that policy > applies only to file://foo/bar and nothing else.
I guess the relevant code to do such a thing is here: http://mxr.mozilla.org/mozilla-central/source/caps/src/nsPrincipal.cpp#417
(In reply to comment #34) foo/bar/ baz.html, then that policy
> Our same-domain policy for file:// is pretty complicated, but if we could make
> it so that if you apply a policy for file://
> applies only to file://foo/bar and nothing else.
I guess the relevant code to do such a thing is here: mxr.mozilla. org/mozilla- central/ source/ caps/src/ nsPrincipal. cpp#417
http://