Commit Graph

379 Commits

Author SHA1 Message Date
Boris Zbarsky
e5f6293681 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Boris Zbarsky
62f2010d94 Bug 485808. Create an iterator class to do forward iteration over the result of GetChildArray(). r+sr=sicking 2009-04-09 21:36:41 -04:00
Boris Zbarsky
8ce6a46269 Backing out changeset 37661caab4ce due to the Tp regression 2009-04-02 22:55:26 -04:00
bjarne@runitsoft.com
e8b29e9cb0 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-04-02 17:39:58 -04:00
Boris Zbarsky
d115591997 Backing out changeset c428086801d0 (bug 457809 and bug 457810) on suspicion of causing the Tp3 regression 2009-03-30 20:21:32 -04:00
bjarne@runitsoft.com
8b3f7126dc Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bzbarsky 2009-03-30 11:31:16 -04:00
Olli Pettay
e511e04fa7 Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Boris Zbarsky
1c1a3affbf Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
2129bba0b3 Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz 2009-03-24 12:52:00 -04:00
Boris Zbarsky
1d325109b3 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Boris Zbarsky
dceb36b6b7 Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
d8b2b9193c Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Boris Zbarsky
ca51308331 Bug 483341. End updates before removing script blockers. r=smaug, sr=sicking 2009-03-16 07:46:32 -04:00
Jonathan Kew
030030dc69 b=482439 don't risk dereferencing a possibly-null pointer in nsDocument::ElementFromPointHelper r=smaug 2009-03-11 15:23:10 +13:00
Daniel Holbert
eae0d7096d Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc 2009-03-09 18:20:17 -07:00
Boris Zbarsky
bf8fc66ad9 Bug 481777. Don't fire DOMTitleChanged events to content. r+sr=smaug 2009-03-06 13:12:23 -05:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
486b27fd0a Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Asaf Romano
a06a82c972 comments and a hard-tab fix 2009-02-26 16:01:11 -08:00
Asaf Romano
fe4d91cd12 Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz. 2009-02-26 14:05:42 -08:00
Olli Pettay
1380d66c68 Bug 479490 - 'ASSERTION: Mismatched calls to ResumeTimeouts'. r=bent, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:32 -08:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Dave Camp
720aaca207 Bug 462856 - offline app notification code doesn't handle subframes. r=mconnor, r=bz 2009-02-22 11:09:10 -08:00
Olli Pettay
b9593d2535 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02:00
Jonas Sicking
8d2deed13d Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
6a95c287a3 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking
783650f7b1 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Jonas Sicking
cd13cb89e5 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Brian Birtles
adf1d4fa7c Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Ben Turner
9853f8d27d Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Boris Zbarsky
788d6a77a8 Bug 473162. Make getElementsByClassName case-insensitive in quirks mode, per spec. r+sr=jst 2009-01-13 14:32:30 -05:00
Peter Van der Beken
78fa6325a2 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Boris Zbarsky
ee6c3e172a Bug 449778. Don't fire pageshow in the new place on viewer swap if it's about to fire anyway. Do fire it in the old spot in that case, though. r+sr=jst 2008-12-28 10:34:00 -08:00
Robert O'Callahan
3a0de0fcd6 Bug 455314. RemoveIDTargetObserver doesn't need to do the full GetElementByIdInternal because we don't need or want to set up an mIdentifierMap entry if no entry is found for the ID. r+sr=jst 2008-12-12 21:20:30 +13:00
Olli Pettay
4cf99f9474 Bug 467123 - Document.cloneNode() failed in a JS component, r+sr=bz 2008-12-05 12:48:27 +02:00
Boris Zbarsky
882c93dc0b Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
Olli Pettay
09d00c4cbf Bug 467383 - Reduce QIs and AddRef/Releases caused by nsContentUtils::HasMutationListeners, r+sr=sicking 2008-12-03 11:22:39 +02:00
Boris Zbarsky
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Boris Zbarsky
670661df89 Drop extra semicolons. Fix build bustage in CLOSED TREE 2008-11-24 13:41:07 -05:00
Boris Zbarsky
92c0e38ba1 Bug 457153. Introduce an nsILoadContext interface so that consumers can get load context information from a channel/loadgroup without having to depend on getInterface of docshell stuff. r=dwitte for cookie part, r=jst for rest, sr=jst, a=beltzner for CLOSED TREE 2008-11-24 13:32:04 -05:00
Boris Zbarsky
127c0998fe Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp 2008-11-18 17:54:36 -05:00
Peter Van der Beken
c39cb1e482 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Patrick McManus
92f594cb63 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
Peter Van der Beken
c39e172979 Backed out changeset 874aba8a9a8a to fix orange 2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-06 12:09:30 +01:00
Justin Dolske
b851587e76 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:55:38 -08:00
Justin Dolske
4c397f756a Backed out changeset e8fd3f4c52b6 2008-11-05 12:54:51 -08:00
Gavin Sharp
326a75031f Bug 461803: add elementFromPoint method on nsIDOMWindowUtils which optionally ignores root scroll frame and lets callers avoid flushing layout, r+sr=bzbarsky 2008-11-04 22:58:22 -05:00
Peter Van der Beken
3bb228a9e8 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:50 +01:00
Peter Van der Beken
5a6c152342 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:08 +01:00
Peter Van der Beken
24a73db424 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-04 18:10:43 +01:00
Patrick McManus
346822dba8 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 11:14:29 -05:00
Boris Zbarsky
f3130e5161 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -05:00
Patrick McManus
7f731cfb6e Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00
Peter Van der Beken
2b8cf3c2d4 Backed out changeset ba895ab8cbe7 to fix orange 2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-03 14:49:53 +01:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Peter Van der Beken
f3f2a880fb Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
Arpad Borsos
3585c944f1 Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan] 2008-10-21 01:50:05 -05:00
Boris Zbarsky
04e1cee63b Relanding bug 459424 (backing out backout changeset 530f1077cae4). Don't pass null documents to the enumerator. r+sr=roc. 2008-10-14 10:24:55 -04:00
Ben Turner
528a45ba6e Backed out changeset b5b7b5523c66 to see if it fixes unit tests. 2008-10-13 19:54:46 -07:00
Boris Zbarsky
0293ef22e1 Bug 459424. Don't pass null documents to the enumerator. r+sr=roc 2008-10-13 16:32:10 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
2c733370d0 Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst 2008-10-09 16:23:07 -07:00
Olli Pettay
256070b717 Bug 458202 - Speed up event handling, r+sr=jst 2008-10-08 14:35:29 +03:00
Boris Zbarsky
f819f89b7d Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
L. David Baron
ba09bf22bc Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00
Robert O'Callahan
016f579354 Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
f15bf80fc3 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Olli Pettay
e3fb190fe1 Bug 433533 - Attributes stored using enum value don't keep the 'caseness', r+sr=sicking 2008-09-26 13:39:18 +03:00
Taras Glek
390adbe464 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Olli Pettay
2590ca1022 Backout Bug 455853 2008-09-24 14:52:35 +03:00
Olli Pettay
6184f52ec8 Bug 455853 - Javascript: User defined properties disappear after 3 to 10 seconds from nodes that are added to a DOM document that is created using document.implementation.createDocument(), r+sr=peterv 2008-09-24 12:47:35 +03:00
Arpad Borsos
cce478d087 Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
sharparrow1@yahoo.com
d5a8112b79 Bug 42976, cloneNode() HTML Document nodes, r=smaug,sr=jst 2008-09-18 14:15:47 +03:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
e3295081e1 Bug 453858. Get rid of some XPCOM-ness in nsArraySH::GetItemAt. r+sr=jst 2008-09-10 23:15:29 -04:00
Peter Van der Beken
79f9a72d30 Fix for bug 443415 (Name more CC edges). r/sr=jst. 2008-09-08 20:26:46 +02:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Robert O'Callahan
56a8fae008 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
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Olli Pettay
20c5c91fe4 Bug 448548, r+sr=sicking 2008-08-24 18:00:49 +03:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
db4eca26fd Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Robert O'Callahan
1499813be0 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
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 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
1dafcd35c7 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
Jonas Sicking
cfd4e7f824 Bug 28293: Implement defer attribute. r/sr=jst 2008-07-25 19:42:12 -07:00
L. David Baron
c55940dee1 When propagating flushes up to the parent document, promote style flushes into layout flushes, since media queries mean that to get the correct style we need our container to be the correct size. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
Boris Zbarsky
4c507815b8 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Johnny Stenback
bd639e9ac3 Landing fix for bug 132824. Implement NodeIterator object of Traversal API. Patch by craig.topper@gmail.com, r+sr=jonas@sicking.cc 2008-07-21 17:35:38 -07:00
Olli Pettay
ed5c851afb Bug 445330, document.loaded XML documents fire onload before DOMContentLoaded, r+sr=bz 2008-07-19 18:20:22 +03:00
Olli Pettay
668332d867 Bug 435656, Make nsCxPusher::Push to handle all kinds of nsPIDOMEventTargets, r+sr=jst 2008-07-19 18:11:37 +03:00
Boris Zbarsky
5c5b4e41fc Add a faster method for iterating the nsIContent children of an
nsINode if we know that there will be no DOM mutations of any sort
during the iteration.  Bug 429744, r+sr=jst
2008-07-11 16:42:19 -04:00
Blake Kaplan
bcbdbaaa58 Attempt to give more documents scope objects. bug 440275, r+sr=jst 2008-07-02 18:24:46 +02:00
Robert O'Callahan
78ea2ef42a 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
Robert O'Callahan
c4187f5254 Bug 344258. Make XUL use the shared ID-element map. r+sr=jst 2008-06-23 13:48:05 +12:00
Robert O'Callahan
c29eac2bf6 Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst 2008-06-23 11:12:40 +12:00
Robert O'Callahan
cafdc05f67 Bug 438519. Make DocumentType.internalSbuset return null when there was no internal subset in the doctype at all. r+sr=sicking. Acid3 progress. 2008-06-14 20:24:13 +12:00
bzbarsky@mit.edu
2b722b74e1 Fix bug 431833: fire DOMFrameContentLoaded on the immediate parent document of the frame. r=bent, sr=sicking, a=beltzner 2008-05-04 20:53:42 -07:00
Olli.Pettay@helsinki.fi
8c5cd9f684 Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore 2008-04-29 00:18:55 -07:00
gavin@gavinsharp.com
be5e00231f Back out patch for bug 428672 2008-04-28 04:15:14 -07:00
gavin@gavinsharp.com
ffbdf6bd82 Bug 428672, patch by mrbkap@gmail.com, r+sr=jst, a=beltzner 2008-04-28 03:12:42 -07:00
Olli.Pettay@helsinki.fi
2df44b5dfe 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
jonas@sicking.cc
ea7b3dfeb2 Bug 423269: Don't add scriptblockers around StartUpdate/EndUpdate batches as script is likely to execute at the last EndUpdate. Also for now, restore full functionality to scripts running while there are scriptblockers. r/sr=bz a=beltzner 2008-04-18 10:20:11 -07:00
roc+@cs.cmu.edu
ab9c3d7c92 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
Olli.Pettay@helsinki.fi
bb465783ef Bug 425814, delay xul frame loading, r=sicking,sr=bz,a=beltzner 2008-04-18 01:58:06 -07:00
jst@mozilla.org
54ae1d2978 Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner 2008-04-17 15:30:51 -07:00
jonas@sicking.cc
e639cf9471 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
jonas@sicking.cc
c052f989a1 Bug 423355: Never fire mutation events on native-anon content. Also includes fix for nsIContent::IsInNativeAnonymousSubtree. Patch by Smaug. r/sr=sicking a=beltzner 2008-04-11 15:44:48 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a 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
roc+@cs.cmu.edu
f5291de857 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
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f 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
gavin@gavinsharp.com
2ff7b4b7c9 Back out 2nd patch for bug 423355 due to unit test failures 2008-04-04 18:15:32 -07:00
gavin@gavinsharp.com
aaac62d073 Back out patch for bug 423355 due to unit test failures 2008-04-04 18:11:50 -07:00
jonas@sicking.cc
75846b09ae Bug 423355: Don't dispatch mutation events for native anon content. Patch by smaug. r/sr=sicking 2008-04-04 17:14:31 -07:00
jonas@sicking.cc
7b0e38bbed 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
peterv@propagandism.org
14a390a55a 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
Olli.Pettay@helsinki.fi
eccdba117b Bug 420415, r=jst, sr=sicking, a=beltzner 2008-03-21 04:44:09 -07:00
bzbarsky@mit.edu
51ab1a004d Fix warning. No reviews other than my attempt to get useful info from our compile-time output, which this hindered. 2008-03-19 20:39:46 -07:00
dbaron@dbaron.org
537f2f5b13 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
jonas@sicking.cc
da4cab3b75 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
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
bent.mozilla@gmail.com
c8de939d3c Bug 414977 - "insufficient unlink methods in some DOM classes?". Allow the cycle collector to unlink XPCWrappedNatives in one cycle instead of two. r=peterv, sr=jst, a1.9b4+=schrep. 2008-02-28 18:09:10 -08:00
Olli.Pettay@helsinki.fi
a31dfd8bf6 Bug 402982, r=jst, sr=sicking 2008-02-26 06:47:51 -08:00
Olli.Pettay@helsinki.fi
67622f2077 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
Olli.Pettay@helsinki.fi
bdd3e9637b Bug 409111, WRONG_DOCUMENT_ERR on unattached nodes through getBoxObjectFor, r+sr=sicking, a=mtschrep 2008-02-14 12:45:07 -08:00
bzbarsky@mit.edu
27e6079ec1 Make sure to not call ContentRemoved outside of an update. Bug 415388, r+sr=jst, a=schrep 2008-02-13 13:44:28 -08:00
jwalden@mit.edu
5ccb25d679 Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep 2008-02-11 20:14:57 -08:00
bent.mozilla@gmail.com
fa6fc18376 Bug 386769 - "Make setting innerHTML faster." r=jst, sr=peterv, a=blocking1.9. 2008-02-08 13:44:04 -08:00
dwitte@stanford.edu
d9595c6e9e Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
benjamin@smedbergs.us
e8c45488e3 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
bzbarsky@mit.edu
3e5918cd2d 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
peterv@propagandism.org
bb5c634c86 Part of fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r/sr=sicking. 2008-01-20 08:56:39 -08:00
neil@parkwaycc.co.uk
dafb9ad144 Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
jst@mozilla.org
ffa1fe233e Fixing bug 408792. Remove some expensive QI calls from frequently called code. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2007-12-21 05:44:58 -08:00
dwitte@stanford.edu
e1f9209274 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
2b31364ac3 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
63050186f2 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
8b3567b59d backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
3b75d76adb 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
Olli.Pettay@helsinki.fi
489154b8b5 Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
bzbarsky@mit.edu
2b738b2454 Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst 2007-12-14 21:43:10 -08:00
jonas@sicking.cc
5378dfb532 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
Olli.Pettay@helsinki.fi
12aa4ddec4 Bug 403168, r=jonas, sr=jst, a=blocking1.9 2007-12-12 00:33:32 -08:00
jonas@sicking.cc
948c2ea354 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
jst@mozilla.org
b23a26124d Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc 2007-12-10 17:19:18 -08:00
peterv@propagandism.org
bee851e99f Fix for bug 406684 (Memory leaks when content policies set properties of wrapped nodes). r/sr=sicking. 2007-12-04 16:29:13 -08:00
bzbarsky@mit.edu
e055db8c48 Update the binding manager before doing any other notifications, and don't notify the document for nodes not in the document. Bug 398492, r+sr=sicking. 2007-12-04 10:37:54 -08:00
jonas@sicking.cc
712951ab6c Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-30 09:57:03 -08:00
jonas@sicking.cc
2dce87330b Backing out due to mochitest failure 2007-11-29 01:34:51 -08:00
jonas@sicking.cc
7372d2b0a2 Revert to earlier version of patch to try to fix orange 2007-11-29 01:25:22 -08:00
jonas@sicking.cc
ec001d80c0 Fix build bustage 2007-11-29 00:57:07 -08:00
jonas@sicking.cc
a6bf2b9522 Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-11-29 00:41:25 -08:00
Olli.Pettay@helsinki.fi
a673f79b2c Bug 403167, r+sr=jst, a=1.9+ 2007-11-16 01:51:09 -08:00
Olli.Pettay@helsinki.fi
81061b1ed0 Bug 402680, document.activeElement returns wrong node, r+sr=bz, a=mtschrep 2007-11-12 04:45:39 -08:00
dveditz@cruzio.com
ba4c8227d0 bug 402150 prevent crash @nsDocument::RetrieveRelevantHeaders, r=wtc, r/sr=jst, a=beltzner 2007-11-09 14:54:35 -08:00
jruderman@hmc.edu
028e550046 Fix bug 398880, getElementsByClassName('') leaks an nsVoidArray. r=sayrer, sr=jst, a=blocking1.9+. 2007-11-06 22:46:35 -08:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
bzbarsky@mit.edu
01461fbe76 Make really sure that pending binding constructor events block onload. Bug 394676, r+sr+a=sicking 2007-10-03 16:38:32 -07:00
jonas@sicking.cc
bbf61f58f0 Backing out bug 348156 since it caused Tp perf regressions 2007-10-02 14:12:30 -07:00
jonas@sicking.cc
f0a388873a Bug 348156: Fix leaks by relying on cycle collector rather than calling UnbindFromTree on all nodes. r/sr=jst 2007-10-02 11:20:02 -07:00
Olli.Pettay@helsinki.fi
85880d8ce4 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
dbaron@dbaron.org
f670c849e4 Back out sicking's patch from bug 348156 (remove unbinds from nsDocument::Destroy) due to crashing during talos test (probably tp test). 2007-09-28 21:14:42 -07:00
jonas@sicking.cc
acfcebebbc Bug 348156: Remove unbinds from nsDocument::Destroy as they cause badness. Break cycles using cycle collector instead. r/sr/a=jst 2007-09-28 16:57:00 -07:00
bzbarsky@mit.edu
e2de7caebc Don't assume that redirect URIs are ASCII (though they should be). Bug 317254, r+sr+a=jst 2007-09-28 07:35:11 -07:00
peterv@propagandism.org
dd13ae2f88 Fix for bug 393357 (nsDocument::mRadioGroups leaks its members). Patch by sharparrow1@yahoo.com, r/sr=bz, a=sicking. 2007-09-27 11:17:32 -07:00
bzbarsky@mit.edu
ee2d3464be Fire DOMContentLoaded async from EndLoad. Bug 344305, r=sicking, sr=jst, a=sicking 2007-09-21 10:30:37 -07:00
bzbarsky@mit.edu
7ed598436e Add comment that sicking asked for and I forgot 2007-09-20 20:54:11 -07:00
bzbarsky@mit.edu
f91b2b313b Fix bug 392318. r+sr+a=sicking. 2007-09-20 19:41:08 -07:00
bzbarsky@mit.edu
df30233ab2 Make getElementsByClassName handle the root element properly. Bug 395915, r+sr=peterv, a=sicking. 2007-09-20 15:10:27 -07:00
Olli.Pettay@helsinki.fi
23b0473f54 Bug 394740, Inline MayDispatchMutationEvent, r+sr=peterv, a=jst 2007-09-05 02:01:48 -07:00
jwalden@mit.edu
d610945e9f Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst 2007-08-29 13:38:44 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
jonas@sicking.cc
24c4c1d539 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
jonas@sicking.cc
13974dde1b backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
bzbarsky@mit.edu
a6139746d4 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.
2007-07-18 14:56:57 -07:00