300 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
8cecd68fb5 Send documents with null input encoding (e.g. those created with createDocument) as UTF-8 from XMLHttpRequest. Bug 431701, r+sr=sicking, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254556 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-07 16:34:22 +00:00
smontagu%smontagu.org
ebbb7491d6 Bug 435856: LTR overwrite after printing a page. r+sr=roc, a=ss
git-svn-id: svn://10.0.0.236/trunk@253197 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-22 11:59:15 +00:00
Olli.Pettay%helsinki.fi
4fc99cf5cc Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore
git-svn-id: svn://10.0.0.236/trunk@250912 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-29 07:18:57 +00:00
Olli.Pettay%helsinki.fi
d9f6ce40c4 Bug 430050, cancel frameloader initialization when docshell starts to load a page, r=sicking, sr=jst, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@250752 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-24 10:33:24 +00:00
roc+%cs.cmu.edu
211f46054a Bug 429172. Return the docshell's script global object as soon as the document's content viewer has been Closed(). r+sr=sicking,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250446 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 10:02:04 +00:00
jonas%sicking.cc
0108790da0 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250233 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 23:59:23 +00:00
bent.mozilla%gmail.com
8369be1fe9 Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@250079 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 17:29:11 +00:00
roc+%cs.cmu.edu
851a346e99 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250019 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-10 22:47:02 +00:00
jonas%sicking.cc
1cbce53417 Backing out due to test failures
git-svn-id: svn://10.0.0.236/trunk@249885 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 03:20:42 +00:00
jonas%sicking.cc
44f2be870f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@249878 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 02:06:31 +00:00
gavin%gavinsharp.com
8ca0407f1d Back out patch for bug 423355 due to unit test failures
git-svn-id: svn://10.0.0.236/trunk@249655 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-05 01:11:51 +00:00
jonas%sicking.cc
890b62fe93 Bug 423355: Fix bug in blocker unnesting code. Also make sure to never fire mutation events when it's not safe to run script, even if the event isn't catchable by content. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@249650 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-05 00:06:37 +00:00
peterv%propagandism.org
2eaf19396d Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@248764 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-28 14:09:03 +00:00
Olli.Pettay%helsinki.fi
097187d136 Bug 420415, r=jst, sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248359 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 11:44:09 +00:00
jonas%sicking.cc
546ba272ce Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
Olli.Pettay%helsinki.fi
dc79137dfc Bug 402982, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246529 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 14:47:52 +00:00
bent.mozilla%gmail.com
e21a2262ee Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@245266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 22:07:53 +00:00
bzbarsky%mit.edu
cc0346a98b When showing a document viewer, don't start layout on the documnt unless it's
already had layout started once.  Otherwise, just wait for the sink, or whoever
is responsible for it, to start layout once they're ready.  Bug 404470, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@243619 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-20 18:02:03 +00:00
roc+%cs.cmu.edu
7caf8b7991 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
dwitte%stanford.edu
d62beece33 relanding part of 407442.
git-svn-id: svn://10.0.0.236/trunk@241831 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 07:30:06 +00:00
dwitte%stanford.edu
7094b241c3 back out changes.
git-svn-id: svn://10.0.0.236/trunk@241739 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 11:07:42 +00:00
dwitte%stanford.edu
90bc683a3f reland nsTObserverArray changes only.
git-svn-id: svn://10.0.0.236/trunk@241732 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 06:03:06 +00:00
dwitte%stanford.edu
5de2d1ee12 backing out to investigate Ts increase
git-svn-id: svn://10.0.0.236/trunk@241730 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 04:12:13 +00:00
dwitte%stanford.edu
50e90b27e7 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in
nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@241726 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 01:06:36 +00:00
jonas%sicking.cc
fd6424c7ed Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@240892 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:26:10 +00:00
jst%mozilla.org
a78f7c0c33 Fixing bug 406692. Speed up nsNodeSH::PreCreate(). r+sr=peterv@propagandism.org, a=jonas@sickin.cc
git-svn-id: svn://10.0.0.236/trunk@240380 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 03:49:33 +00:00
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