Commit Graph

2792 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
a070990fb1 Remove assert that fires in normal conditions... I thought we could assert
this, but we can't. Bug 266371
2006-02-15 15:55:18 +00:00
bzbarsky%mit.edu
d48098df86 Keep track of the original window opener (or rather whether one was present)
even if window.open calls target the window.  Bug 266371 and bug 212298,
r=bsmedberg, sr=jst
2006-02-15 03:22:17 +00:00
bzbarsky%mit.edu
1ee861335f Use nsContentUtils helpers for some localizing in nsGlobalWindow. Bug 326972,
r+sr=jst
2006-02-14 02:06:48 +00:00
bryner%brianryner.com
edbb77ee17 Dispatch observer service notifications when dom windows are created and destroyed. Bug 326742, r+sr=jst. 2006-02-11 05:52:33 +00:00
bzbarsky%mit.edu
fc0b0f2bea Move the "force into tab" code out of Gecko and allow embeddors to do the same
sort of thing.  Bug 323810, r=bsmedberg, sr=jst
2006-02-07 20:46:39 +00:00
kjh-5727%comcast.net
7721654f3b Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc. 2006-02-04 17:24:26 +00:00
mrbkap%gmail.com
337ce13642 Don't crash when running a timeout interval which causes its window to be stored in the bfcache. bug 315286, r=jst sr=bzbarsky 2006-02-03 19:46:22 +00:00
bsmedberg%covad.net
72b9b445a6 Bug 325644 - window.blur() throws exception in embedded scenarios where nsIEmbeddingSiteWindow2 isn't implemented, r=jst 2006-02-03 16:00:37 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
2cc395ff83 Fix bug 323634 -- controllers are not for content. Patch by
neil@parkwaycc.co.uk <neil@httl.net> and Wladimir Palant <trev@gtchat.de>,
r=bzbarsky, sr=jst
2006-02-03 01:38:36 +00:00
bzbarsky%mit.edu
263cf7dc11 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
2006-02-02 20:02:34 +00:00
bzbarsky%mit.edu
02230a060a Add nsIDOM3Attr; implement isId on Attr nodes. Bug 288513 starter, patch by
Alex Vincent <ajvincent@gmail.com>, r+sr=jst
2006-01-27 04:10:30 +00:00
darin%meer.net
3a0a21e4f5 land DOMClassInfo changes for bug 323793, r+sr=bzbarsky 2006-01-25 15:16:57 +00:00
darin%meer.net
f7517500ad fixes bug 323793 "Expose .ping attribute for <a> and <area> elements" r=jst sr=bzbarsky 2006-01-24 05:48:32 +00:00
mrbkap%gmail.com
a109608f66 bug 323833: Don't bother doing security checks when resolving standard classes. r=jst sr=brendan 2006-01-21 02:59:22 +00:00
tor%cs.brown.edu
5cd5d59918 Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris
2006-01-20 17:00:43 +00:00
dbaron%dbaron.org
c2811fc727 Prevent circular ownership leaks via XPCOM-JS cycles through treewalker's filter, the same way we do for event listeners. b=323534 r=mrbkap sr=jst 2006-01-19 02:46:18 +00:00
dbaron%dbaron.org
836cdfd70a Remove event listeners when dropping an event listener manager so that the weak references in DOMClassInfo's preserved wrapper table for event listeners are removed before the ELM's owner (the GC participant) goes away, and document why this needs to be done. Also consolidate the things that need to be done before letting go of an ELM into one method, and add some missing calls to that method. b=323807 r=mrbkap sr=jst 2006-01-19 02:43:39 +00:00
Olli.Pettay%helsinki.fi
21ca39c740 Bug 322985, Remove aScriptOnly parameter from the nsIEventListenerManager::RemoveAllListeners r+sr=jst 2006-01-12 19:11:44 +00:00
peterv%propagandism.org
95468c06a9 Fix for bug 318894 (XPath exceptions are reported as unknown). r/sr=jst. 2006-01-07 17:35:24 +00:00
mrbkap%gmail.com
93383ac1ed bug 320838: Don't return OK without clearing the pending exception. r+sr=jst 2006-01-06 22:18:46 +00:00
mrbkap%gmail.com
949e0433c4 bug 319434: Add an interface to allow C++ callers to get the popup and tooltip
nodes so that when the only JS code on the stack is content code, the C++ code
still does the right thing. r=jst sr=bzbarsky
2006-01-06 20:49:19 +00:00
dbaron%dbaron.org
ee4cdca7c2 Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin 2006-01-06 06:51:45 +00:00
darin%meer.net
8fc6b6ed30 fixing bustage 2006-01-02 03:31:39 +00:00
gavin%gavinsharp.com
c826eb751d Bug 114850: scrollbars permanently hidden when using window.scrollbars.visible = false, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky 2005-12-30 16:57:46 +00:00
cbiesinger%web.de
72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
dbaron%dbaron.org
5724b43f60 Do not call PreserveWrapper with a null pointer. b=319642 r+sr=bzbarsky 2005-12-23 18:54:26 +00:00
mrbkap%gmail.com
d52a331d97 bug 319296: Protect from bad wrappers being precreated. r=jst sr=brendan 2005-12-19 20:29:54 +00:00
bsmedberg%covad.net
e7d03cba44 Fix merge conflict between bug 241518 and 313309 2005-12-12 20:27:13 +00:00
bzbarsky%mit.edu
063002a639 Fix bug 306642 -- caller's shouldn't have to guess at how to force inner window
creation.  r+sr=jst
2005-12-11 20:38:29 +00:00
mrbkap%gmail.com
a0be7dadfb Fixing MinGW build bustage from bug 318489. 2005-12-11 03:41:33 +00:00
mrbkap%gmail.com
9ac485cb00 bug 318770: Constructors' toString should treturn [object <classname>]. r+sr=jst 2005-12-10 01:08:51 +00:00
mrbkap%gmail.com
b790ca9f96 Bustage fix from bug 318489. 2005-12-09 19:52:04 +00:00
mrbkap%gmail.com
de8bf51b19 bug 318489: It's impossible to use one of the constructors from an XPCNativeWrapped object. Add an IDL interface for these constructors and fix XPCNativeWrapper to forward Construct requests onto its wrapped native. r=jst sr=brendan 2005-12-09 19:08:45 +00:00
dbaron%dbaron.org
a6a9722776 Null-check pointers that come from AppendReachableList. b=241518 r+sr=bzbarsky 2005-12-06 05:51:18 +00:00
dbaron%dbaron.org
814ae9b01e Always clear newborn roots whether or not there is already a GC timer, since a timer created in GC may not fire before XPCOM shutdown. b=314199 r+sr=jst 2005-12-06 05:48:46 +00:00
roc+%cs.cmu.edu
5e35db1f1b Bug 315346. nsISidebar should be in dom/ since it's a platform thing that we expose as part of the Web API, it's not app-specific. r+sr=jst 2005-12-06 01:29:42 +00:00
bzbarsky%mit.edu
a361cb98b7 Nothing window.Components shouldn't be special for cross-domain access
purposes.  Bug 319079, r+sr=jst
2005-12-05 19:13:33 +00:00
brettw%gmail.com
b9193728c5 Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky 2005-12-05 18:07:33 +00:00
cbiesinger%web.de
3c23130790 Bug #315841 don't flush frames in order to ensure that plugins are instantiated.
also, don't flush when inside of ObjectURIChanged
r+sr=bz
2005-12-03 11:27:42 +00:00
dbaron%dbaron.org
f2a37733b9 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 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
7223904a81 Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1789e54d33 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
jst%mozilla.jstenback.com
1b82bbff91 Fixing leak bug 317478. This leak was due to the global scope polluter ending up on the inner window's 'real' prototype's proto chain, which would have been fine except for the fact that it was never removed from there so through it we ended up holding too much alive for too long. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu. Thanks to dbaron for tracking this down. 2005-11-23 23:32:02 +00:00
bzbarsky%mit.edu
67991e59a6 Fix classinfo for various svg elements. Bug 317027, patch by Robert Longson
<longsonr@gmail.com>, r=tor, sr=bzbarsky
2005-11-22 17:45:47 +00:00
timeless%mozdev.org
98c84e24ac Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
peterv%propagandism.org
6983632d9f Follow-up fix to fix for bug 314931, make sConstructorMap const. 2005-11-18 15:53:43 +00:00
peterv%propagandism.org
5c77ff4868 Try to fix bustage. 2005-11-18 14:45:37 +00:00