Commit Graph

2854 Commits

Author SHA1 Message Date
bryner%brianryner.com
4bc4e83098 Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky 2006-03-03 20:18:07 +00:00
mrbkap%gmail.com
d2ec11391a Clear the pending exception before dispatching any events and potentially running JS on a context that already has an exception thrown. bug 329046, r=brendan sr=jst 2006-03-02 23:09:43 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu
1c7b6bb4bb Fix build bustage -- actually return NS_OK and ll 2006-02-23 03:38:59 +00:00
bzbarsky%mit.edu
07113309f9 Remove no longer used method. Bug 327098, r+sr=jst 2006-02-23 03:24:33 +00:00
bzbarsky%mit.edu
7e74a76712 Make XULControllers wrappable from unprivileged script, but don't let such
script actually do anything with it.  Bug 326248, r=mrbkap, sr=jst
2006-02-23 03:17:11 +00:00
mrbkap%gmail.com
8e2b960b5a Remove this bogus assertion since we handle this case properly anyway. bug 326865, r+sr=jst 2006-02-23 02:11:46 +00:00
mrbkap%gmail.com
24e5522893 Don't assume that there is a __proto__.__proto__ since scripts can make it go away. bug 327695, r+sr=jst 2006-02-23 02:09:38 +00:00
mrbkap%gmail.com
9aa4a3e4be Since there are valid cases where these can be called, don't assert. Instead, warn so unexpected calls are still flagged. bug 327571, r=jst rs=brendan 2006-02-22 02:18:33 +00:00
bzbarsky%mit.edu
12e3b2450d Store the opener principal, not just the opener URI. Bug 325816, r=mrbkap, sr=jst 2006-02-20 18:52:42 +00:00
jst%mozilla.jstenback.com
6e2f405eb0 Fixing bug 318419. Make sure we don't end up firing JS timeouts/intervals way early when PRIntervalTime wraps. r=silver@warwickcompsoc.co.uk, sr=brendan@mozilla.org 2006-02-17 23:12:49 +00:00
peterv%propagandism.org
206b2a673d Fix for bug 320367 (Fix nsDOMDocumentType's nsISupports implementation). r/sr=jst. 2006-02-17 13:12:50 +00:00
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
peterv%propagandism.org
75a40ab354 Fix for bug 314931 (Use content-specific DOMCI macros for XSLT in nsLayoutModule.cpp). r/sr=jst. 2005-11-18 13:39:43 +00:00
masayuki%d-toybox.com
4fe309cbbb Bug 299106 chardet.alis_charset_detector.title in charsetTitles.properties is waste patch by Hidehiro Kozawa <kozawa@mozilla.gr.jp> r=kairo, sr=bzbarsky 2005-11-18 06:14:08 +00:00
bzbarsky%mit.edu
81bdd1fa13 Use GetWindow() in more places where we want a window instead of going through
GetScriptGlobalObject.  Bug 311830, r=bryner, sr=jst
2005-11-17 18:31:22 +00:00
bsmedberg%covad.net
884a44f58e Bug 315562 - non-MOZILLA_INTERNAL_API usage of dom/content headers, r=just 2005-11-16 20:29:29 +00:00
gerv%gerv.net
4dd8a70100 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-11-15 21:50:29 +00:00
asa%mozilla.org
7bfe00428b Follow-up checkin to bug 165653.
Drop Firebird's dependency on Gecko's DOM for the sidebar; it should provide it itself.
Patch=caillon
r=bryner
sr=jst
2005-11-15 21:50:27 +00:00
hyatt%mozilla.org
e2865dfc92 Add the sidebar to browser. Not built yet. 2005-11-15 21:50:26 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
caee95c028 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
gavin%gavinsharp.com
39b57ecdaa Bug 314427: nsIDOMPopupBlockedEvent should expose the blocked window's target name, r+sr=jst 2005-11-01 01:41:00 +00:00
peterv%propagandism.org
95ac2f6ee6 Change IID of changed interfaces (for bug 264308). 2005-10-27 14:58:38 +00:00
peterv%propagandism.org
0a629d03bb Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst. 2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu
6c4f2c04a1 Treat a "mime type" of "replace" as "text/html". Bug 313217, r+sr=jst 2005-10-27 02:39:18 +00:00
neil%parkwaycc.co.uk
6de8c6cb1f Backing out changes checked in from wrong tree 2005-10-26 12:40:05 +00:00
neil%parkwaycc.co.uk
2f0bd6d32d Bug 313753 Don't give chrome special window.alert/confirm/prompt treatment when it should be using the prompt service anyway r=mconnor sr=jst 2005-10-26 08:54:56 +00:00
mrbkap%gmail.com
db8ebc028b fixing bustage from bug 309027 2005-10-24 08:03:54 +00:00
jst%mozilla.jstenback.com
0960595bf8 bug 309027: Make sure we unsuppress the old focus controller to avoid making focus go out of whack. Patch by aaronlev and mrbkap. r/sr=mats/jst 2005-10-24 07:38:55 +00:00
jst%mozilla.jstenback.com
b2e0f3b8e4 bug 309027: Make sure we unsuppress the old focus controller to avoid making focus go out of whack. Patch by aaronlev and mrbkap. r/sr=mats/jst 2005-10-24 07:36:05 +00:00
vladimir%pobox.com
137be2496d It's GetSecurityManager, not SecurityManager now. 2005-10-21 22:41:34 +00:00
vladimir%pobox.com
ab0a7304ab b=311290, add redraw() method to windowutils for performance testing and expose windowutils to content, r=roc,sr=jst 2005-10-21 22:30:36 +00:00
bzbarsky%mit.edu
89dc1dd01c Make GetPrincipal() faster when called on a window. Bug 313155, r=mrbkap, sr=jst 2005-10-20 23:32:54 +00:00
joshmoz%gmail.com
974cc5a0fe Fix Intel Mac UA string, navigator.oscpu, navigator.platform values. The values in this patch match up with what Apple is using in their latest Intel build. b=297607 r=dbaron sr=darin 2005-10-18 19:32:01 +00:00
mrbkap%gmail.com
42e86bc919 Fix a silly spelling mistake. 2005-10-18 17:17:12 +00:00
jst%mozilla.jstenback.com
b9f159aee3 Fixing bug 310825. Prevent window.focus() when called from a background tab from moving focus to the background tab. r=mrbkap@gmail.com, sr=dveditz@cruzio.com 2005-10-17 21:37:49 +00:00
mrbkap%gmail.com
886aa6028e bug 307983: Look for a good JSContext when doing GetDynamicContext so that things like evalInSandbox can use e.g. location.replace. r=jst sr=brendan 2005-10-17 18:47:13 +00:00
bzbarsky%mit.edu
46dc7e29ca Implement :-moz-empty-except-children-with-localname() pseudo-class. Bug
309067, r+sr=dbaron
2005-10-16 15:57:13 +00:00
bzbarsky%mit.edu
31efb53dbe Make sure to not double-close windows -- that confuses our shutdown code. Bug
311479 partial fix, r=mrbkap, sr=jst
2005-10-14 21:56:21 +00:00
peterv%propagandism.org
61d64ef5ff Fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-10-14 12:23:59 +00:00
bzbarsky%mit.edu
d86be43444 Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan 2005-10-12 20:16:35 +00:00
mrbkap%gmail.com
4a6dc50c3e bug 310927: Use JSPROP_SHARED to prevent phantom nodelist elements from reappearing instead of trying to void out non-existant properties (and thus voiding out non-numeric properties as well). r=jst sr=brendan 2005-10-12 19:07:42 +00:00
pedemont%us.ibm.com
7326ee136a Bug 309337 - Make sure reserving 512k in stack space doesn't cause unsigned stacklimit var to wrap. r=brendan, sr=jst 2005-10-11 16:50:27 +00:00
Olli.Pettay%helsinki.fi
cde8aaf024 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
neil%parkwaycc.co.uk
27a5e72b92 Bug 240627 Add warnings for some reserved key shortcuts r=bryner sr=bz 2005-10-08 10:20:02 +00:00
mrbkap%gmail.com
ac604da132 bug 311024: Make sure eval grabs the right scope object. r=brendan sr=jst 2005-10-08 00:28:45 +00:00
mrbkap%gmail.com
5d24c3db6d bug 311151: Attempt to restore some lost Tp from bug 311090 by adding a fast path that avoids xpconnect. r+sr=bzbarsky 2005-10-06 19:58:26 +00:00
mrbkap%gmail.com
6c1f8aef33 bug 311090: Don't make bad assumptions about our implementation. assumed-r=jst sr=brendan 2005-10-04 20:38:58 +00:00
mrbkap%gmail.com
679fb560e0 bug 310351: Allow resolution of numeric properties on array objects so that native JS array functions can properly operate on them. r=jst sr=brendan 2005-10-04 05:50:42 +00:00