jst%mozilla.jstenback.com
f4f7012c0b
Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2006-04-11 03:49:44 +00:00
mrbkap%gmail.com
27527439f7
Fixing build bustage
2006-04-10 22:16:34 +00:00
mrbkap%gmail.com
7970a7888a
Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits.
2006-04-10 21:40:28 +00:00
Olli.Pettay%helsinki.fi
107fe84cd5
Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
2006-04-10 17:04:54 +00:00
kairo%kairo.at
6aea674984
bug 328317 - merge platform .jar files into en-US.jar, r=mento for the mozilla/config changes r=jag sr=Neil
2006-04-08 11:49:47 +00:00
bzbarsky%mit.edu
93f90546a4
First part of fix for bug 309721, r+sr=jst
2006-04-08 03:23:37 +00:00
bzbarsky%mit.edu
bdb84347ee
When running javascript: URIs in chrome, fall back on a null principal instead
...
of crashing. Bug 328697, r=mrbkap, sr=jst
2006-04-08 01:46:29 +00:00
bryner%brianryner.com
45f17dde36
Back out patch for bug 332640 to fix regression bug 333051. r+sr-bzbarsky
2006-04-08 01:46:06 +00:00
bryner%brianryner.com
eca8e33617
Make screen properties work even if the docshell hasn't created a content viewer yet, by getting the device context through the widget instead of the prescontext (bug 332640). r+sr=bzbarsky.
2006-04-06 17:06:21 +00:00
martijn.martijn%gmail.com
d1e3621ea3
Bug 332285 - Fixing my screw-up, r+sr=roc
2006-04-04 20:47:24 +00:00
bzbarsky%mit.edu
28abc2f746
More happy rooting. Bug 328007, r=sicking, sr=brendan
2006-04-04 02:39:12 +00:00
martijn.martijn%gmail.com
689935cd5a
Bug 332285 - nsGlobalWindow.cpp and nsCommandManager.cpp should use nsContentUtils::IsCallerChrome, r+sr=roc
2006-04-03 22:05:40 +00:00
mrbkap%gmail.com
773b70a30d
Use JS_DefineProperty instead of JS_SetProperty in more places. bug 330773, r=jst sr=brendan
2006-04-03 16:54:53 +00:00
bzbarsky%mit.edu
25ab5fffef
Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
...
sr=dveditz
2006-04-02 20:58:26 +00:00
darin%meer.net
20837f71e1
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
gerv%gerv.net
a54a4e6372
Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines.
2006-03-30 07:57:10 +00:00
gerv%gerv.net
af20ee45fb
Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines.
2006-03-30 07:57:05 +00:00
bzbarsky%mit.edu
7b0bfb8c17
Fix typo in comment.
2006-03-30 04:19:38 +00:00
vladimir%pobox.com
174e01afdc
b=331176, try to stabilize Trender numbers on linux with a well-aimed XSync, r=dbaron
2006-03-24 23:30:24 +00:00
mrbkap%gmail.com
b34a0cabd9
Followup to bug 330773 -- don't leave the timeout addref'd in the failure case. r+sr=bzbarsky
2006-03-24 21:51:51 +00:00
mrbkap%gmail.com
c9160b7855
Use the less powerful of the available principals when compiling and running code passed into setTimeout. With this fix, chrome that attempts to setTimeout("code that requires chrome privs") on a content window will find that its code is run in the window's principals. bug 330773, r=jst sr=bzbarsky
2006-03-24 18:49:18 +00:00
mrbkap%gmail.com
8288180970
Oops, these changes aren't ready to be checked in yet.
2006-03-24 18:41:07 +00:00
mrbkap%gmail.com
f44fb0ce15
Don't do a security check in AddProperty when we've resolved a frame by its numeric ID to avoid incorrect security errors being thrown. bug 317366, r+sr=jst
2006-03-24 18:37:08 +00:00
bryner%brianryner.com
7a96206e10
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
2006-03-22 18:36:36 +00:00
timeless%mozdev.org
85a63ae25d
Bug 210724 Plugins disabled in preferences but still visible from JavaScript navigator.plugins and navigator.mimeTypes arrays
...
r=jst sr=jst
2006-03-21 05:31:59 +00:00
mrbkap%gmail.com
6eab81632d
Use JS_DefineProperty instead of JS_SetProperty for the additional control over the property we're setting. bug 330773, r+sr=jst
2006-03-21 02:16:31 +00:00
mrbkap%gmail.com
d910b92107
Only warn about invalid uses of document.all once per document instead of one time per use to avoid the console service flooding the event queue with error events. bug 330623, r+sr=jst
2006-03-16 18:30:36 +00:00
bryner%brianryner.com
4cd1e2b280
Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
2006-03-15 04:59:42 +00:00
bzbarsky%mit.edu
49978dae09
Fixing typo. Bug 319434
2006-03-12 18:53:24 +00:00
Olli.Pettay%helsinki.fi
6b93b9812a
Bug 329810, middle click on a link does not work in Camino trunk builds r+sr=bz
2006-03-09 18:42:09 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-03-07 17:08:51 +00:00
kjh-5727%comcast.net
25b3c8b15a
Back out patch from bug 324072 to fix bug bug 326363 and avoid unnecessary API changes.
2006-03-04 16:37:13 +00:00
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
mrbkap%gmail.com
ffbaaa7ee4
bug 310458: [splitwindow] edit commands not available to extensions window (cut, copy, paste, select all, arrow keys navigation). Patch from bzbarsky. r=mrbkap sr=jst
2005-10-04 05:44:45 +00:00
jst%mozilla.jstenback.com
a3c4b5f866
Fixing bug 310552. Fix window.addEventListener() and other methods that forward to the inner window when called from C++ on a newly created window. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2005-10-04 01:08:18 +00:00
aaronleventhal%moonset.net
d4c7a6fc86
Bug 307741. Tp regression from checkin to bug 305032. r=mats, sr=bryner
2005-10-03 19:38:27 +00:00
mrbkap%gmail.com
1ff7d77f6f
bug 302618: Use good principals when running a js url without an owner. r=sicking sr=jst
2005-10-03 16:59:38 +00:00
jst%mozilla.jstenback.com
ce09207726
Fixing bug 300453. Make focusing of subframes still work from script even if window focusing in general is disabled. r=mrbkap@gmail.com, sr=bryner@brianryner.com
2005-09-30 23:51:04 +00:00
mrbkap%gmail.com
6a80c2c3e3
bug 308856: Make sure that we enumerate over the inner window object, since no properties are actually stored on the outer window's js object. r=brendan sr=jst
2005-09-30 01:18:43 +00:00
bzbarsky%mit.edu
746d3904e7
Make named arrays not look up names for XPCNativeWrapper. Bug 310069,
...
r=mrbkap, sr=jst
2005-09-29 22:08:09 +00:00
peterv%propagandism.org
15e14dbf57
Fix for bug 310068 (XPCNativeWrapper fails to look up named properties on HTMLCollection). r/sr=bz.
2005-09-28 13:44:31 +00:00
bzbarsky%mit.edu
d9d40b5770
Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap,
...
patch by me, r=mrbkap, sr=jst
2005-09-28 02:44:16 +00:00
timeless%mozdev.org
f4c6a7bfd8
Bug 308778 setting fantasy football sportsline.com [@ MimeTypeArrayImpl::GetMimeTypes]
...
r=jst sr=jst
2005-09-27 14:48:20 +00:00
peterv%propagandism.org
a91a09cd13
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv.
2005-09-26 14:37:29 +00:00
peterv%propagandism.org
67242b14b8
Fix for bug 296230 (javascript removeNode only affects the view, NOT the DOM). r/sr=jst.
2005-09-24 17:38:14 +00:00
jst%mozilla.jstenback.com
eeb86745c2
Fixing bug 294978. Add security checks when accessing properties on a [i]frame element. r=dveditz@cruzio.com, sr=brendan@mozilla.org
2005-09-23 19:59:06 +00:00
bzbarsky%mit.edu
594e733c16
Remove silly warning in GetDocShell impls, and use the principal (which we
...
should always have) instead of the docshell for chrome vs content
determination. Bug 51962, r+sr=jst
2005-09-22 02:10:07 +00:00
bryner%brianryner.com
0c8835f9d7
Change nsIDOMNSEditableElement to be a standalone interface that's not reflected through classinfo. Bug 303727, r+sr=jst.
2005-09-21 22:02:26 +00:00
mrbkap%gmail.com
a9d710e4fa
bug 302333: Save and restore the DOM branch callback time around the GC, since GCing can cause it to be reset. r+sr=bzbarsky
2005-09-20 20:59:16 +00:00
jst%mozilla.jstenback.com
dea52ede34
Fixing bug 304430. Make sure an event listener's scope doesn't get GC'd before the listerner. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
2005-09-19 18:57:39 +00:00
bzbarsky%mit.edu
eabb28c936
Show a useful error message if a page claims to be compressed and isn't. Bug
...
184144, patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r=darin, sr=bzbarsky
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu
19d2add95a
Keep the results of EvaluateStringWithValue properly alive while we're using
...
them, and make sure we don't GC the xbl property getter when we create the
setter. Bug 299205, r=jst, sr=brendan
2005-09-16 15:44:59 +00:00
dougt%meer.net
4435542681
This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org
2005-09-16 02:25:37 +00:00
masayuki%d-toybox.com
0bf78f187a
Bug 308173 Printing reverts to default printer every time a page is printed r+sr=jst
2005-09-15 15:16:04 +00:00
jst%mozilla.jstenback.com
9f8172abf3
Fixing bug 307040. Make window._content accurately reflect window.content when accessed from chrome too. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-14 03:22:27 +00:00
scootermorris%comcast.net
31c2f50383
Bug 294517 -- implement SVG Patterns
...
r=tor
2005-09-13 22:38:36 +00:00
gerv%gerv.net
35149ea17d
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-09-13 18:40:56 +00:00
jst%mozilla.jstenback.com
aee3973978
Fixing bug 307632. Make the DOM code wrap objects in the current inner window when requested to wrap an object in an outer window. This ensures that window.selection === selection, and window.selection.__proto__ === Selection.prototype. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-13 00:26:53 +00:00
bzbarsky%mit.edu
c96c0a25cd
Throw if window.open is called on a window that has no chrome. Bug 306804, r+sr=jst
2005-09-10 04:16:59 +00:00
peterv%propagandism.org
aa35c4fb91
Fix for bug 288004 (JS properties on DOM attributes should be preserved across GCs). r=dbaron, sr=jst.
2005-09-08 19:17:52 +00:00
bryner%brianryner.com
03adfcb744
Supply a scriptable interface for accessing the nsIEditor (and therefore the anonymous div) an HTML input or textarea. Bug 303727, r+sr=jst
2005-09-07 18:19:26 +00:00
bzbarsky%mit.edu
23e4e6f111
Make sure to hold on to our JS wrapper after wrapping it so it doesn't get
...
GC'ed out from under us. Bug 307279, r=jst, sr=brendan
2005-09-07 03:12:10 +00:00
bzbarsky%mit.edu
877de009ae
Make sure to hold on to our JS wrapper after wrapping it so it doesn't get
...
GC'ed out from under us. Bug 307279, r=jst, sr=brendan
2005-09-07 02:56:15 +00:00
tor%cs.brown.edu
36c76bbadd
Bug 301234 - implement subset of SVG filters. r=scooter
2005-09-06 22:30:40 +00:00
aaronleventhal%moonset.net
4e2b2e9ee4
Bug 305032. Fix various situation where focus is confused and commands get disabled/grayed out. r+sr=bryner
2005-09-06 22:27:41 +00:00
jst%mozilla.jstenback.com
2f032a927a
Fixing bug 230909. Add a 'Never show this dialog again' checkbox to the dialog we show when a script runs for more than 5 seconds. r=peterv@propagandism.org, sr=brendan@mozilla.org
2005-09-06 14:51:29 +00:00
bob%bclary.com
b9949fcef0
Bug 303502 - make DOM Don't call me! asserts more meaningful, r=peterv,sr=jst
2005-09-04 18:16:58 +00:00
jst%mozilla.jstenback.com
e8c667e03b
Relanding the fix for bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-01 23:02:57 +00:00
dveditz%cruzio.com
d402ca281c
bug 306056: prevent crash calling window.stop() after window.close(). Thanks to Julien Plissonneau Duqu�ne for the original patch, r=dveditz, sr=jst, a=asa
2005-09-01 21:14:47 +00:00
jst%mozilla.jstenback.com
82f4e9911c
Backing out my fix for bug 304423 since it broke the Txul tests.
2005-09-01 05:39:58 +00:00
jst%mozilla.jstenback.com
d7b16affa4
Fixing bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-01 03:56:35 +00:00
jst%mozilla.jstenback.com
b56f380d84
Followup comment change for bug 306630.
2005-09-01 00:24:09 +00:00
jst%mozilla.jstenback.com
fd7e2b6210
Fixing bug 306630. Make <frame src=javascript:...> work again. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2005-08-31 23:55:23 +00:00
pavlov%pavlov.net
2844aa2ba0
adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad
2005-08-31 22:16:51 +00:00
bryner%brianryner.com
8ecd5a1213
Fix a couple of regressions from the last checkin for bug 305167. r+sr=jst.
2005-08-31 20:10:41 +00:00
mrbkap%gmail.com
ef53519297
bug 305452: Don't run timeouts that were set after the page was put into the bfcache (e.g., from a mousemove handler). Instead, store them in the timer list and wait for the page to be pulled out of the bfcache to run them. Also fix a couple of refcounting botches so that timeouts suspended in a page put into the bfcache get cleaned up instead of leaking. r=bryner sr=jst
2005-08-31 19:47:48 +00:00
scott%scott-macgregor.org
adfb499dd1
Bug #282103 --> minor dynamic overlay improvements.
...
Add IDL documentation stating that it's ok to pass in a null observer to LoadOverlay
Make sure .Init() succeeds on our hashtables, otherwise return an out of memory error code.
r/sr=bz
2005-08-30 21:57:01 +00:00
bryner%brianryner.com
f426cc15ee
Stop storing PRIntervalTime values as PRInt64s, and make sure to convert PRIntervalTime to milliseconds before resuming a timeout. Bug 305167, r+sr=jst.
2005-08-30 20:07:58 +00:00
mrbkap%gmail.com
17f1097d7e
bug 306164: The global scope polluter is not reinstalled when document.write is used. r+sr=jst
2005-08-29 22:04:39 +00:00
neil%parkwaycc.co.uk
1226844692
Bug 306160 Fix nsIDOMXULMenuListElement::GetInputField to return a type that matches the element that the XBL is trying to return b=306160 r=mats.palmgren sr=bz
2005-08-28 22:04:43 +00:00
ben%bengoodger.com
f98e12557e
282103 - better document the dynamic overlay load method, and announce that it will change for 2.0 r=bryner a=cbeard
2005-08-26 19:08:00 +00:00
tor%cs.brown.edu
ec5069804e
Bug 282579 - Implement <svg:textPath>. As a side effect, this removes
...
the gdi+ text highlighting code. r=afri
2005-08-26 02:49:52 +00:00
jwatt%jwatt.org
59e42c6cd2
Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org
2005-08-25 21:31:09 +00:00
bryner%brianryner.com
6383a6ee5b
Move resuming of timeouts to after we've restored the docshell hierarchy, so that they're restored correctly for subframes. Bug 305156, r=cbiesinger, sr=jst.
2005-08-25 07:06:59 +00:00
aaronleventhal%moonset.net
154d3f15fa
Bug 249136. Cannot scroll in pages loaded into foreground tabs. Builds on top of previous patch by attempting to fix perf regressions that caused. r=mats, sr=bryner
2005-08-25 00:55:49 +00:00
aaronleventhal%moonset.net
197c551676
Bug 249136. Focus lost in newly loading foreground tabs. r=mats, sr=bryner
2005-08-24 00:31:24 +00:00
roc+%cs.cmu.edu
6377fe1d40
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
2005-08-23 03:57:07 +00:00
mrbkap%gmail.com
7cb9d2fece
bug 304882: Store the location object on the outer window instead of the inner window so that security checks do the Right Thing. Also change some if statements into assertions so we catch bad states. r+sr=jst
2005-08-23 01:42:49 +00:00
mrbkap%gmail.com
f6f8514c0c
bug 305236: Don't store the current document in the bfcache if we're going to reuse the current inner window for another page. In this case, the current document never was making it into session history anyway. r=bryner sr=jst
2005-08-23 00:24:57 +00:00
bzbarsky%mit.edu
0d6a610963
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
gavin%gavinsharp.com
1a8f9d6e76
Bug 302729 attachment 193230, Convert [tag][/tag] in netError.dtd strings to <tag></tag>, patch by Jeff Walden <jwalden+bmo@mit.edu>, r=cbiesinger, sr=neil, a=cbeard
2005-08-22 03:25:20 +00:00
jst%mozilla.jstenback.com
d028e7fd2c
Fixing bug 303765. Don't ever reuse a listener manager on a new inner window. r=sfraser_bugs@smfr.org, sr=brendan@mozilla.org
2005-08-19 22:56:20 +00:00
jst%mozilla.jstenback.com
edac52e953
Fixing bugs 303981 and 304459. Make sure we don't leave window.document pointing to the old document when reusing an inner window, and make sure we don't let Object.prototype leak into a new inner window. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-08-19 20:09:38 +00:00
mrbkap%gmail.com
0b8f97b416
bug 304896: Null check mNavigator when we set it, since it isn't guaranteed to be non-null. r+sr=jst
2005-08-19 17:11:30 +00:00
bzbarsky%mit.edu
2273edc3a7
Turn off some more classinfo helpers for XPCNativeWrapper. Bug 304886, r+sr=jst
2005-08-19 15:12:36 +00:00
timeless%mozdev.org
c36cb31367
Bug 304918 don't use cx to mean something other than JSContext cx in DOM
...
also fixing "handles"
r=jst sr=jst
2005-08-19 09:46:25 +00:00
mrbkap%gmail.com
af539a8b76
Backing myself out to see if it fixes the Seamonkey bustage (original checkin was for bug 304882).
2005-08-19 00:52:59 +00:00
jst%mozilla.jstenback.com
ede53a3cce
Fixing bug 304249. Make sure to push cx onto the context stack in nsJSContext::BindCompiledEventHandler() to ensure any security checks etc that happen within it see the right context. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-08-18 19:41:44 +00:00
mrbkap%gmail.com
d9703b4bfd
bug 304882: Store the location on the outer window and parent it to the outer window's global JS object so that security checks work as expected. This allows us to let the location object always have a valid docshell. r+sr=jst
2005-08-18 19:03:10 +00:00
mrbkap%gmail.com
1eb00e476b
bug 304896: Reset the docshell on the navigator object when pulling it out of the bfcache to ensure that it gets the right global object parent. r+sr=jst
2005-08-18 18:43:33 +00:00
jst%mozilla.jstenback.com
4be57eb8e0
Fix dumb typo.
2005-08-17 18:17:39 +00:00