Commit Graph
437 Commits
Author SHA1 Message Date
[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] b4458c6578 Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
[email protected] 53e8581c6d Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +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] 7a9b6c9571 227079 - Mozilla asks for security privileges where it shouldn't
Make sure we check signed.applets.codebase_principal_support and special urls before going further.
r=jst sr=bzbarsky a=dbaron
2003-12-04 02:14:07 +00:00
[email protected] 02379bb960 Fix missing cx param problem (223041, r=caillon, sr=dbaron). 2003-11-03 04:26:55 +00:00
[email protected] 97da715c02 Work around bustage. Temporary fix. b=223041 2003-11-02 02:31:53 +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] 07be0d6849 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:37:51 +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] 1072e64d01 Bug 216234
Calling operator delete on an nsAutoPtr isn't good.
[email protected]
[email protected]
2003-08-20 00:40:13 +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] edcd0b7f3a Init mSecurityPolicy. This somehow got lost in between the last two revisions of my patch to bug 83536.
r=timeless,sr=bzbarsky on IRC.
2003-07-27 07:00:25 +00:00
[email protected] beb763a38c 213796 - Crash In CAPS.DLL On Startup [@ nsPrincipal::GetHashValue]
[email protected]
2003-07-27 04:08:48 +00:00
[email protected] cf868a180c Bug 213847. Prompt the user for what to do if we don't know whether we can grant a capability.
[email protected]
2003-07-25 19:23:17 +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] 7ed94afd0d Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +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