bugzilla%standard8.plus.com
936e698241
Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@237469 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 18:41:55 +00:00
Olli.Pettay%helsinki.fi
5deadb060c
Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@236978 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 10:02:34 +00:00
Olli.Pettay%helsinki.fi
e989c06c07
Bug 394740, Inline MayDispatchMutationEvent, r+sr=peterv, a=jst
...
git-svn-id: svn://10.0.0.236/trunk@233918 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 09:01:49 +00:00
jonas%sicking.cc
857bbdaa67
Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
...
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
jonas%sicking.cc
7552c132af
backout due to orange
...
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
52ff6b27a1
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
...
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +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
jonas%sicking.cc
8aac19d83c
Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@227284 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:43:42 +00:00
Olli.Pettay%helsinki.fi
8b4c3d38dd
Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@226813 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 21:45:07 +00:00
jonas%sicking.cc
4c374fb31b
Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226276 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 20:21:13 +00:00
jst%mozilla.org
cf1e209b82
Backing out Jonas' last changes due to tinderbox orange, per Jonas' request.
...
git-svn-id: svn://10.0.0.236/trunk@226222 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 00:42:33 +00:00
jonas%sicking.cc
adac3ea8d9
Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226220 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 23:33:29 +00:00
bzbarsky%mit.edu
9c1042b2f2
Store the charset we had when we were written into when document.open()
...
happens. Then restore that as the document charset when loading from a wyciwyg
channel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226169 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 02:47:59 +00:00
jonas%sicking.cc
1f3839c32b
back out last patch since leaks went through the roof
...
git-svn-id: svn://10.0.0.236/trunk@226099 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 01:03:08 +00:00
jonas%sicking.cc
a46388ac06
Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987
...
git-svn-id: svn://10.0.0.236/trunk@226093 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 23:45:26 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(0) to using this API. Bug 378780. API introduction part by me,
r+sr=jst. Mass-changes done by taras using squash, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +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
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
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
jonas%sicking.cc
c691d21bc5
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@220434 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 22:59:06 +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
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
bzbarsky%mit.edu
43d470b66b
Make the redirect check get principals the same way we get them elsewhere.
...
Clean up some code to use the new security manager method. Bug 354693,
r=dveditz, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
cvshook%sicking.cc
0b9688294e
Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 05:45:02 +00:00
bzbarsky%mit.edu
0583386559
Remove special-casing of about:blank for security purposes; give about:blank
...
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
cvshook%sicking.cc
f327b2f74b
Bug 343288: Move IsInDoc() and GetCurrentDoc() to nsINode. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@201779 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-08 00:30:19 +00:00
cvshook%sicking.cc
aba7c6ff77
Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
peterv%propagandism.org
e8ed6e24c3
Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@198868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 13:28:14 +00:00
bzbarsky%mit.edu
3e662003ef
Make the documentURI of a document and the currentURI of a docshell immutable objects.
...
Bug 336699, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@198750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 17:57:14 +00:00
cvshook%sicking.cc
cec9ea1123
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
mrbkap%gmail.com
b8f2621c76
When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@195456 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:53:27 +00:00
neil%parkwaycc.co.uk
d9aa680b29
Improve box object hashtable storage b=326931 r=jst sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@195440 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 12:42:49 +00:00
cvshook%sicking.cc
5d88584166
Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@194451 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 05:09:16 +00:00
jst%mozilla.jstenback.com
197612f082
Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@194099 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 03:49:44 +00:00
bzbarsky%mit.edu
0ddb09fba1
Add some macros to make using auto-notifiers and auto-gc-roots safer. Bug
...
333148, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193834 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 20:14:51 +00:00
cvshook%sicking.cc
e2c22d1f10
Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
...
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
bryner%brianryner.com
1de3fc0366
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.
...
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
cvshook%sicking.cc
35316b26ee
Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@192052 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 07:29:41 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60
Bug 234455, Centralize event dispatch r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
timeless%mozdev.org
af51e73d0e
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu
2c386a52a3
Give a saner principal to documents created via DOMImplementation. Bug 324601,
...
r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@190594 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 18:57:32 +00:00
bzbarsky%mit.edu
1510aacc39
Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
...
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument. Bug 324600, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
cvshook%sicking.cc
5fe171311b
Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@188174 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 20:49:56 +00:00
bzbarsky%mit.edu
31719bf3ba
Implement an nsINode interface; move some common stuff from nsIContent and
...
nsIDocument to nsINode. Bug 323311, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@187813 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:34:18 +00:00
bryner%brianryner.com
31927ba3d2
Fix restoration of scroll position and textfield contents after bfcache eviction by calling PersistLayoutHistoryState as part of RestoreFromHistory. Bug 317380, r=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@186896 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-04 06:38:46 +00:00
dbaron%dbaron.org
6efef3c0ad
Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@185636 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
95094c0b4b
Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@185396 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 21:51:53 +00:00