Commit Graph

3000 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
535042aed4 Slight tweak per biesi's comments. Bug 343850 2006-07-19 13:27:53 +00:00
mhammond%skippinet.com.au
ca11f368e4 Bug 341915: can we move nsIScriptContext(Owner) from dom to xpconnect
r=timeless, sr=jst
2006-07-19 04:15:50 +00:00
bzbarsky%mit.edu
64f82c69be Make nsJSChannel follow the nsIChannel interface contract better. Bug 343850,
r=darin, sr=jst
2006-07-19 00:53:11 +00:00
bzbarsky%mit.edu
f014254c5c Update mUpdateWindowWatcher even if mActive is false. Bug 343650, patch by
Mikhail Zabaluev <mhz@altlinux.org>, r+sr=bryner
2006-07-18 17:06:39 +00:00
jst%mozilla.jstenback.com
53a6fa9bae Fixing bug 343175. Make the popup blocker events point to the window on which the popup open was attempted rather than that window's top window. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-07-18 14:41:51 +00:00
jst%mozilla.jstenback.com
74416a004a Fixing bug 344439. Add cast to make the comparison between a 64-bit signed int and a 32-bit unsigned int work as intended on 64-bit platforms. r=mrbkap@gmail.com, sr=dbaron@mozilla.com 2006-07-18 14:24:41 +00:00
leon.sha%sun.com
09055a889b Bugzilla Bug 344199
nsDOMScriptObjectFactory::GetScriptRuntimeByID should fill in the array for fast lookup.
Patch by alfred.peng@sun.com
mhammond: review+
bzbarsky: superreview+
2006-07-18 02:57:06 +00:00
mhammond%skippinet.com.au
60526043fd Fix bug 341605 - Unused params warnings in nsJSEventListener.cpp
r=mrbkap, sr=bz
2006-07-18 00:27:17 +00:00
sharparrow1%yahoo.com
b3040b6648 Bug 334588: Choose font consistently for page headers/footers, and remove localized header font name and size. r+sr=roc. 2006-07-14 16:07:28 +00:00
mrbkap%gmail.com
b78e99d07b Make the navigator object readonly, since that's what the IDL says to do. bug 342490, r+sr=jst 2006-07-13 18:27:35 +00:00
peterv%propagandism.org
0f613030f3 Fix for bug 334806 (Update to Expat 2.0.0). r=mrbkap, sr=jst. 2006-07-13 12:50:58 +00:00
Olli.Pettay%helsinki.fi
1b31151599 Bug 335251, prevent load events to propagate to window, r=bz, sr=jst 2006-07-12 17:59:16 +00:00
mrbkap%gmail.com
d109ff536a Fixing DEBUG-only bustage 2006-07-12 00:26:56 +00:00
mrbkap%gmail.com
182f617289 Make this ifdef'd off code compile. 2006-07-11 22:58:03 +00:00
mrbkap%gmail.com
0756408592 Don't create a 0-length array, since we expect it to have at least one member later on. bug 343283, r+sr=jst 2006-07-11 22:39:52 +00:00
mrbkap%gmail.com
187a2fd074 Make Function (and window.Function refer to the correct window's function). bug 343966, r=jst sr=brendan 2006-07-11 22:28:09 +00:00
mrbkap%gmail.com
a9ba7ca2e0 Add a couple of functions to make debuggin easier:
* JSObject2Win: Given a context and a |JSObject *|, it returns an nsGlobalWindow pointer if the JSObject is wrapping a window.
  * PrintWinURI: Given an nsGlobalWindow, it prints its document's URI.
  * PrintWinCodebase: As above, but using the window's principal's codebase.

bug 344181, r+sr=jst
2006-07-11 21:03:52 +00:00
jst%mozilla.jstenback.com
9e02934ca2 Fixing bug 337311. Make window.open() use the principal of the callee object when deciding what to session storage object to clone for the new window. r=mrbkap@gmail.com, sr=bugmail@sicking.cc 2006-07-11 00:27:05 +00:00
jst%mozilla.jstenback.com
4e52d88cf2 Fixing bug 337755. Make IsCallerSecure() properly deal with nested URI objects. r=enndeakin@sympatico.ca, sr=bugmail@sicking.cc 2006-07-10 23:59:45 +00:00
beng%bengoodger.com
648682c26e 340179 - update to include better comments and canonical contract id format for embeddor-implemented components r=darin 2006-07-06 03:00:37 +00:00
cvshook%sicking.cc
d6fc93d5fd Bug 342274: Add ability to turn off loading of external documents during xslt transformation. r/sr=peterv (parts by myk, r/sr=me) 2006-07-06 00:33:24 +00:00
jst%mozilla.jstenback.com
b271739439 Fixing bug 334891. Prevent window.close() from closing the window if there's a modal dialog parented at the window. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu 2006-07-05 22:48:04 +00:00
bzbarsky%mit.edu
ccc3f756b5 Backing out attempted fix for bug 341592, since it didn't fix it, apparently,
and caused bug 341700.
2006-06-29 04:58:51 +00:00
bzbarsky%mit.edu
89ff2ee84f Backing out attempted fix for bug 341592, since it didn't fix it, apparently,
and caused bug 341700.
2006-06-29 04:30:51 +00:00
beng%bengoodger.com
67e881f1de 340179 - implement web applications 1.0 'registerContentHandler' method on navigator. r=sicking sr=darin 2006-06-29 00:56:52 +00:00
tor%cs.brown.edu
11fc07712a Bug 339867 - nsIDOMSVGViewSpec interface doesn't exist. r=jwatt, sr=roc 2006-06-28 21:48:57 +00:00
mrbkap%gmail.com
72312f04b0 Cache cx to make timeless happy. No bug, r+sr=bzbarsky 2006-06-27 18:18:26 +00:00
mrbkap%gmail.com
4bf3111949 Actually throw an exception when the first argument to setTimeout or setInterval is not a valid callable function. bug 342448, r+sr=bzbarsky 2006-06-27 17:51:42 +00:00
brettw%gmail.com
3fc878c342 Bug 337631 (for pkasting@google.com) r=bryner sr=bz Support document.activeElement and document.hasFocus 2006-06-26 22:39:09 +00:00
gavin%gavinsharp.com
e93d1088d8 Bug 342677: select.options.add(null) crashes, patch by Alex Vincent <ajvincent@gmail.com>, r+sr=jst 2006-06-26 22:06:48 +00:00
mrbkap%gmail.com
80bbd167fe Resolve standard classes even when assigning to give them a chance to initialize
themselves to avoid them overriding the assigned value when they're used internally
the first time. bug 342359, r=brendan sr=jst
2006-06-26 21:22:12 +00:00
silver%warwickcompsoc.co.uk
8470c91b81 Partial backout of bug 341919 to fix bustage caused by DOM_AGNOSTIC3_BRANCH landing. 2006-06-26 11:11:57 +00:00
silver%warwickcompsoc.co.uk
9405c42b36 Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst 2006-06-26 10:36:28 +00:00
bzbarsky%mit.edu
1a01989d57 Expose UniversalXPConnect-JS-only getters for Node.nodePrincipal,
Node.baseURIObject and Document.documentURIObject.  These return nsIPrincipal,
nsIURI, and nsIURI respectively; what the URIs are should be obvious.  Bug
324464, r+sr=jst
2006-06-23 16:43:29 +00:00
gijskruitbosch%gmail.com
47d988e74e Bug 341764 - Should be able to debug from the slow script dialog if a debugger is present
r=bsmedberg for makefile changes and r=sicking for dom changes
sr=shaver
2006-06-22 21:30:49 +00:00
bzbarsky%mit.edu
3149cce617 Use the event targe as the scope when wrapping event handler args so that the
event handler can access them.  Bug 342235, r=mhammond, sr=jst
2006-06-22 02:02:33 +00:00
mrbkap%gmail.com
1d3af57cc6 Deal with converting null values to jsvals. bug 342219, r+sr=bzbarsky 2006-06-21 22:10:35 +00:00
mrbkap%gmail.com
fc25ea6691 Don't allow getting standard classes through XPCNativeWrapper. bug 338523, r=jst sr=bzbarsky 2006-06-21 01:28:44 +00:00
mrbkap%gmail.com
153505e51e Hold a true weak reference to the location's docshell since the window won't
always be able to clear the docshell out. bug 338288, r=jst sr=bzbarsky
2006-06-20 18:56:03 +00:00
mrbkap%gmail.com
16e4a148ca Use the compiler to help us catch any potential missing cases. No bug, verbal r+sr=jst 2006-06-20 18:03:34 +00:00
dbaron%dbaron.org
1e59619db8 Root the result of JSObjectFromInterface. b=341640 r=markh sr=jst 2006-06-20 00:38:46 +00:00
jst%mozilla.jstenback.com
1eebb3195b Fixing bug 340144. Crash if calling sessionStorage.removeItem() with a non-existing key. r=enndeakin@sympatico.ca, sr=bzbarsky@mit.edu 2006-06-19 23:48:07 +00:00
brettw%gmail.com
a54888a781 Bug 335291 r+sr=bz Make trunk popup events safer 2006-06-19 16:54:53 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
pamg.bugs%gmail.com
5e14b068e0 Bug 337780: support window.external.AddSearchProvider('URL'). r=gavin.sharp, ben@mozilla.org 2006-06-16 23:50:29 +00:00
Olli.Pettay%helsinki.fi
844d4b832e I don't think this caused tp regression 2006-06-16 09:29:25 +00:00
Olli.Pettay%helsinki.fi
55c1dcb084 backing out to test if this caused tp regression 2006-06-16 08:05:18 +00:00
bclary%bclary.com
84b26ca512 Bug 340036: Script tag should support version 1.7, r=mrbkap, r=peterv, sr=brendan 2006-06-15 21:47:59 +00:00
Olli.Pettay%helsinki.fi
25f0b15442 Bug 320982, Crash when browse this Site over top menu [@ nsGlobalWindow::RunTimeout], r=mrbkap, sr=bryner 2006-06-15 19:19:51 +00:00
mhammond%skippinet.com.au
18afaedffe Fix bug 341592 (Crash on first start of Sunbird - "Failed to get the
script language").  r/sr=bz
2006-06-15 06:29:52 +00:00
mhammond%skippinet.com.au
ccc589524a Fix bug 341535 (Crash: nsGlobalWindow::RunTimeout assumes aTimeout is not null)
r=mrbkap, sr=shaver
2006-06-15 00:07:28 +00:00
mrbkap%gmail.com
d5211b93e3 Fix crashiness resulting from a bad cast. Instead, use proper types and actually get the right pointer. bug 341363, r+sr+a=bzbarsky 2006-06-13 22:43:48 +00:00
mrbkap%gmail.com
c4e7ac3d95 Fix a silly think-o regression from bug 255942 that is preventing clearTimeout from working. bug 341360, r+sr+a=bzbarsky 2006-06-13 20:08:59 +00:00
mhammond%skippinet.com.au
0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
98997f8669 Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
mrbkap%gmail.com
8f01b34f73 Protect against null contexts. bug 340602, r+sr=roc 2006-06-07 17:15:51 +00:00
mrbkap%gmail.com
93965c8a5a Attempt to gain back some of the optimization that bug 339918 disabled. bug 340537, r+sr=bzbarsky 2006-06-06 22:02:15 +00:00
bzbarsky%mit.edu
bb949d3db9 Remove XULAttr classinfo, and make Attr use NodeSH. Bug 336849, r=sicking, sr=jst 2006-06-06 15:42:41 +00:00
mrbkap%gmail.com
229aa0627e Just because there isn't a stack frame with a function object doesn't mean that code isn't running. bug 339918, r=jst sr=brendan 2006-06-05 20:55:59 +00:00
brendan%mozilla.org
928b5dc750 Fix orange balsa by landing mrbkap's patch for 326497, plus other fixes (340340, r=mrbkap). 2006-06-05 07:18:02 +00:00
timeless%mozdev.org
4fceb5193b Bug 337917 Make consumers stop using cids from other modules
r=neil sr=darin
2006-06-03 23:42:13 +00:00
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