Firefox build with disabled CORS for personal use

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
Naminami
Posts: 1
Joined: July 17th, 2015, 4:43 pm

Firefox build with disabled CORS for personal use

Post by Naminami »

Hello.

I need to make a specific build of Firefox version 19 with disabled CORS (similar to the Crome option --disable-web-security).

Maybe someone knows which files in the sources to watch for?
Intuition tells me there must be a true/false switch or a few lines of code that are responsible for the functioning of CORS.

I understand that this is very specific question, but can anyone point me in a proper direction?

Sorry for my bad english, im from the soviet russia )
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: Firefox build with disabled CORS for personal use

Post by xunxun1982 »

If you mean cross domain web security, I think it's related with security.fileuri.strict_origin_policy, whose source code is in https://mxr.mozilla.org/mozilla-central ... er.cpp#246
Post Reply