Commit Graph

30 Commits

Author SHA1 Message Date
Olli Pettay
1cdbb1b884 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst 2011-10-18 13:53:36 +03:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Dan Mosedale
66872c955e Remove MailNews special casing from nsScriptSecurityManager (bug 374577), r+sr=bzbarsky 2009-02-17 20:32:57 -08:00
Chris Pearce
26fa39a337 Bug 451958. Support Access-Controls for media loads. r+sr=roc 2009-01-25 00:00:17 +13:00
Robert O'Callahan
a808325625 Backed out changeset a87563d6594e 2009-01-23 17:39:45 +13:00
Chris Pearce
0ea848a64d Bug 451958. Support Access-Controls for media loads. r+sr=roc 2009-01-23 16:13:19 +13:00
Robert O'Callahan
9dd7d27c17 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Chris Pearce
f7551f71b1 Bug 451958. Implement load policy for media elements. r+sr=roc 2009-01-05 13:50:33 +13:00
Boris Zbarsky
134515965d Bug 466518. Teach content policy utils about resource documents. r+sr=jst, a=beltzner 2008-11-26 23:10:28 -05:00
Boris Zbarsky
11efc99bc8 Bug 462519. Make NSPR logging of document construction/destruction work in opt builds again. r+sr=jonas, a=beltzner 2008-11-26 16:52:38 -05:00
Robert O'Callahan
3db1f9dd22 Backed out changeset ab6c0cda36b2 to fix test failures 2008-11-19 16:21:08 +13:00
Chris Pearce
0b3da586cb Bug 451958. Implement access checks for media elements. r+sr=roc,a=beltzner 2008-11-19 14:08:39 +13:00
John Daggett
2fe1318584 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
be1f734dd9 Bug 420609 - "XMLHttpRequest no longer able to parse XHTML documents with entity references" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr=bzbarsky a1.9=sicking a=blocking1.9+] 2008-03-05 02:29:32 -08:00
e5dea75a52 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
c7695ee4ba Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
9f84bba095 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
bryner@brianryner.com
6a57d0733c Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
jst@mozilla.jstenback.com
3434d072e9 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
cbiesinger@web.de
6f992e1539 bug 309642 make NS_CP_GetDocShellFromContext(nsISupports*) inline rather than
static to avoid compile warnings
r+sr=jst
2005-09-22 20:24:31 +00:00
bzbarsky@mit.edu
5ca0e3609e Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
bzbarsky@mit.edu
431986d80d Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.
2004-10-11 16:29:42 +00:00
bzbarsky@mit.edu
6281549a94 Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
mvl@exedo.nl
cb1b5e2f60 Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
gerv@gerv.net
cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
valeski@netscape.com
addbf6a47b sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API. 2001-05-21 22:40:10 +00:00
waterson@netscape.com
60c7fcc6ab Bug 71911. Fix MIPSpro bustage; patch courtesy John Vandenberg <zeroJ@null.net>. r=waterson, sr=shaver 2001-03-29 00:44:21 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
shaver@mozilla.org
bade33c595 first part of ContentPolicy stuff (#37983, r=brendan) 2000-05-05 05:28:49 +00:00