Commit Graph

508 Commits

Author SHA1 Message Date
Robert O'Callahan
0d1c68fde4 Bug 451256. Fire DOMTitleChanged when a new document loads, even if it has no title. r+sr=jst 2008-08-25 20:52:48 +12:00
Olli Pettay
fc58a96414 Bug 451037, r+sr=sicking 2008-08-24 17:24:37 +03:00
Olli Pettay
3138198eff Bug 451037, r+sr=sicking 2008-08-24 17:21:28 +03:00
Robert O'Callahan
49dbf21392 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
99068c5357 Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
e86505fc6a Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Boris Zbarsky
e4a519e355 Bug 431701. Fix our inputEncoding handling to comply with the DOM spec, and fix XHR of a in-memory-only document to follow the XHR spec and send it as UTF-8. r+sr=sicking 2008-08-06 16:59:37 -04:00
Benjamin Smedberg
462c238fda Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Robert O'Callahan
9b0bd561fe Bug 344258. Create nsReferencedElement to track which element is associated with a given ID. r+sr=jst 2008-06-25 13:55:01 +12:00
Simon Montagu
5e37057a2d Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
c7f8cf4889 Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore 2008-04-29 00:18:55 -07:00
4f5f1dd10d Bug 430050, cancel frameloader initialization when docshell starts to load a page, r=sicking, sr=jst, a=dsicore 2008-04-24 03:33:22 -07:00
cc7c0eafaf 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 2008-04-18 03:02:03 -07:00
1262481e04 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 2008-04-14 16:59:21 -07:00
87036333c7 Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
8d46b01844 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 2008-04-10 15:47:01 -07:00
530901270a Backing out due to test failures 2008-04-08 20:20:39 -07:00
230a81ffc6 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 2008-04-08 19:06:27 -07:00
0be14dd387 Back out patch for bug 423355 due to unit test failures 2008-04-04 18:11:50 -07:00
dc7dae6882 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 2008-04-04 17:06:36 -07:00
bddcf39b20 Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking. 2008-03-28 07:09:00 -07:00
22299320c5 Bug 420415, r=jst, sr=sicking, a=beltzner 2008-03-21 04:44:09 -07:00
c8dfc9d204 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 2008-03-14 16:08:57 -07:00
26257a027d Bug 402982, r=jst, sr=sicking 2008-02-26 06:47:51 -08:00
38898aaf1b Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 14:07:51 -08:00
ccbe75bd97 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 2008-01-20 10:02:02 -08:00
36e749a35a 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 2008-01-09 01:38:28 -08:00
fd3e382209 backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
c325f84c55 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 2008-01-08 14:36:46 -08:00
1564bcefff relanding part of 407442. 2007-12-19 23:30:04 -08:00
ab5d10abc9 back out changes. 2007-12-19 03:07:41 -08:00
e9fe6c3fb4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
ebee84c369 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
ec4d8e5431 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 2007-12-18 17:06:34 -08:00
0258b5b872 Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz 2007-12-11 18:26:09 -08:00
2fee49c030 Fixing bug 406692. Speed up nsNodeSH::PreCreate(). r+sr=peterv@propagandism.org, a=jonas@sickin.cc 2007-12-03 19:49:33 -08:00
99eeba4e12 Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
dd264d096e Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
c286404b4d Bug 394740, Inline MayDispatchMutationEvent, r+sr=peterv, a=jst 2007-09-05 02:01:48 -07:00
a8d82214f0 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
37f1910e41 backout due to orange 2007-07-26 16:34:22 -07:00
2a87c31610 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
6009215d93 Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
6216ad7091 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 2007-05-30 13:43:41 -07:00
81cce4955b Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
ec0187a43e Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
e75d5d0554 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
422bf48e3d Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
3586c750c6 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 wyciwygchannel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst 2007-05-08 19:47:58 -07:00
242d7da793 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00