[email protected]
806b04bbb5
Bug 261339 Setting capability.policy.default.Window.top to noAccess seems to crash mozilla
...
r=caillon sr=dveditz
2004-11-05 16:54:09 +00:00
[email protected]
b0bee8c982
Bug 267311 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") in a XBL constructor make mozilla crash. [@ JS_FrameIterator]
...
r=dveditz sr=jst
2004-11-05 15:25:04 +00:00
[email protected]
9a629e39e3
Make it possible to disable checkloaduri on a per-site basis instead of
...
disabling it globally. Bug 233108, r=caillon, sr=jst
2004-11-03 15:45:52 +00:00
[email protected]
6c1771bf39
Re-enabling the fix for bug 69070 and optimizing some string code in caps that was for sure part of the reason for the Tp regression, and use CheckLoadURIWithPrincipal() to be more correct. [email protected]
2004-10-15 16:34:58 +00:00
[email protected]
eefe7f0ac6
Improve enablePrivilege confirmation dialog text and presentation, sanity-check
...
privilege names (bug 253942, bug 253944) r=caillon,sr=brendan,a=chofmann,mkaply
2004-09-01 07:53:32 +00:00
[email protected]
d9edea9d71
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
[email protected]
3a479a04bc
bug 162020 option to delay enabling confirmation buttons r=mkaply,sr=sspitzer
2004-06-05 09:26:01 +00:00
[email protected]
b8b7f54ae4
#239580
...
r=danm, sr=dveditz
Extend ConfirmEx to allow setting the default button - change default button for script security to no
2004-05-24 13:33:51 +00:00
[email protected]
6b0210f601
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
[email protected]
d6a2a440ea
Add a version of CheckLoadURI that takes a source principal instead of a source
...
URI. Update a bunch of callers to use it. Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
[email protected]
9f65d8c3a3
deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst.
2004-04-18 00:28:47 +00:00
[email protected]
cf0b0c064a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
[email protected]
4f8a193982
Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
...
r=darin sr=dbaron
2004-04-14 20:09:30 +00:00
[email protected]
379d1ff2b8
Backing out the fix for bug 235457 since it made typing URLs, and autocomplete in the the URL bar not work.
2004-03-16 19:06:10 +00:00
[email protected]
cb37b9f217
Fixing bug 235457. Make new windows opened through window.open be opened on the context of the opener, and make caps not lie about when capabilities are enabled. [email protected] , [email protected] , [email protected] , [email protected]
2004-03-16 06:57:54 +00:00
[email protected]
33f7ab6e0c
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2004-02-28 22:34:07 +00:00
[email protected]
0a10a4dd09
fixes bug 234916 "Remove global/static NS_NAMED_LITERAL_C?STRING usage [was: Firefox crashes on startup on Mac OS X]" r=jst sr=dbaron
2004-02-25 02:08:34 +00:00
[email protected]
0c5e542fe7
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. [email protected] .
2004-02-09 22:48:53 +00:00
[email protected]
8cdf8a51ac
Bug 228095 - AIX: 64-bit build error in nsScriptSecurityManager.cpp
...
[email protected] , [email protected] , [email protected]
2003-12-15 18:16:09 +00:00
[email protected]
dc47fe9412
Permit content to link to about:logo
...
Bug 223293; r=timeless sr=jst
2003-10-30 01:35:09 +00:00
[email protected]
36e47e1b16
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
[email protected]
d8628428ac
Better version of last change, thanks to caillon for reminding me.
2003-09-28 04:55:50 +00:00
[email protected]
5a97e80d4e
Forgot to update calls to formerly-static SecurityCompareURI (r+sr=bz).
2003-09-28 04:44:33 +00:00
[email protected]
604b90f8a3
Expose nsIScriptSecurityManager::SecurityCompareURIs for use by nsGlobalWindow::SetNewDocument, to avoid spurious window.open same-origin violation errors (220421, r=caillon, sr=bzbarsky).
2003-09-28 04:22:01 +00:00
[email protected]
f4bb053b4f
about:about
...
Bug 56061
[email protected]
[email protected]
2003-09-13 19:35:59 +00:00
[email protected]
cb97361fb3
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
[email protected]
a=chofmann
2003-08-22 03:06:53 +00:00
[email protected]
9347c305df
Bug 214949
...
Make XUL error pages work again by making GetOrigin() return the full spec for chrome: URIs and preventing principal lookups when the principals hash is empty.
[email protected]
[email protected]
2003-08-10 02:26:11 +00:00
[email protected]
365c98466c
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
2003-08-05 20:09:21 +00:00
[email protected]
bb0fb64fcf
Adding comments, per bzbarsky. bug 214050.
2003-07-29 19:03:00 +00:00
[email protected]
6648a0ea84
Don't let success of string bundle calls dictate the return value, continue to return errors. Still bug 214050.
2003-07-29 09:07:43 +00:00
[email protected]
74046f4652
Bug 214050
...
Start to localize some of the more common user-visible error messages in caps.
[email protected]
2003-07-29 05:28:00 +00:00
[email protected]
3c2c01c6d0
Bug 83536.
...
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
[email protected]
[email protected]
[email protected] (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
[email protected]
4c017fed21
Fixing bug 210730. ClassInfoData optimizations. [email protected]
2003-06-27 03:10:49 +00:00
[email protected]
8b78741240
Bug 194872 CAPS vulnerability when doing cross-site-scripting with frames from different origins and different CAPS settings (allAccess, noAccess).
...
bustage (const char*)
sr=jst
2003-06-26 03:27:01 +00:00
[email protected]
efa7bd7440
Bug 194872 - Cache zone-policy data on the subject principal instead of the callee. r=nisheeth, sr=jst.
2003-06-26 00:18:43 +00:00
[email protected]
2a0beb55c8
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. [email protected] , [email protected]
2003-06-24 21:43:01 +00:00
[email protected]
86fcd8dff4
Bug 163645 - User defined properties of window.navigator are not remembered when a new page is loaded.
...
Enable this for websites within the same domain only.
Also, fixes CheckSameOriginPrincipal to just check the principals, and not care whether we have anything on the JS stack.
r=mstoltz, sr=jst
2003-06-18 23:48:57 +00:00
[email protected]
02ebd6ac11
Grant access to SOAP response document's properties and also allow the document to be serializable. b=193953, [email protected] , [email protected]
2003-06-12 20:18:34 +00:00
[email protected]
fd5cd3c3a6
Disallowing javascript or data schemes in a redirect. r=mstoltz, sr=brendan, a=rjesup, b=195201
2003-05-29 21:56:38 +00:00
[email protected]
51fee6de92
Disallowing javascript or data schemes in a redirect. r=mstoltz, sr=brendan, a=rjesup, b=195201
2003-05-29 21:51:34 +00:00
[email protected]
3b08782204
Bug 163950 - allow opening connections for XML data transfer services when document.domain has been set. r=jst, sr=heikki.
2003-05-28 23:22:36 +00:00
[email protected]
92930188df
bug 205538 - Use hyphens instead of underscores in caps prefs for CID's. r=adamlock, sr=alecf, a=asa
2003-05-20 14:19:05 +00:00
[email protected]
8424a6b61c
Fixing bug 202994. Make sure the proper security check is done when converting the result of a JS expression in a javascript: URL to a string. [email protected] , [email protected] , [email protected]
2003-05-12 22:23:52 +00:00
[email protected]
ea24b89440
Fix overbroad getter/setter access check to apply only to scripted getters/setters; fix wrong object class name in error messages (198660, r=mstoltz, sr=jst, a=asa).
2003-05-09 00:40:50 +00:00
[email protected]
7c1b1ada2e
Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. Also make sure we never use the principals that are precompiled into cloned Functions, always get the principal from the Function's scope in such cases. [email protected] (and [email protected] ), [email protected]
2003-04-17 20:21:00 +00:00
[email protected]
99102880b1
Bug 188229 - adding new security check function that allows component instantiation by CID. r=dveditz, sr=heikki. *not part of build yet*
2003-03-12 02:17:37 +00:00
[email protected]
0370eba38e
Bug 196340 Change NS_REINTERPRET_CAST(nsIScriptContext*, JS_GetContextPrivate(cx)) to use Static Cast
...
r=mstoltz sr=heikki
2003-03-07 21:54:28 +00:00
[email protected]
4380790dcc
Generalize the JS_SetCheckObjectAccessCallback hook implemented here to deal with user-defined getters and setters (92773, r=mstoltz, sr=jst).
2003-03-06 19:40:14 +00:00
[email protected]
ce58c48f2f
bug 191773, r=mstoltz, [email protected]
...
only allow x-jsd: urls from chrome: and resource:
2003-02-05 01:27:56 +00:00
[email protected]
c8d51af14c
Fix bug 127185: don't crash with a null JS context if running without XPT files. Fixes nsScriptSecurityManager to do more thorough error checking on initialization. r=mstoltz, sr=jst.
2003-01-17 01:00:15 +00:00