caillon%returnzero.com
0249abad0f
232327 - Use valid JS in our javascript: URL wrapping around window._content
...
r=shaver sr=brendan
2004-01-27 19:51:31 +00:00
jst%mozilla.jstenback.com
29037989f5
Fixing bug 202636. Patch by psolanki@myrealbox.com. Adding document.referrer to all document types. r+sr=jst@mozilla.jstenback.com
2004-01-27 05:11:44 +00:00
jst%mozilla.jstenback.com
a0c4716830
Fixing bug 147058. Changing the scope chain of non-XUL DOM nodes to match what IE and Nav<6.0. r=caillon@aillon.org, sr=peterv@propagandism.org
2004-01-26 23:41:34 +00:00
caillon%returnzero.com
38a0107fab
Use the correct free methods. r+sr=peterv via irc.
2004-01-25 14:53:21 +00:00
jst%mozilla.jstenback.com
d62aed44c4
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
peterv%propagandism.org
f3d91830fd
Fix for bug 231870 (instanceof Event (well, any dom object) is broken - throws instead of returning false). r/sr=jst.
2004-01-23 17:07:57 +00:00
dbaron%dbaron.org
989a0a4d36
Make WEBSHELL printfs use clearer notation and add DOMWINDOW printfs, which will actually show some leaks. b=231384 r=bryner sr=brendan
2004-01-21 21:13:39 +00:00
bryner%brianryner.com
a135ce4d60
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
4ab234b8be
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
bsmedberg%covad.net
1f4ab81acd
Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
f0bfff2628
Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
2004-01-07 01:22:31 +00:00
bzbarsky%mit.edu
a98357b26a
Make HTMLButtonElement.type writable. Bug 228174, r+sr=jst
2004-01-06 17:22:08 +00:00
caillon%returnzero.com
d76a4d1dd0
Bug 226375
...
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers. Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
caillon%returnzero.com
953d568daa
Bug 229437Report script errors to the console service ourselves when our script global object has no owner to report them to.Patch by Karsten D�sterloh <mnyromyr@tprac.de>r=caillon, sr=jst
2004-01-04 00:29:27 +00:00
danm-moz%comcast.net
61cf9dd147
DOMPopupBlockedEvent.popupWindowURI is now a resolved, absolute URI. bug 212460 r=bz,jst
2004-01-02 17:43:53 +00:00
peter%propagandism.org
79b0f21971
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 15:41:10 +00:00
jst%mozilla.jstenback.com
ac9e9761a9
Fixing bug 226462. Eliminating the aReverseReturnResult argument from nsIScriptContext::CallEventHandler(). r=caillon@aillon.org, sr=brendan@mozilla.org.
2003-12-21 18:01:19 +00:00
neil%parkwaycc.co.uk
4842365f8d
Bug 225207 Focused element is scrolled into view when switching tab r=caillon sr=bryner a=dbaron
2003-12-07 09:44:40 +00:00
caillon%returnzero.com
03071a1e34
Resolve named frames on the window object prior to resolving DOM classes. Fixes bug 222191, defining <frame name="sidebar"> and then referencing window.sidebar yields a sidebar object instead of the named frame window.
...
r=jst, sr=brendan, a=asa
2003-12-05 02:35:48 +00:00
jst%mozilla.jstenback.com
aea4add9fb
Fixing bug 227417. Make sure orphan nodes are wrapped in the right scope. r=caillon@aillon.org, sr=brendan@mozilla.org, a=dbaron@dbaron.org.
2003-12-04 02:13:55 +00:00
jst%mozilla.jstenback.com
3090cacb24
Fixing bug 226617. Don't tell XPConnect that there are pending exceptions when there aren't any. r=caillon@aillon.org, sr=brendan@mozilla.org, a=brendan@mozilla.org.
2003-12-02 22:14:48 +00:00
bzbarsky%mit.edu
66c8d5e630
Do not remove event listeners when leaving about:blank and going to a page with
...
the same security principal as the window opener. Makes it possible to set an
onload listener after calling window.open and have it actually fire. Bug
226416, r=danm, sr=jst, a=asa
2003-11-26 15:45:40 +00:00
jst%mozilla.jstenback.com
cbbb2023fe
Fixing bug 224549. Make sure JS errors are not dropped when JS is executed through nested calls through XPConnect. r=caillon@aillon.org, sr=brendan@mozilla.org, a=asa@mozilla.org
2003-11-21 19:48:35 +00:00
jst%mozilla.jstenback.com
a743394ec7
Re-landing fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org.
2003-11-18 01:59:51 +00:00
jst%mozilla.jstenback.com
aa19a080f5
Eliminating silly trailing whitespace.
2003-11-18 01:58:43 +00:00
jst%mozilla.jstenback.com
0e07a9b8fe
Backing out the last chance completely to fix orangeness until I figure out what the deal is...
2003-11-17 19:02:15 +00:00
jst%mozilla.jstenback.com
3553e6ad69
Attempting to fix orangeness...
2003-11-17 18:26:58 +00:00
jst%mozilla.jstenback.com
188fbccf27
Fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org.
2003-11-17 17:54:39 +00:00
caillon%returnzero.com
240c088368
Bug 225411; updating DOM 3 Core's Document.xml*
...
r+sr=jst
2003-11-14 11:10:11 +00:00
peter%propagandism.org
6ebcad9b9f
Part of fix for bug 219848 (Cannot programmatically (JavaScript) set value of HTMLInputElement) - don't do security checks when defining DOM classes. r=caillon, sr=jst.
2003-11-12 14:25:03 +00:00
jshin%mailaps.org
339f3e4e20
bug 44272 : make escape/unescape (in DOM) correctly work with the full range of Unicode chars. (by making it use JSengine version) (r=brendan/bz, sr=bz)
2003-11-11 17:59:54 +00:00
bzbarsky%mit.edu
f39bd1e34f
document.config has become document.domConfig to prevent backwards-compat
...
issues. Bug 222733, r+sr=jst
2003-11-08 19:30:30 +00:00
brendan%mozilla.org
4be366b3cf
Fix missing cx param problem (223041, r=caillon, sr=dbaron).
2003-11-03 04:26:55 +00:00
cbiesinger%web.de
18ceca3db3
bug 223151 nsJSProtocolHandler::Suspend and ::Resume not implemented
...
r+sr=bzbarsky
2003-10-30 21:23:15 +00:00
tor%cs.brown.edu
9d3e99b64f
Backout of bug 153586. a=asa
2003-10-27 17:00:38 +00:00
tor%cs.brown.edu
a2d2c84b23
Fixing build bustage from 153586. r+sr=jst, a=tor
2003-10-22 18:15:15 +00:00
bryner%brianryner.com
a0e219b348
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
de3d3fbf61
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
tor%cs.brown.edu
deda694a3a
Bug 153586 - add js callback to convert native string to unicode, use
...
for date.toLocale*String. r=jst, sr=brendan
2003-10-21 18:03:04 +00:00
peter%propagandism.org
e4ee7f28ee
Fix instanceof for DOM objects (patch in unrelated bug 162927), r=caillon, sr=jst.
2003-10-21 11:33:34 +00:00
dwitte%stanford.edu
814b640381
unfork the core cookie backend prefs, between mozilla & firebird. this makes the cookie backend GRE-friendly. it also breaks firebird, but that's their own fault. (a firebird fix will be landing shortly).
...
b=221078, r=caillon, sr=darin.
2003-10-16 20:54:29 +00:00
bzbarsky%mit.edu
ea82d181de
Don't fire window.onerror for strict JS warnings. Bug 220603 (and bug 63672
...
and company), patch by brendan, r=jst, sr=bzbarsky
2003-10-16 17:54:24 +00:00
bzbarsky%mit.edu
d50940452f
Adding support for DOM3 DOMStringList and DOMNameList. Bug 217159,
...
implementation by peterv, classinfo changes by me, r/sr=me on peterv's changes,
r/sr=peterv on my changes, r=caillon on the whole thing, sr=jst
2003-10-16 00:44:20 +00:00
darin%meer.net
325b3c6de7
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
dbaron%dbaron.org
ea45cbb522
Fix regression from bug 113173 checkin. b=221186 Patch from Brian Ryner <bryner@brianryner.com>. r+sr=bzbarsky
2003-10-04 17:39:44 +00:00
dbaron%dbaron.org
19a12727ec
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
bryner%brianryner.com
cd60efa8ac
Updating my email address
2003-09-29 06:04:02 +00:00
brendan%mozilla.org
08f08cbf57
Expose nsIScriptSecurityManager::SecurityCompareURIs for use by nsGlobalWindow::SetNewDocument, to avoid spurious window.open same-origin violation errors (220421, r=caillon, sr=bzbarsky).
2003-09-28 04:22:01 +00:00
jst%mozilla.jstenback.com
8aa7b563d2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
983bfe41ff
If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron.
2003-09-26 21:45:15 +00:00
peter%propagandism.org
72ada2d27f
Fix for bug 220080 (Wrong numeric code for DOM Level 2 errors). r=sicking, sr=jst.
2003-09-24 09:51:25 +00:00
uid502
6bed557bd4
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
peter%propagandism.org
7d12d5744c
Fix obvious error in the patch for bug 218462 to fix blocker bug 219769 (Mozilla and Firebird start in a zero height window). r/sr=jst pending.
2003-09-20 11:41:22 +00:00
jst%mozilla.jstenback.com
b22a1a0d3e
Giving nsScreen a facelift. Just code cleanup. r=bugmail@sicking.cc, sr=peterv@propagandism.org.
2003-09-19 21:06:52 +00:00
neil%parkwaycc.co.uk
11d7175c1d
Bug 206353 DOM Lists should be enumerable p=jst r=caillon sr=peterv
2003-09-19 08:43:14 +00:00
cls%seawood.org
bfca537521
Fix misc build issues for mingw gcc 3.3.1:
...
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron
2003-09-18 17:22:33 +00:00
caillon%returnzero.com
2b95a3b854
Bug 165653
...
mozilla/dom depends on mozilla/xpfe/components/sidebar (nsISideBar)
r=bryner@brianryner.com
sr=jst@netscape.com
2003-09-13 19:54:41 +00:00
peter%propagandism.org
80f86be21c
Fix for bug 218756 (Update to latest DOM Level 3 XPath specification). r=Pike, sr=jst.
2003-09-13 17:04:15 +00:00
timeless%mozdev.org
211c78f7ea
Bug 217896 ASSERTION: nsMemoryImpl::Alloc of 0: 'size' in GlobalWindowImpl::Unescape
...
r=caillon sr=jst
2003-09-11 01:42:53 +00:00
timeless%mozdev.org
8ed72a0b23
Bug 217562 UMR in nsJSEventListener::HandleEvent after mContext->CallEventHandler
...
r=caillon sr=jst
2003-09-11 01:42:42 +00:00
bryner%brianryner.com
352e645b90
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 22:05:34 +00:00
timeless%mozdev.org
2994c4573e
Bug 217886 frame structure gets lost in builds since 20030826
...
patch by mpconnor@rogers.com r=bz sr=bz a=brendan
2003-09-04 02:23:20 +00:00
caillon%returnzero.com
c11c6acb17
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
cls%seawood.org
c08e99a287
Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
2003-08-16 00:42:35 +00:00
caillon%returnzero.com
b825e2f01a
Bug 215895.
...
Debugger shows nsDOMClassInfo.cpp as a loaded script.
r=jst@netscape.com
sr=brendan@mozilla.org
a=asa@mozilla.org
2003-08-14 23:45:45 +00:00
bryner%brianryner.com
63cd8e61d6
Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa.
2003-08-12 06:43:48 +00:00
brendan%mozilla.org
f6be8fe74f
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
2003-08-05 20:09:21 +00:00
hyatt%mozilla.org
1bc71afe06
Patch the remaining places that use _content to also support _main, r=brendan, sr=ben
2003-08-04 21:52:22 +00:00
hpradhan%hotpop.com
3aca1aa31a
bug 212415 : crash while closing a javascript alert. r=peterv sr=jst
2003-08-01 03:40:24 +00:00
caillon%returnzero.com
422dde1351
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
95256ce645
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:35:53 +00:00
brendan%mozilla.org
32d941a463
Big dynamic footprint win via script filename caching, plus line number fix for strict/const diags (see http://bugzilla.mozilla.org/attachment.cgi?id=127130&action=view for detailed checkin comments; 208030, r/rs=shaver, r=rginda on the jsd change, r=jst on the dom change).
2003-07-26 22:37:11 +00:00
caillon%returnzero.com
66d4b0c70b
Bug 213912
...
If getting the a chrome document's principal fails, handle the error and clean up the navigator object's holder.
r+sr=bzbarsky@mit.edu
2003-07-26 08:16:44 +00:00
jaggernaut%netscape.com
f1efc20ae6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
cbiesinger%web.de
faf8419fc6
147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
...
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
caillon%returnzero.com
9c22160a4b
Bug 83536.
...
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
ef99140d6d
Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com
f008bc2bad
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +00:00
jst%netscape.com
5f4b130757
Fixing bug 212231. Make errors returned from document.open() not cause silent failures. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
2003-07-14 21:58:59 +00:00
jst%netscape.com
d195fa0dfc
Fixing bug 212560. Patch by kw1u@yahoo.com, r=caillon@aillon.org, sr=bzbarsky@mit.edu.
2003-07-14 21:06:21 +00:00
jaggernaut%netscape.com
20004e3489
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
cbiesinger%web.de
062cdda875
212532 patch by riceman+bmo@mail.rit.edu r=biesi,caillon sr=bz
...
Getting window.history returns null after the first attempt (bug 209866 regression)
2003-07-12 21:23:40 +00:00
bzbarsky%mit.edu
38297174ab
Add correct line number reporting to errors from XBL fields and handlers. Make
...
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan
2003-07-11 22:54:36 +00:00
caillon%returnzero.com
f32e4950ff
Bug 212218
...
Start supporting bits and pieces of the additions to |Document| in DOM Level 3 Core.
r=jst@netscape.com sr=bzbarsky@mit.edu
2003-07-11 22:32:25 +00:00
jst%netscape.com
889a2b14ba
Fixing bug 211719. Making window.opener replaceable. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
2003-07-09 00:48:25 +00:00
varga%netscape.com
287a44d567
Fix for bug 202393. Add DOM class info for nsIXULTreeBuilder.
...
r=pike, sr=peterv
2003-07-08 21:10:52 +00:00
cbiesinger%web.de
c6ec6b4801
78919 part 1. r=bzbarsky, sr=darin. This adds an |hasDefaultHandler| attribute
...
to nsIMIMEInfo that should be used to check if a default application is available
for this mimeinfo.
2003-07-08 13:52:46 +00:00
bzbarsky%mit.edu
3673fca7f7
Random already_AddRefed stuff. Bug 211380, r+sr=jst
2003-07-03 02:49:06 +00:00
bzbarsky%mit.edu
25471a836d
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
jst%netscape.com
b72949a24b
Checking in patch from tenthumbs@cybernex.net to fix bug 202543. Eliminating useless assertions and speeding things up a bit. r=bzbarsky@mit.edu, sr=jst@netscape.com.
2003-07-01 05:11:46 +00:00
aaronl%netscape.com
3e43c932ff
Bug 208460. Add domstubs.idl/h to Gecko SDK. r+sr=jst
2003-06-27 11:28:20 +00:00
bryner%netscape.com
3adf284116
Remove #include "nsIScriptContext.h" from nsPIDOMWindow.h, because this (among other things) creates a dependency on js headers, which is breaking Camino. Bug 210704, r+sr=jst.
2003-06-26 00:41:23 +00:00
danm%netscape.com
7a62bf7ccd
also check for popup window abuse in the internal Open method. bug 210560 r=brendan,jst
2003-06-25 23:38:45 +00:00
jst%netscape.com
405bfef028
Removing unnecessary initialization of static variables that only cause bloat.
2003-06-24 23:06:12 +00:00
jst%netscape.com
858f5237ff
Fixing bug 210141. Don't make external global properties be readonly. r=axel@pike.org, sr=bzbarsky@mit.edu.
2003-06-24 21:47:33 +00:00
jst%netscape.com
2e8edec781
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
2003-06-24 21:43:01 +00:00
caillon%returnzero.com
c0dd16f7be
210451 - Implement getting Node.textContent (see the DOM3 WD)
...
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
jst%netscape.com
0625b760d1
Fixing bug 203179. Make String.prototype.localeCompare be locale aware. r=smontagu@netscape.com, sr=bzbarsky@mit.edu.
2003-06-24 21:09:57 +00:00
bzbarsky%mit.edu
f802347f6c
Make XBL methods and properties report useful line numbers and urls so that the
...
JS errors/warnings in the JS console point to the right place. Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
bzbarsky%mit.edu
7697eb2312
Trying to fix orange. We were only setting the out param in cases when we
...
tried to allocate the object for these three objects...
2003-06-21 09:36:03 +00:00