Commit Graph

236 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
f22ec2a519 Fix bug 345609. r+sr+a=roc 2007-10-12 11:37:51 -07:00
bzbarsky@mit.edu
7b7b0144c8 Make sure to restore state on form-less controls correctly. Bug 398243, r+sr+a=jst 2007-10-02 19:04:59 -07:00
Olli.Pettay@helsinki.fi
0fd7a1c518 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
Olli.Pettay@helsinki.fi
8b7efda7b9 Bug 391568, Mutation events not fired if listeners are only in anonymous content. r+sr=bz, a=sicking 2007-08-21 23:48:47 -07:00
bzbarsky@mit.edu
bd826c03d9 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
bzbarsky@mit.edu
16e6040261 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
jst@mozilla.org
83c8471b91 Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
bzbarsky@mit.edu
d074804c35 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
longsonr@gmail.com
43a7c5805c Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas 2007-07-13 01:49:07 -07:00
peterv@propagandism.org
f7ff5666a6 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
bzbarsky@mit.edu
adeb9f3d40 Eliminate some uses of CheckSameOriginPrincipal in favor of Subsumes/Equals.
Bug 387204, r+sr=jst
2007-07-09 21:11:11 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
bdca2685a3 Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
bzbarsky@mit.edu
e332256c63 Fixing build bustage 2007-07-03 12:15:26 -07:00
bzbarsky@mit.edu
31793a2838 Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
roc+@cs.cmu.edu
f0d093fb48 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
dbaron@dbaron.org
7a505fc44a Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst 2007-06-29 20:06:04 -07:00
jonas@sicking.cc
66651c69a1 Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jst@mozilla.org
02e59960a3 Fixing bug 383424. Make the context pusher use the owner document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2007-06-12 14:16:58 -07:00
roc+@cs.cmu.edu
0450fa102e Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas 2007-06-06 20:28:04 -07:00
Olli.Pettay@helsinki.fi
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
peterv@propagandism.org
01725954b0 Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking. 2007-05-12 08:36:28 -07:00
Olli.Pettay@helsinki.fi
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
masayuki@d-toybox.com
ce5fb69d8c Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc 2007-05-02 08:34:35 -07:00
masayuki@d-toybox.com
ad3d268bbe Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
enndeakin@sympatico.ca
09da4ae19d Bug 375681, missed this file, add what-wg drag events, r=smaug,sr=roc 2007-04-11 22:56:13 -07:00
enndeakin@sympatico.ca
491dee3f8f Bug 376428, don't parse onpageshow/onpagehide as events on xul elements, fixes regression in update window, r=sr=sicking 2007-04-04 11:31:56 -07:00
enndeakin@sympatico.ca
7bf55f72a1 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
Olli.Pettay@helsinki.fi
bd6edd6ac3 Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
peterv%propagandism.org
8d3c347199 Fix for bug 374449 (Most callers of nsIDocument::RemoveReference leak). r/sr=jst. 2007-03-20 17:39:25 +00:00
peterv%propagandism.org
e5d3f5db52 Fix for bug 373035 (Make content/dom code get nsDOMClassInfo without going through nsIDOMScriptObjectFactory). r/sr=jst. 2007-03-19 09:19:16 +00:00
peterv%propagandism.org
3d6360dc54 Fix for bug 370265 (nsDOMScriptObjectHolder/NS_DropScriptObject tries to get service while shutting down). r/sr=jst. 2007-03-02 13:34:14 +00:00
jonas%sicking.cc
a9c9356be8 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst 2007-02-27 00:14:01 +00:00
asqueella%gmail.com
284a5ea424 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
jonas%sicking.cc
073b1fd3fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
Olli.Pettay%helsinki.fi
805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
bzbarsky%mit.edu
8852486de0 Fix build bustage. Bug 300691 2007-01-30 06:25:07 +00:00
bzbarsky%mit.edu
b38b5e7e7c Fix bug 300691. r+sr=sicking 2007-01-30 05:48:22 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
graydon%mozilla.com
4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
jwatt%jwatt.org
bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
8bfd20a05a Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst 2006-12-05 15:46:18 +00:00
vladimir%pobox.com
82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
peterv%propagandism.org
e9fd67c3b6 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz. 2006-11-22 18:35:05 +00:00
cvshook%sicking.cc
cefc7502df Fix svg:script and only flag inline scripts as executed once they contain non-empty script content. b=359598 r/sr=bz 2006-11-09 00:02:21 +00:00
cvshook%sicking.cc
f5194fd473 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst 2006-11-03 21:51:01 +00:00