Olli.Pettay%helsinki.fi
5d55dd4186
Bug 391568, Mutation events not fired if listeners are only in anonymous content. r+sr=bz, a=sicking
...
git-svn-id: svn://10.0.0.236/trunk@232835 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 06:48:48 +00:00
bzbarsky%mit.edu
b9d92a233a
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
git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532
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
git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
jst%mozilla.org
daccf057ae
Bug 280959: 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
...
git-svn-id: svn://10.0.0.236/trunk@231016 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:14:35 +00:00
bzbarsky%mit.edu
4738c3572d
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.
git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00
longsonr%gmail.com
f44235784c
Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas
...
git-svn-id: svn://10.0.0.236/trunk@229886 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 08:49:10 +00:00
peterv%propagandism.org
6dccfe3ea8
Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00
bzbarsky%mit.edu
28a8b72f15
Eliminate some uses of CheckSameOriginPrincipal in favor of Subsumes/Equals.
...
Bug 387204, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229586 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 04:11:11 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
Olli.Pettay%helsinki.fi
8823bd9f8d
Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@229335 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 20:39:11 +00:00
bzbarsky%mit.edu
84c972b1c7
Fixing build bustage
...
git-svn-id: svn://10.0.0.236/trunk@229267 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 19:15:26 +00:00
bzbarsky%mit.edu
4e2bfe0308
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
git-svn-id: svn://10.0.0.236/trunk@229261 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 18:45:40 +00:00
roc+%cs.cmu.edu
02c47d48da
Bug 386548. Remove nsTextTransformer. r+sr=mats
...
git-svn-id: svn://10.0.0.236/trunk@229199 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 23:37:00 +00:00
dbaron%dbaron.org
d5c792911a
Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@229032 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-30 03:06:04 +00:00
jonas%sicking.cc
51a63ab07f
Bug 379959: Add checks to loadBindingDocument. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@227915 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 21:56:07 +00:00
jst%mozilla.org
4d442048bc
Fixing bug 383424. Make the context pusher use the owner document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@227904 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 21:16:58 +00:00
roc+%cs.cmu.edu
243d7d0dd6
Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas
...
git-svn-id: svn://10.0.0.236/trunk@227628 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 03:28:04 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
peterv%propagandism.org
2aeab841e4
Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@226333 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-12 15:36:28 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0
backout Bug 363089
...
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
masayuki%d-toybox.com
345d3747bf
Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225454 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 15:34:36 +00:00
masayuki%d-toybox.com
d515ed1ef1
Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224544 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 13:43:58 +00:00
enndeakin%sympatico.ca
aaa114f392
Bug 375681, missed this file, add what-wg drag events, r=smaug,sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224431 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 05:56:13 +00:00
enndeakin%sympatico.ca
8972eb8413
Bug 376428, don't parse onpageshow/onpagehide as events on xul elements, fixes regression in update window, r=sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@224154 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 18:31:56 +00:00
enndeakin%sympatico.ca
e36a5043d2
Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@224006 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-02 17:17:36 +00:00
dbaron%dbaron.org
30f83072c5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
Olli.Pettay%helsinki.fi
c6b01eefa9
Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@222317 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 12:18:03 +00:00
peterv%propagandism.org
e0208d6f89
Fix for bug 374449 (Most callers of nsIDocument::RemoveReference leak). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@222104 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 17:39:25 +00:00
peterv%propagandism.org
cb266f8501
Fix for bug 373035 (Make content/dom code get nsDOMClassInfo without going through nsIDOMScriptObjectFactory). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@222030 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 09:19:16 +00:00
peterv%propagandism.org
ebfd67f7ed
Fix for bug 370265 (nsDOMScriptObjectHolder/NS_DropScriptObject tries to get service while shutting down). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@221226 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 13:34:14 +00:00
jonas%sicking.cc
fa54a7bcf5
Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@220967 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 00:14:01 +00:00
asqueella%gmail.com
11bad405e3
bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
jonas%sicking.cc
7b8af22092
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
...
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
Olli.Pettay%helsinki.fi
49e16cb1d6
Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@220346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:04:33 +00:00
bzbarsky%mit.edu
4e77b25e66
Fix build bustage. Bug 300691
...
git-svn-id: svn://10.0.0.236/trunk@219169 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 06:25:07 +00:00
bzbarsky%mit.edu
fc8275495f
Fix bug 300691. r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@219166 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:48:22 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
graydon%mozilla.com
3998c66e23
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
jwatt%jwatt.org
c08a026ac8
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
...
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
25c459209d
Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
vladimir%pobox.com
ece4ca3cad
backing out bug 333078, xpcom cycle collector due to perf issues
...
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
...
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
peterv%propagandism.org
104eb64087
Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@215687 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:35:05 +00:00
cvshook%sicking.cc
c43f628b5a
Fix svg:script and only flag inline scripts as executed once they contain non-empty script content. b=359598 r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@215004 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 00:02:21 +00:00
cvshook%sicking.cc
78a449be36
Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00
cvshook%sicking.cc
af80b3f1c9
Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@214616 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 19:33:10 +00:00
cvshook%sicking.cc
81fd249399
Back out changes that were part of a different patch.
...
git-svn-id: svn://10.0.0.236/trunk@214580 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 08:22:08 +00:00
cvshook%sicking.cc
f7032337d2
Make nsRange::ToString and nsContentIterator deal with ranges with endpoint containers being the document. Patch by bz. r/sr=sicking b=358660
...
git-svn-id: svn://10.0.0.236/trunk@214579 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 07:41:45 +00:00