Commit Graph

2827 Commits

Author SHA1 Message Date
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