Граф коммитов

3039 Коммитов

Автор SHA1 Сообщение Дата
timeless%mozdev.org a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
dbaron%dbaron.org cd4d6ee0e9 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky 2006-06-01 18:35:21 +00:00
Olli.Pettay%helsinki.fi d66da853d4 Bug 338897, Popup window crashes browser on close via javascript [@ nsLayoutUtils::HasPseudoStyle] r+sr=jst 2006-05-29 07:04:07 +00:00
timeless%mozdev.org 42881454a3 Bug 339488 Coverity complains that the wrong variable is null checked
r=dbaron sr=dbaron
2006-05-28 15:16:47 +00:00
jwatt%jwatt.org 86377ed93f Fixing bug 328368. nsIDOMSVGSVGElement's getCurrentTime method is overridden by windows macro. r+sr=tor@acm.org 2006-05-26 15:40:48 +00:00
dbaron%dbaron.org 5c13c92f24 Create a mechanism to allow GC participants to be marked as externally reachable due to network loads, make XMLHttpRequest a GC participant and use nsMarkedJSFunctionHolder to manage its event listeners just like DOM event listeners to avoid leaks due to cycles. b=206520 r=mrbkap, darin, bzbarsky sr=jst 2006-05-26 01:00:21 +00:00
gavin%gavinsharp.com b581167b49 Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky 2006-05-25 21:22:32 +00:00
mrbkap%gmail.com bf6a9597f9 Use the correct signedness here. bug 337951, r+sr=jst 2006-05-23 22:24:03 +00:00
benjamin%smedbergs.us 101371d410 Fix libxul linkage for DOMStorage, no bug. 2006-05-23 17:55:17 +00:00
mrbkap%gmail.com c0140ec246 Normalize values before using them as timeouts to avoid hardware and os-dependent behaviors involving comparisons to NaN and infinity. bug 337951, r+sr=jst 2006-05-22 23:02:12 +00:00
bryner%brianryner.com 6fb8bf0b4f Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst. 2006-05-22 20:37:32 +00:00
bryner%brianryner.com a5e5a4579c backing out 336696, I checked in the wrong version of the patch 2006-05-22 18:03:16 +00:00
bryner%brianryner.com 87831f25b1 Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst. 2006-05-22 16:18:45 +00:00
neil%parkwaycc.co.uk 3248558526 Missing NS_DEFINE_STATIC_IID_ACCESSOR b=338667 rs=bsmedberg 2006-05-22 14:43:22 +00:00
peterv%propagandism.org cde6bb8697 Fix for bug 337047 (Remove unused DOMCI data). r/sr=jst. 2006-05-21 20:11:11 +00:00
vladimir%pobox.com 0b34b77591 b=338477 - implement whatwg isPointInPath/getImageData/putImageData canvas API; b=338545, canvas doesn't fully reset on resize; r=mrbkap 2006-05-20 09:22:30 +00:00
jst%mozilla.jstenback.com f6475f5ff0 Set emacs mode to C++ in C++ files. No code changes. 2006-05-19 15:33:12 +00:00
benjamin%smedbergs.us f261e3c3b6 Bug 331117 - Layout module shold not shut down until all documents/windows have been released, r+sr=dbaron 2006-05-19 09:31:57 +00:00
jst%mozilla.jstenback.com ebbd422ca8 Uninlining nsSessionStorageEntry ctor and dtor to fix build bustage, and adding missing NS_ENSURE_SUCCESS(). 2006-05-19 08:02:27 +00:00
jst%mozilla.jstenback.com 1acda49664 Attempting to fix win32 build bustage. 2006-05-19 07:21:43 +00:00
jst%mozilla.jstenback.com a0ac466d2d Tweak last crash fix to do the right thing. 2006-05-19 07:21:09 +00:00
jst%mozilla.jstenback.com d69765ac47 Fixing crash when aData is null in nsGlobalWindow:Observe() when observing dom storage notifications. Fallout from bug 335540. 2006-05-19 06:51:10 +00:00
jst%mozilla.jstenback.com ed47496c33 Fixing bug 335540. Implement whatwg webapps storage. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/vlad/jst. 2006-05-19 05:57:36 +00:00
brendan%mozilla.org a8f0e187b8 Missing NS_OK from roc's checkin, in nsGlobalWindow::FireDelayedDOMEvents. 2006-05-17 13:32:52 +00:00
timeless%mozdev.org 1b19985fdb Reverting. This is the wrong way to address the item. 2006-05-11 14:04:09 +00:00
timeless%mozdev.org 0a29c05c3f Bug 334290 nsJSEventListener::HandleEvent inconsistently uses &stackPtr/stackPtr for JS_(Push|Pop)Arguments
r=jst sr=jst
2006-05-11 13:13:01 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de 51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
bzbarsky%mit.edu 990f4ef359 More IsNodeOfType. Bug 336822, r+sr=sicking 2006-05-06 03:25:58 +00:00
myk%mozilla.org 19eac0bfdf Initial support for microsummaries via a service and integration into the bookmarks UI.
bug=334471
r=brettw
a=ben for the branch
2006-05-05 22:45:37 +00:00
cvshook%sicking.cc d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
dbaron%dbaron.org b15bc20170 Redo fix for bug 335298 (handling non-ASCII in result strings of javascript URLs) using UTF-8 instead of UTF-16 in the hopes of fixing bug 335554 (shockwave plugin issue). b=335298 r+sr=brendan 2006-05-04 19:12:26 +00:00
roc+%cs.cmu.edu 55aa76077e Bug 336359. Fire WHATWG online/offline events when the browser offline status changes. r+sr=darin 2006-05-03 21:53:08 +00:00
vladimir%pobox.com df84d0046c b=336331, fix toDataURL to be more in line with the whatwg spec, r+sr=roc 2006-05-03 00:48:27 +00:00
bzbarsky%mit.edu 722b5218b2 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
bzbarsky%mit.edu 0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
jwatt%jwatt.org bb79579615 Fixing bug 335450. Remove our extensions to the SVG DOM interfaces. r=tor@acm.org, sr=roc@ocallahan.org 2006-04-26 21:02:25 +00:00
neil%parkwaycc.co.uk cb8f071e1c Improve box object hashtable storage b=326931 r=jst sr=bz 2006-04-26 12:42:49 +00:00
peterv%propagandism.org 02f7995799 Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst. 2006-04-26 09:19:48 +00:00
axel%pike.org 91be046624 bug 328956, chop dead wood off of toolkit, r=ben 2006-04-26 08:10:41 +00:00
roc+%cs.cmu.edu 4667a9b409 Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 01:57:22 +00:00
dbaron%dbaron.org cef9e310ee Make the results of javascript: URLs stay UTF-16 rather than removing the high byte of the characters, and set the encoding on the channel to UTF-16. b=335298 r=darin sr=brendan 2006-04-25 16:49:47 +00:00
mrbkap%gmail.com d5be5a4723 Backing out bug 326497 again to see if it fixes the problems that we're seeing with us not recognizing functions set on [classname].prototype. 2006-04-24 19:27:25 +00:00
vladimir%pobox.com 5d02ec5b40 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart 2006-04-18 21:23:15 +00:00
bzbarsky%mit.edu 7f38f84d00 Make sure to always initialize rv. Bug 334233, r+sr=jst 2006-04-17 23:24:38 +00:00
bzbarsky%mit.edu df541f0a3a Fix typo. This checkin and the previous one are both for bug 334245. 2006-04-17 22:29:45 +00:00
bzbarsky%mit.edu eb374012ac addEventListener has 3 args, not 0. r+sr+branch181=jst 2006-04-17 22:05:42 +00:00
timeless%mozdev.org 0259812ac4 Bug 333837 Crash in [@ nsJSContext::nsJSContext] / XUL / DOM
r=jst sr=bz
2006-04-16 09:17:46 +00:00
mrbkap%gmail.com 3fda3a292b -- Allow the DOM script object factory to turn XPConnect return values into proper nsIException objects.
-- Make nsDOMClassInfo::ThrowJSException never throw null as an exception.
-- Make XPCException::ToString grab the description of the result as well as the name.

r+sr=jst
2006-04-15 00:37:51 +00:00
tor%cs.brown.edu b7336c51d2 Bug 332162 - deCOMtaminate SVGLength. r=jwatt, sr=roc 2006-04-14 15:09:39 +00:00
bzbarsky%mit.edu 7b281be8e7 Remove non-IDL interfaces from classinfo list. Bug 327156, r+sr+branch181=jst 2006-04-13 18:54:48 +00:00
gavin%gavinsharp.com 3c9a4a0f80 Bug 331614: window.open unnecessarily escapes all URLs (can't handle IDN/extended domain-names), r=bzbarsky, sr=darin 2006-04-12 18:34:36 +00:00
Olli.Pettay%helsinki.fi d8829e2853 Bug 330494, changing the category names per bz' suggestion 2006-04-11 17:05:25 +00:00
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