685 Commits

Author SHA1 Message Date
timeless%mozdev.org
2f075cea07 Bug 352219 potential crash [@ nsDocument::AdoptNode] dereferencing oldDocument
r=peterv sr=peterv


git-svn-id: svn://10.0.0.236/trunk@213693 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-16 07:56:32 +00:00
ted.mielczarek%gmail.com
51fffcb118 bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@213642 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:14:24 +00:00
cvshook%sicking.cc
411a4ba687 Bug 355451: Be more efficient when creating HTML elements. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213625 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 22:54:12 +00:00
bzbarsky%mit.edu
21ddc1fed4 Disconnect the ELM on reset (e.g. on document.write). Bug 354071, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@212342 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 22:50:01 +00:00
peterv%propagandism.org
4095896649 Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@211854 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-16 17:15:38 +00:00
bzbarsky%mit.edu
55ee11a1ba Implement GetElementsByAttributeNS. Bug 239976, patch by Joerg Bornemann
<jobor@gmx.de>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@210116 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-14 04:29:02 +00:00
bzbarsky%mit.edu
430cb67081 Don't notify on nodes we're in the middle of creating. Bug 351732, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@209539 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-09 04:45:49 +00:00
peterv%propagandism.org
b099864adc Fix for bug 347524 (Refactor adoptNode, importNode and cloneNode to share implementation). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@209163 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-05 10:22:54 +00:00
Olli.Pettay%helsinki.fi
b96d4be2a4 Bug 349069, Move more things from ~nsINode to nsNodeUtils::LastRelease, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@209063 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 13:21:05 +00:00
Olli.Pettay%helsinki.fi
a65685f201 Bug 350846, Combine NS_***_LOAD events, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@208936 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 19:33:01 +00:00
bzbarsky%mit.edu
a07cb5caa8 Just make all document mutation observers get notified through the binding
manager, to resolve issues with them depending on insertion points.  Bug 348573
follow, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@208874 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 03:17:45 +00:00
bzbarsky%mit.edu
2be64ca9b5 Back out part of the patch for bug 329509 that accidentally landed with bug
348062.  Fixes build bustage.


git-svn-id: svn://10.0.0.236/trunk@208430 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 18:20:00 +00:00
jst%mozilla.jstenback.com
d0d506f934 Fixing bug 348062. Making nsContentList hold strong references to the nodes in the list. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@208420 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 17:45:25 +00:00
Olli.Pettay%helsinki.fi
38fcfdc792 back out 349069 to see if it caused xserve02 orange
git-svn-id: svn://10.0.0.236/trunk@208397 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 10:00:11 +00:00
Olli.Pettay%helsinki.fi
fae460b8a9 Bug 349069, Move more things from ~nsINode to nsNodeUtils::LastRelease, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@208181 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-23 10:00:11 +00:00
Olli.Pettay%helsinki.fi
9639b01bdf Bug 286619, registered event listeners are lost (not firing) after moving XUL elements using DOM appendChild/removeChild methods, r=sicking, sr=bz
git-svn-id: svn://10.0.0.236/trunk@207572 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 08:44:45 +00:00
bzbarsky%mit.edu
dad790ea9c Make it possible for document observers who need to worry about XBL to observe
the binding manager and make presshell do that.  Bug 348573, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@207498 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 22:41:58 +00:00
peterv%propagandism.org
cbfe183cd9 Try to fix VC 6 bustage.
git-svn-id: svn://10.0.0.236/trunk@206069 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 21:15:55 +00:00
peterv%propagandism.org
9f941437ae Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@206062 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 16:02:11 +00:00
bzbarsky%mit.edu
fdd014f014 Fix some getElementsByTagNameNS issues, both regressions and long-standing
bugs.  Bug 343307, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@203223 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 03:25:39 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
mats.palmgren%bredband.net
eb497125b4 Null-check mRootContent before using it. b=303260 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203075 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 03:53:12 +00:00
bzbarsky%mit.edu
0d9cbd7ca3 Go back to creating an inconsistent DOM and add a null-check elsewhere, because
the little mind of the focus code is blown by having no documentElement,
apparently.  Bug 341730, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@202270 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:18:19 +00:00
Olli.Pettay%helsinki.fi
3b18c65c0f Bug 341245, Remove some unused box object related interfaces, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@202002 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 09:02:05 +00:00
Olli.Pettay%helsinki.fi
eb46e4eecd Bug 335251, prevent load events to propagate to window, r=bz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@201955 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 17:59:16 +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
cvshook%sicking.cc
7d6081387f Bug 342252: Turn nsDocumentObserverList into a more generic class. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201114 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 17:36:56 +00:00
longsonr%gmail.com
7ef344f935 Bug 342961 - Get a CSS error on displaying any SVG. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201101 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 16:21:58 +00:00
darin%meer.net
100e8ff5c0 attempting to fix vc6 windows bustage, r=pkasting
git-svn-id: svn://10.0.0.236/trunk@200989 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 01:39:14 +00:00
brettw%gmail.com
63805b0c56 Bug 337631 (for pkasting@google.com) r=bryner sr=bz Support document.activeElement and document.hasFocus
git-svn-id: svn://10.0.0.236/trunk@200968 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:39:09 +00:00
bzbarsky%mit.edu
4ba416ef68 Use iterators that deal with observers being removed to iterate the observers array when notifying Bug 340733, r+sr+branch181=sicking
git-svn-id: svn://10.0.0.236/trunk@200391 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 01:03:06 +00:00
peterv%propagandism.org
40c612fc40 Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@200030 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 20:30:44 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
jwalden%mit.edu
ecd50f8863 Bug 159167 - Implement DOM3 isEqualNode(). Patch by Alex Vincent <ajvincent@gmail.com>, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@199735 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 18:54:48 +00:00
bzbarsky%mit.edu
48b452f745 Make sure to null out mRootContent in Destroy when we unbind it. Bug 326645, r+sr+branch181=sicking
git-svn-id: svn://10.0.0.236/trunk@199492 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:41:33 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +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
e96a4f70c3 Bug 337543: Use nsINode more. r/sr+peterv
git-svn-id: svn://10.0.0.236/trunk@197985 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:01:22 +00:00
benjamin%smedbergs.us
d82bf5838f Bug 331117 - Layout module shold not shut down until all documents/windows have been released, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@197983 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 09:31:57 +00:00
cvshook%sicking.cc
1ac65a91fa Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196673 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 14:51:52 +00:00
cvshook%sicking.cc
f5ef7fbf53 Fix windows bustage this time
git-svn-id: svn://10.0.0.236/trunk@196508 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 09:18:35 +00:00
cvshook%sicking.cc
98f1d1c517 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz
git-svn-id: svn://10.0.0.236/trunk@196502 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 07:03:15 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
1a5bcd5020 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@196118 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:09:20 +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
bzbarsky%mit.edu
835dfa8642 Make documents be consistent with docshell wrt what the actual document URI
is.  Bug 335457, r=dveditz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@195963 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 15:21:50 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +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
94cdf050c2 bustage fix b=326931
git-svn-id: svn://10.0.0.236/trunk@195441 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 13:05:24 +00:00